diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-26 23:09:17 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-26 23:09:18 (GMT) |
commit | 8969feac7ee119dc3cdae0e2d8c65516aa8f4045 (patch) | |
tree | 1007bab435d4c18d829ebba5975bede43e4c9f9c /commit.c | |
parent | e447d3182cf77f45402b6fc8a357a2ab466c49dd (diff) | |
parent | 850251f33be0e1d0a30d11285b618bdce23be3d7 (diff) | |
download | git-8969feac7ee119dc3cdae0e2d8c65516aa8f4045.zip git-8969feac7ee119dc3cdae0e2d8c65516aa8f4045.tar.gz git-8969feac7ee119dc3cdae0e2d8c65516aa8f4045.tar.bz2 |
Merge branch 'va/i18n-more'
Even more i18n.
* va/i18n-more:
i18n: stash: mark messages for translation
i18n: notes-merge: mark die messages for translation
i18n: ident: mark hint for translation
i18n: i18n: diff: mark die messages for translation
i18n: connect: mark die messages for translation
i18n: commit: mark message for translation
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1511,9 +1511,9 @@ static int verify_utf8(struct strbuf *buf) } static const char commit_utf8_warn[] = -"Warning: commit message did not conform to UTF-8.\n" -"You may want to amend it after fixing the message, or set the config\n" -"variable i18n.commitencoding to the encoding your project uses.\n"; +N_("Warning: commit message did not conform to UTF-8.\n" + "You may want to amend it after fixing the message, or set the config\n" + "variable i18n.commitencoding to the encoding your project uses.\n"); int commit_tree_extended(const char *msg, size_t msg_len, const unsigned char *tree, @@ -1566,7 +1566,7 @@ int commit_tree_extended(const char *msg, size_t msg_len, /* And check the encoding */ if (encoding_is_utf8 && !verify_utf8(&buffer)) - fprintf(stderr, commit_utf8_warn); + fprintf(stderr, _(commit_utf8_warn)); if (sign_commit && do_sign_commit(&buffer, sign_commit)) return -1; |