diff mercurial/commands.py @ 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
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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