changeset 21959:dccbf52ffe9f stable

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.
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Fri, 01 Aug 2014 02:14:24 +0900
parents 9663a7855798
children 2896d450fec4
files mercurial/commands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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