diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-03-20 15:25:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-20 15:25:38 -0700 |
commit | 39af78961d8e7f4c0aee73e77e9eb5b6033f79c2 (patch) | |
tree | 03df3de35df25fa5aae34b993fb7da8eb383a462 /builtin/revert.c | |
parent | Merge branch 'jn/gitweb-unspecified-action' into maint-1.7.8 (diff) | |
parent | i18n of multi-line advice messages (diff) | |
download | tgif-39af78961d8e7f4c0aee73e77e9eb5b6033f79c2.tar.xz |
Merge branch 'jc/advise-i18n' into maint-1.7.8
* jc/advise-i18n:
i18n of multi-line advice messages
Diffstat (limited to 'builtin/revert.c')
-rw-r--r-- | builtin/revert.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/builtin/revert.c b/builtin/revert.c index 028bcbcd75..00df5266d5 100644 --- a/builtin/revert.c +++ b/builtin/revert.c @@ -343,11 +343,10 @@ static void print_advice(int show_hint) return; } - if (show_hint) { - advise("after resolving the conflicts, mark the corrected paths"); - advise("with 'git add <paths>' or 'git rm <paths>'"); - advise("and commit the result with 'git commit'"); - } + if (show_hint) + advise(_("after resolving the conflicts, mark the corrected paths\n" + "with 'git add <paths>' or 'git rm <paths>'\n" + "and commit the result with 'git commit'")); } static void write_message(struct strbuf *msgbuf, const char *filename) |