From 3ed392bab0bea8de6b202852207759a50967ae20 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Wed, 24 Feb 2010 23:09:32 +0000 Subject: [PATCH] Adding named variables to format strings for errors in 'make distcheck' to work. svn: r14469 --- src/plugins/tool/MediaManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/tool/MediaManager.py b/src/plugins/tool/MediaManager.py index 7a91b4e55..42b08c631 100644 --- a/src/plugins/tool/MediaManager.py +++ b/src/plugins/tool/MediaManager.py @@ -452,8 +452,8 @@ class PathChange(BatchOp): to_text = unicode(self.to_entry.get_text()) text = _( 'The following action is to be performed:\n\n' - 'Operation:\t%s\nReplace:\t\t%s\nWith:\t\t%s' - ) % (self.title.replace('_',''), from_text, to_text) + 'Operation:\t%(title)s\nReplace:\t\t%(src_fname)s\nWith:\t\t%(dest_fname)s')) % { + 'title' : self.title.replace('_',''), 'src_fname' : from_text, 'dest_fname' : to_text } return text def _prepare(self):