Mercurial > public > mercurial-scm > hg-stable
diff mercurial/subrepo.py @ 29389:98e8313dcd9e
i18n: translate abort messages
I found a few places where message given to abort is
not translated, I don't find any reason to not translate
them.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 11:53:55 +0200 |
parents | 0d83ad967bf8 |
children | 19205a0e2bf1 |
line wrap: on
line diff
--- a/mercurial/subrepo.py Tue Jun 07 12:10:01 2016 +0200 +++ b/mercurial/subrepo.py Tue Jun 14 11:53:55 2016 +0200 @@ -1414,7 +1414,7 @@ if command in ('cat-file', 'symbolic-ref'): return retdata, p.returncode # for all others, abort - raise error.Abort('git %s error %d in %s' % + raise error.Abort(_('git %s error %d in %s') % (command, p.returncode, self._relpath)) return retdata, p.returncode