commands: make the warning message for "patch --partial" translatable
This patch makes the warning message for "patch --partial"
translatable: this message was introduced by
bee0e1cffdd3, and there is
no reason to prevent this from being translatable.
--- a/mercurial/commands.py Fri Aug 01 02:14:24 2014 +0900
+++ b/mercurial/commands.py Fri Aug 01 02:14:24 2014 +0900
@@ -3882,8 +3882,8 @@
parents = [repo[node]]
if rej:
ui.write_err(_("patch applied partially\n"))
- ui.write_err(("(fix the .rej files and run "
- "`hg commit --amend`)\n"))
+ ui.write_err(_("(fix the .rej files and run "
+ "`hg commit --amend`)\n"))
ret = 1
break