Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.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 | f652e84f23f2 |
children | c2193e59ef9f |
line wrap: on
line diff
--- a/mercurial/revset.py Tue Jun 07 12:10:01 2016 +0200 +++ b/mercurial/revset.py Tue Jun 14 11:53:55 2016 +0200 @@ -2663,7 +2663,8 @@ ret += listexp(list(args[arg]), d) arg += 1 else: - raise error.Abort('unexpected revspec format character %s' % d) + raise error.Abort(_('unexpected revspec format character %s') + % d) else: ret += c pos += 1