Code

i18n of multi-line advice messages
[git.git] / builtin / revert.c
index 1ea525c10e4c00b66006bf46465ebd490823f25f..3ad14a1f98716cca4ddcfe9f8cbe8054409cde02 100644 (file)
@@ -332,11 +332,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)