@matheusbsbs / matheus-bagliano / commits / 5cde59895f
Fork 0

i18n: git-clone "Cloning into" message

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>

Ævar Arnfjörð Bjarmason committed Feb 22, 2011 at 23:41 UTC 5cde59895f6c12fa479154ab111644de40f6a05a
2 files changed +3 -3
builtin/clone.c
+2 -2
@@ -470,9 +470,9 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
470
471 if (0 <= option_verbosity) {
472 if (option_bare)
473 - printf("Cloning into bare repository %s...\n", dir);
473 + printf(_("Cloning into bare repository %s...\n"), dir);
474 else
475 - printf("Cloning into %s...\n", dir);
475 + printf(_("Cloning into %s...\n"), dir);
476 }
477 init_db(option_template, INIT_DB_QUIET);
478
t/t5601-clone.sh
+1 -1
@@ -31,7 +31,7 @@ test_expect_success 'clone with excess parameters (2)' '
31
32 '
33
34 -test_expect_success 'output from clone' '
34 +test_expect_success C_LOCALE_OUTPUT 'output from clone' '
35 rm -fr dst &&
36 git clone -n "file://$(pwd)/src" dst >output &&
37 test $(grep Clon output | wc -l) = 1