summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-02-22 23:41:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-03-10 07:52:52 (GMT)
commit3e5dd7e960953ad03790309c48406a8aa43cb026 (patch)
tree8edd61655bcbc97f16934bbf7d4996148d4d81eb /t
parent33e92e47c5b3eaa66d375cb94c3cfd1a0946bf93 (diff)
downloadgit-3e5dd7e960953ad03790309c48406a8aa43cb026.zip
git-3e5dd7e960953ad03790309c48406a8aa43cb026.tar.gz
git-3e5dd7e960953ad03790309c48406a8aa43cb026.tar.bz2
i18n: git-init "Initialized [...] repository" message
These messages could benefit from splitting up. An earlier version of this patch began like this: const char *reinit_shared = _("Reinitialized existing shared Git repository in %s\n"); const char *init_shared = _("Initialized empty shared Git repository in %s\n"); const char *reinit_noshared = _("Reinitialized existing Git repository in %s\n"); const char *init_noshared = _("Initialized empty Git repository in %s\n"); But in the first round of gettextization I'm aiming to keep code changes to a minimum for ease of review. So just add a comment explaining to translators how the sprintf format gets used so they can cope for now if the language's grammar allows. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t0001-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0001-init.sh b/t/t0001-init.sh
index f684993..dd4c00d 100755
--- a/t/t0001-init.sh
+++ b/t/t0001-init.sh
@@ -180,7 +180,7 @@ test_expect_success 'GIT_DIR & GIT_WORK_TREE (2)' '
fi
'
-test_expect_success 'reinit' '
+test_expect_success C_LOCALE_OUTPUT 'reinit' '
(
sane_unset GIT_CONFIG GIT_WORK_TREE GIT_CONFIG &&