i18n: git-status "nothing to commit" messages

Gettextize the "nothing to commit" messages. Many tests explicitly
checked for this message. Change them to skip under
GETTEXT_POISON=YesPlease.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason
2011-02-22 23:42:14 +00:00
committed by Junio C Hamano
parent 355ec7a130
commit 8ec9bc0dd5
2 changed files with 10 additions and 10 deletions

View File

@ -763,14 +763,14 @@ void wt_status_print(struct wt_status *s)
advice_status_hints
? _(" (use \"git add\" to track)") : "");
else if (s->is_initial)
printf("nothing to commit%s\n", advice_status_hints
? " (create/copy files and use \"git add\" to track)" : "");
printf(_("nothing to commit%s\n"), advice_status_hints
? _(" (create/copy files and use \"git add\" to track)") : "");
else if (!s->show_untracked_files)
printf("nothing to commit%s\n", advice_status_hints
? " (use -u to show untracked files)" : "");
printf(_("nothing to commit%s\n"), advice_status_hints
? _(" (use -u to show untracked files)") : "");
else
printf("nothing to commit%s\n", advice_status_hints
? " (working directory clean)" : "");
printf(_("nothing to commit%s\n"), advice_status_hints
? _(" (working directory clean)") : "");
}
}