summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 919a4ce)
raw | patch | inline | side by side (parent: 919a4ce)
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Tue, 22 Feb 2011 23:42:17 +0000 (23:42 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 10 Mar 2011 07:52:56 +0000 (23:52 -0800) |
Gettextize the "# Initial commit" message. A test in t7501-commit.sh
explicitly checked for this message. Change it 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>
explicitly checked for this message. Change it 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>
t/t7501-commit.sh | patch | blob | history | |
wt-status.c | patch | blob | history |
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh
index 8980738c7540b79eaa566d6054f3e76b202bd27e..a76c47419590ed16c53b8d4d82c2d92c11853154 100755 (executable)
--- a/t/t7501-commit.sh
+++ b/t/t7501-commit.sh
test_expect_success \
"initial status" \
"echo 'bongo bongo' >file &&
- git add file && \
- git status | grep 'Initial commit'"
+ git add file"
+
+test_expect_success C_LOCALE_OUTPUT \
+ "Constructing initial commit" \
+ "git status | grep 'Initial commit'"
test_expect_success \
"fail initial amend" \
diff --git a/wt-status.c b/wt-status.c
index 321c4f8723550cc0c44d5417d62517909e8fab1a..f0b8c6888377d8182ee49fe4aecc963a9ad7d9ba 100644 (file)
--- a/wt-status.c
+++ b/wt-status.c
if (s->is_initial) {
status_printf_ln(s, color(WT_STATUS_HEADER, s), "");
- status_printf_ln(s, color(WT_STATUS_HEADER, s), "Initial commit");
+ status_printf_ln(s, color(WT_STATUS_HEADER, s), _("Initial commit"));
status_printf_ln(s, color(WT_STATUS_HEADER, s), "");
}