Mercurial > hg
changeset 8282:c214a895f62c
localrepo: mark commit message template for translation
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 03 May 2009 00:20:08 +0200 |
parents | 3e1e499db9d7 |
children | d6134b800797 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun May 03 00:03:35 2009 +0200 +++ b/mercurial/localrepo.py Sun May 03 00:20:08 2009 +0200 @@ -944,17 +944,17 @@ edittext.append(_("HG: Enter commit message." " Lines beginning with 'HG:' are removed.")) edittext.append("HG: --") - edittext.append("HG: user: %s" % user) + edittext.append(_("HG: user: %s") % user) if p2 != nullid: - edittext.append("HG: branch merge") + edittext.append(_("HG: branch merge")) if branchname: - edittext.append("HG: branch '%s'" + edittext.append(_("HG: branch '%s'") % encoding.tolocal(branchname)) - edittext.extend(["HG: added %s" % f for f in added]) - edittext.extend(["HG: changed %s" % f for f in updated]) - edittext.extend(["HG: removed %s" % f for f in removed]) + edittext.extend([_("HG: added %s") % f for f in added]) + edittext.extend([_("HG: changed %s") % f for f in updated]) + edittext.extend([_("HG: removed %s") % f for f in removed]) if not added and not updated and not removed: - edittext.append("HG: no files changed") + edittext.append(_("HG: no files changed")) edittext.append("") # run editor in the repository root olddir = os.getcwd()