Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-05-21 22:44:08 +0400
committerJunio C Hamano <gitster@pobox.com>2011-05-21 22:57:16 +0400
commit1c2ef66f63e60539044d1e0cd8fbfbccd2cefc2e (patch)
tree91cef5087b10fb268d2fe1c30f070e973b030757 /git-submodule.sh
parent3a4c3ed7e8b4f54876d6e855d3644c15d5d2207d (diff)
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>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-xgit-submodule.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-submodule.sh b/git-submodule.sh
index 11c4bade1a..654a8cb8c9 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -464,8 +464,8 @@ cmd_update()
# Only mention uninitialized submodules when its
# path have been specified
test "$#" != "0" &&
- say "Submodule path '$path' not initialized" &&
- say "Maybe you want to use 'update --init'?"
+ say "$(eval_gettext "Submodule path '\$path' not initialized
+Maybe you want to use 'update --init'?")"
continue
fi