diff hgext/relink.py @ 13658:6cc306093b99 stable

relink: mark abort message for translation
author Martin Geisler <mg@lazybytes.net>
date Wed, 16 Mar 2011 15:34:45 +0100
parents b69102740e57
children a73f38d8bbdb
line wrap: on
line diff
--- a/hgext/relink.py	Wed Mar 16 15:34:10 2011 +0100
+++ b/hgext/relink.py	Wed Mar 16 15:34:45 2011 +0100
@@ -42,7 +42,7 @@
         hg.remoteui(repo, opts),
         ui.expandpath(origin or 'default-relink', origin or 'default'))
     if not src.local():
-        raise util.Abort('must specify local origin repository')
+        raise util.Abort(_('must specify local origin repository'))
     ui.status(_('relinking %s to %s\n') % (src.store.path, repo.store.path))
     if repo.root == src.root:
         ui.status(_('there is nothing to relink\n'))