From: Ævar Arnfjörð Bjarmason Date: Sun, 19 Sep 2010 15:20:50 +0000 (+0000) Subject: gettextize: git-merge "You have not concluded your merge" messages X-Git-Tag: ko-pu~10^2~100 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cd3549c58c1981fa87a04bd955b60bef7247b1e;p=git.git gettextize: git-merge "You have not concluded your merge" messages Gettextize the "You have not concluded your merge messages. A test in t3030-merge-recursive.sh explicitly checked for this message. Change it to skip the test under GETTEXT_POISON=YesPlease. Signed-off-by: Ævar Arnfjörð Bjarmason --- diff --git a/builtin/merge.c b/builtin/merge.c index 0571ab38d..595f216e4 100644 --- a/builtin/merge.c +++ b/builtin/merge.c @@ -910,10 +910,10 @@ int cmd_merge(int argc, const char **argv, const char *prefix) * add/rm ', just 'git commit'. */ if (advice_resolve_conflict) - die("You have not concluded your merge (MERGE_HEAD exists).\n" - "Please, commit your changes before you can merge."); + die(_("You have not concluded your merge (MERGE_HEAD exists).\n" + "Please, commit your changes before you can merge.")); else - die("You have not concluded your merge (MERGE_HEAD exists)."); + die(_("You have not concluded your merge (MERGE_HEAD exists).")); } resolve_undo_clear(); diff --git a/t/t3030-merge-recursive.sh b/t/t3030-merge-recursive.sh index e66e550b2..b21626842 100755 --- a/t/t3030-merge-recursive.sh +++ b/t/t3030-merge-recursive.sh @@ -299,7 +299,7 @@ test_expect_success 'merge-recursive result' ' ' -test_expect_success 'fail if the index has unresolved entries' ' +test_expect_success NO_GETTEXT_POISON 'fail if the index has unresolved entries' ' rm -fr [abcd] && git checkout -f "$c1" &&