[pitivi] check: Make the strings translatable



commit c785d9073613f3011806bdac25caacdd177d5521
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Fri Feb 14 12:02:06 2014 +0100

    check: Make the strings translatable

 pitivi/check.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/check.py b/pitivi/check.py
index c3d5112..3e45326 100644
--- a/pitivi/check.py
+++ b/pitivi/check.py
@@ -94,11 +94,11 @@ class Dependency(object):
 
         if not self.component:
             # Translators: %s is a Python module name or another os component
-            message = "- %s not found on the system" % self.modulename
+            message = _("- %s not found on the system" % self.modulename)
         else:
             # Translators: %s is a Python module name or another os component
-            message = "- %s version %s is installed but Pitivi requires at least version %s" % (
-                self.modulename, self.version_installed, self.version_required_string)
+            message = _("- %s version %s is installed but Pitivi requires at least version %s" % (
+                self.modulename, self.version_installed, self.version_required_string))
 
         if self.additional_message is not None:
             message += "\n    -> " + self.additional_message


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