From: Ævar Arnfjörð Bjarmason Date: Tue, 22 Feb 2011 23:41:28 +0000 (+0000) Subject: i18n: git-clone "Cloning into" message X-Git-Tag: v1.7.5-rc1~19^2~64 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cde59895f6c12fa479154ab111644de40f6a05a;p=git.git i18n: git-clone "Cloning into" message Signed-off-by: Ævar Arnfjörð Bjarmason Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- diff --git a/builtin/clone.c b/builtin/clone.c index db0240d18..b9394c415 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -470,9 +470,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix) if (0 <= option_verbosity) { if (option_bare) - printf("Cloning into bare repository %s...\n", dir); + printf(_("Cloning into bare repository %s...\n"), dir); else - printf("Cloning into %s...\n", dir); + printf(_("Cloning into %s...\n"), dir); } init_db(option_template, INIT_DB_QUIET); diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 987e0c846..9e6fa3b2a 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -31,7 +31,7 @@ test_expect_success 'clone with excess parameters (2)' ' ' -test_expect_success 'output from clone' ' +test_expect_success C_LOCALE_OUTPUT 'output from clone' ' rm -fr dst && git clone -n "file://$(pwd)/src" dst >output && test $(grep Clon output | wc -l) = 1