Patchwork [2,of,3,STABLE] commands: make the warning message for "patch --partial" translatable

login
register
mail settings
Submitter Katsunori FUJIWARA
Date July 31, 2014, 5:19 p.m.
Message ID <b75beb040a6c063e3cee.1406827147@feefifofum>
Download mbox | patch
Permalink /patch/5213/
State Accepted
Commit dccbf52ffe9f02cabf89223e82e4f10f8d9face1
Headers show

Comments

Katsunori FUJIWARA - July 31, 2014, 5:19 p.m.
# HG changeset patch
# User FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
# Date 1406826864 -32400
#      Fri Aug 01 02:14:24 2014 +0900
# Branch stable
# Node ID b75beb040a6c063e3cee6d5b3d52c5c35995af2c
# Parent  761ea8ca9cb6c2be1ce79dd906510cfd93c4e143
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.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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