diff hgext/mq.py @ 10510:f77f3383c666 stable

i18n: mark more strings for translation
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 19 Feb 2010 02:23:38 +0100
parents dc9a803c1800
children 6505773080e4
line wrap: on
line diff
--- a/hgext/mq.py	Fri Feb 19 02:11:37 2010 +0100
+++ b/hgext/mq.py	Fri Feb 19 02:23:38 2010 +0100
@@ -2199,7 +2199,7 @@
         patch = q.lookup(patch)
     else:
         if not q.applied:
-            ui.write('no patches applied\n')
+            ui.write(_('no patches applied\n'))
             return 1
         patch = q.lookup('qtip')
     ph = patchheader(q.join(patch), q.plainmode)
@@ -2302,8 +2302,7 @@
         raise util.Abort(
             _('A patch named %s already exists in the series file') % name)
 
-    if ui.verbose:
-        ui.write('renaming %s to %s\n' % (patch, name))
+    ui.note(_('renaming %s to %s\n') % (patch, name))
     i = q.find_series(patch)
     guards = q.guard_re.findall(q.full_series[i])
     q.full_series[i] = name + ''.join([' #' + g for g in guards])