summaryrefslogtreecommitdiff
path: root/wt-status.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:42:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-10 07:52:56 (GMT)
commit8ec9bc0dd5852e5468db576b0cba39f9179d4610 (patch)
tree431774100f19f5672c2311e216460df9de0a8bbe /wt-status.c
parent355ec7a1303af862a76961603ea2a2a11a0d204c (diff)
downloadgit-8ec9bc0dd5852e5468db576b0cba39f9179d4610.zip
git-8ec9bc0dd5852e5468db576b0cba39f9179d4610.tar.gz
git-8ec9bc0dd5852e5468db576b0cba39f9179d4610.tar.bz2
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>
Diffstat (limited to 'wt-status.c')
-rw-r--r--wt-status.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/wt-status.c b/wt-status.c
index 0550222..e9abfc8 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -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)") : "");
}
}