Code

i18n: mark merge CHERRY_PICK_HEAD messages for translation
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 10 Apr 2011 19:34:05 +0000 (19:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 07:12:53 +0000 (00:12 -0700)
Mark CHERRY_PICK_HEAD related messages in builtin/merge.c that were
added in v1.7.5-rc0~88^2~2 (Introduce CHERRY_PICK_HEAD) by Jay Soffian
for translation.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/merge.c

index 6e63c083932a997e7d4f957fcd920442adc30137..08245b6d664b2e29637dfba6ad33a394a5c104cc 100644 (file)
@@ -1043,10 +1043,10 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
        }
        if (file_exists(git_path("CHERRY_PICK_HEAD"))) {
                if (advice_resolve_conflict)
-                       die("You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists).\n"
-                           "Please, commit your changes before you can merge.");
+                       die(_("You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists).\n"
+                           "Please, commit your changes before you can merge."));
                else
-                       die("You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists).");
+                       die(_("You have not concluded your cherry-pick (CHERRY_PICK_HEAD exists)."));
        }
        resolve_undo_clear();