changeset 15833:3cf2bb3a9fcc

phase: mark messages for i18n
author Matt Mackall <mpm@selenic.com>
date Tue, 10 Jan 2012 16:36:36 -0600
parents b03388ffeb31
children 65f7e986a0d0
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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