Mercurial > hg
changeset 13470:64ce09e93aff stable
commands: mark strings for translation
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Thu, 24 Feb 2011 15:35:22 +0100 |
parents | 07a6460f829a |
children | bffa00360e13 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Thu Feb 24 03:13:48 2011 +0100 +++ b/mercurial/commands.py Thu Feb 24 15:35:22 2011 +0100 @@ -1366,7 +1366,7 @@ format = opts.get('format', 0) if format not in (0, 1): - raise util.Abort("unknown format %d" % format) + raise util.Abort(_("unknown format %d") % format) if not r: r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) @@ -2279,7 +2279,7 @@ rev = "tip" if num or branch or tags: raise util.Abort( - "can't query remote revision number, branch, or tags") + _("can't query remote revision number, branch, or tags")) output = [hexfunc(repo.lookup(rev))] elif not rev: ctx = repo[None]