changeset 5542:253736bb0dc9

i18n: fix complaints from pygettext
author Matt Mackall <mpm@selenic.com>
date Tue, 20 Nov 2007 15:54:25 -0600
parents ceaa752fa316
children a3df02cd4a35 ee80591f5636
files mercurial/commands.py mercurial/dispatch.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Nov 20 15:46:20 2007 -0600
+++ b/mercurial/commands.py	Tue Nov 20 15:54:25 2007 -0600
@@ -1629,7 +1629,7 @@
                 if opts.get('exact'):
                     if hex(n) != nodeid:
                         repo.rollback()
-                        raise util.Abort(_('patch is damaged' +
+                        raise util.Abort(_('patch is damaged'
                                            ' or loses information'))
             finally:
                 os.unlink(tmpname)
@@ -1937,7 +1937,7 @@
         if len(heads) == 1:
             msg = _('there is nothing to merge')
             if parent != repo.lookup(repo.workingctx().branch()):
-                msg = _('%s - use "hg update" instead' % msg)
+                msg = _('%s - use "hg update" instead') % msg
             raise util.Abort(msg)
 
         if parent not in heads:
--- a/mercurial/dispatch.py	Tue Nov 20 15:46:20 2007 -0600
+++ b/mercurial/dispatch.py	Tue Nov 20 15:54:25 2007 -0600
@@ -125,7 +125,7 @@
             ui.warn("\n%r\n" % util.ellipsis(inst[1]))
     except ImportError, inst:
         m = str(inst).split()[-1]
-        ui.warn(_("abort: could not import module %s!\n" % m))
+        ui.warn(_("abort: could not import module %s!\n") % m)
         if m in "mpatch bdiff".split():
             ui.warn(_("(did you forget to compile extensions?)\n"))
         elif m in "zlib".split():