phase: mark messages for i18n
authorMatt Mackall <mpm@selenic.com>
Tue, 10 Jan 2012 16:36:36 -0600
changeset 15833 3cf2bb3a9fcc
parent 15832 b03388ffeb31
child 15834 65f7e986a0d0
phase: mark messages for i18n
mercurial/commands.py
--- a/mercurial/commands.py	Tue Jan 10 16:36:33 2012 -0600
+++ b/mercurial/commands.py	Tue Jan 10 16:36:36 2012 -0600
@@ -4241,7 +4241,7 @@
     for idx, name in enumerate(phasesmod.phasenames):
         if opts[name]:
             if targetphase is not None:
-                raise util.Abort('only one phase can be specified')
+                raise util.Abort(_('only one phase can be specified'))
             targetphase = idx
 
     # look for specified revision