mq: mark error message for translation
authorMartin Geisler <mg@lazybytes.net>
Fri, 07 May 2010 23:31:49 +0200
changeset 11120 0bedcbcb3ae2
parent 11119 2e270443a2c6
child 11121 d061ef1d781c
child 11129 ee8ea6356733
mq: mark error message for translation
hgext/mq.py
--- a/hgext/mq.py	Fri May 07 23:28:07 2010 +0200
+++ b/hgext/mq.py	Fri May 07 23:31:49 2010 +0200
@@ -2659,7 +2659,7 @@
     q = repo.mq
     r = q.qrepo()
     if not r:
-        raise util.Abort('no queue repository')
+        raise util.Abort(_('no queue repository'))
     return orig(r.ui, r, *args, **kwargs)
 
 def summary(orig, ui, repo, *args, **kwargs):