[jhbuild] i18n: fix two improperly marked translated strings



commit d6eecde4a79987461d1243630b1740b5eef8e819
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Dec 14 19:09:45 2014 -0500

    i18n: fix two improperly marked translated strings
    
    We need to call gettext() on the untranslated string before doing the
    formatting.  It won't work if we do it after.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741537

 jhbuild/commands/sysdeps.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/jhbuild/commands/sysdeps.py b/jhbuild/commands/sysdeps.py
index 17cb978..091e3c8 100644
--- a/jhbuild/commands/sysdeps.py
+++ b/jhbuild/commands/sysdeps.py
@@ -162,9 +162,9 @@ class cmd_sysdeps(cmd_build):
 
             if (len(uninstalled_pkgconfigs) +
                 len(uninstalled_filenames)) == 0:
-                logging.info(_("No uninstalled system dependencies to install for modules: %r" % (modules, 
)))
+                logging.info(_("No uninstalled system dependencies to install for modules: %r") % (modules, 
))
             else:
-                logging.info(_("Installing dependencies on system: %s" % \
+                logging.info(_("Installing dependencies on system: %s") % \
                                ' '.join([pkg[0] for pkg in
                                          uninstalled_pkgconfigs +
                                          uninstalled_filenames])))


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