Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 189:b5fc241c706d
FIX: All "error.Abort()" message should be translated
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Thu, 13 Sep 2018 09:38:51 +0200 |
| parents | 853bb1f34023 |
| children | 83843b3de6e5 |
| files | extensions/timestamps.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/timestamps.py Thu Sep 13 09:11:30 2018 +0200 +++ b/extensions/timestamps.py Thu Sep 13 09:38:51 2018 +0200 @@ -148,7 +148,7 @@ raise error.Abort(_("repository is not local")) matcher = gen_matcher(repo, ctx, tsconfig=tsconfig) if matcher is None: - raise error.Abort("timestamps are not activated") + raise error.Abort(_("timestamps are not activated")) if amend: ts = Timestamps.from_filename(repo.wjoin(TIMESTAMPS_DATABASE)) else: @@ -172,7 +172,7 @@ cmdutil.bailifchanged(repo) matcher = gen_matcher(repo, ctx, tsconfig=tsconfig) if matcher is None: - raise error.Abort("timestamps are not activated") + raise error.Abort(_("timestamps are not activated")) ts = Timestamps.from_filename(repo.wjoin(TIMESTAMPS_DATABASE))
