i18n: git-commit print_summary messages
Gettextize the "(root-commit)" and "detached HEAD" fragments that appear when you commit either the root commit, or a commit in a detached head translatable. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
fe8165cd4f
commit
7f5673d703
@ -1223,9 +1223,9 @@ static void print_summary(const char *prefix, const unsigned char *sha1)
|
||||
!prefixcmp(head, "refs/heads/") ?
|
||||
head + 11 :
|
||||
!strcmp(head, "HEAD") ?
|
||||
"detached HEAD" :
|
||||
_("detached HEAD") :
|
||||
head,
|
||||
initial_commit ? " (root-commit)" : "");
|
||||
initial_commit ? _(" (root-commit)") : "");
|
||||
|
||||
if (!log_tree_commit(&rev, commit)) {
|
||||
rev.always_show_header = 1;
|
||||
|
Reference in New Issue
Block a user