[jhbuild] Revert to keyword args for string formatting, better for translators



commit 1e16ec139dc6783e1f5967063e071b1f39eabc63
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Jan 16 20:06:32 2010 +0100

    Revert to keyword args for string formatting, better for translators

 jhbuild/moduleset.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index 37e1a46..c69f4dd 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -53,8 +53,8 @@ class ModuleSet:
         for module in self.modules.keys():
             if module.lower() == module_name_lower:
                 if self.config is None or not self.config.quiet_mode:
-                    logging.info(_('fixed case of module \'%s\' to \'%s\'')
-                            % (module_name, module))
+                    logging.info(_('fixed case of module \'%(orig)s\' to \'%(new)s\'') % {
+                            'orig': module_name, 'new': module})
                 return self.modules[module]
         print "Couldn't find the specified module: %s" % module_name
         sys.exit(2)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]