Code

i18n: mark merge "Could not read from" message for translation
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sun, 10 Apr 2011 19:34:03 +0000 (19:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 07:12:53 +0000 (00:12 -0700)
Mark the "Could not read from '%s'" message that was added to
builtin/merge.c in v1.7.4.2~25^2 (merge: honor prepare-commit-msg
hook) 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 d54e7ddbb12286beb4f9622864f2eeaa79453d32..7eda05d86f52c6cb1ee65ea0bff7070b08302988 100644 (file)
@@ -822,7 +822,7 @@ static void read_merge_msg(void)
 {
        strbuf_reset(&merge_msg);
        if (strbuf_read_file(&merge_msg, git_path("MERGE_MSG"), 0) < 0)
-               die_errno("Could not read from '%s'", git_path("MERGE_MSG"));
+               die_errno(_("Could not read from '%s'"), git_path("MERGE_MSG"));
 }
 
 static void run_prepare_commit_msg(void)