i18n: git-submodule "path not initialized" message

Gettextize the "Submodule path '$path' not initialized" message. This is explicitly tested for so we need to skip a portion of a test with test_i18grep. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ævar Arnfjörð Bjarmason committed May 21, 2011 at 18:44 UTC 1c2ef66f63e60539044d1e0cd8fbfbccd2cefc2e
2 files changed +3 -3
git-submodule.sh
+2 -2
@@ -464,8 +464,8 @@ cmd_update()
464 # Only mention uninitialized submodules when its
465 # path have been specified
466 test "$#" != "0" &&
467 - say "Submodule path '$path' not initialized" &&
468 - say "Maybe you want to use 'update --init'?"
467 + say "$(eval_gettext "Submodule path '\$path' not initialized
468 +Maybe you want to use 'update --init'?")"
469 continue
470 fi
471
t/t7400-submodule-basic.sh
+1 -1
@@ -357,7 +357,7 @@ test_expect_success 'update --init' '
357
358 git submodule update init > update.out &&
359 cat update.out &&
360 - grep "not initialized" update.out &&
360 + test_i18ngrep "not initialized" update.out &&
361 ! test -d init/.git &&
362
363 git submodule update --init init &&