# HG changeset patch # User Franz Glasner # Date 1536824331 -7200 # Node ID b5fc241c706d90285c6627ec6a0c7c4ddf32948b # Parent 853bb1f34023c73f9cca95535d97d8d37f961c78 FIX: All "error.Abort()" message should be translated diff -r 853bb1f34023 -r b5fc241c706d extensions/timestamps.py --- 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))