commands: make the warning message for "patch --partial" translatable stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 01 Aug 2014 02:14:24 +0900
branchstable
changeset 21959 dccbf52ffe9f
parent 21958 9663a7855798
child 21960 2896d450fec4
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.
mercurial/commands.py
--- 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