[jhbuild] Fix translatable string in trigger.py



commit 477e7cf480f9f7a61c808810b1409d984100e0b5
Author: Craig Keogh <cskeogh adam com au>
Date:   Thu Aug 11 20:59:40 2011 +0930

    Fix translatable string in trigger.py

 jhbuild/utils/trigger.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/utils/trigger.py b/jhbuild/utils/trigger.py
index 5df45af..ec1f1a9 100644
--- a/jhbuild/utils/trigger.py
+++ b/jhbuild/utils/trigger.py
@@ -54,7 +54,7 @@ class Trigger(object):
                 continue
         f.close()
         if len(self._rematches) == 0 and len(self._literal_matches) == 0:
-            raise ValueError("No keys specified in trigger script %r" % (filepath, ))
+            raise ValueError(_("No keys specified in trigger script %r") % (filepath, ))
         
     def matches(self, files_list):
        """@files_list should be a list of absolute file paths.  Return True if this trigger script



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