summaryrefslogtreecommitdiff
path: root/git-submodule.sh
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2011-05-21 18:44:04 +0000
committerJunio C Hamano <gitster@pobox.com>2011-05-21 11:57:16 -0700
commit165119e9e6cd9697caf3141c3433640f6804ae54 (patch)
treef112723ec2d990401453ae8dfc7a6fd1521a1a9e /git-submodule.sh
parentb9b9c22f6db3e3c089098ba04fbc885e2cb4f4dd (diff)
downloadgit-165119e9e6cd9697caf3141c3433640f6804ae54.tar.gz
i18n: git-submodule "Submodule change[...]" messages
Gettextize the "Submodules changed but not updated" and "Submodule changes to be committed" messages. This is explicitly tested for so we need to skip a portion of a test with test_i18ncmp. 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 444e1c581a..60ea58e31b 100755
--- a/git-submodule.sh
+++ b/git-submodule.sh
@@ -745,9 +745,9 @@ cmd_summary() {
done |
if test -n "$for_status"; then
if [ -n "$files" ]; then
- echo "# Submodules changed but not updated:"
+ gettext "# Submodules changed but not updated:"; echo
else
- echo "# Submodule changes to be committed:"
+ gettext "# Submodule changes to be committed:"; echo
fi
echo "#"
sed -e 's|^|# |' -e 's|^# $|#|'