diff --git a/backups.py b/backups.py index a8faab9c11..f9b128ea90 100644 --- a/backups.py +++ b/backups.py @@ -71,7 +71,7 @@ def backups(ui, repo, *pats, **opts): recovernode = opts.get('recover') if recovernode: if recovernode in repo: - ui.warn("%s already exists in the repo\n" % recovernode) + ui.warn(_("%s already exists in the repo\n") % recovernode) return else: msg = _("Recover commits using: hg backups --recover \n") diff --git a/fbamend.py b/fbamend.py index 9cee47335b..6ff253e3f8 100644 --- a/fbamend.py +++ b/fbamend.py @@ -260,7 +260,7 @@ def amend(ui, repo, *pats, **opts): else: _usereducation(ui) ui.warn(msg) - ui.status("(use 'hg amend --fixup' to rebase them)\n") + ui.status(_("(use 'hg amend --fixup' to rebase them)\n")) newbookmarks = repo._bookmarks