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>

Ævar Arnfjörð Bjarmason committed May 21, 2011 at 18:44 UTC 165119e9e6cd9697caf3141c3433640f6804ae54
2 files changed +3 -3
git-submodule.sh
+2 -2
@@ -745,9 +745,9 @@ cmd_summary() {
745 done |
746 if test -n "$for_status"; then
747 if [ -n "$files" ]; then
748 - echo "# Submodules changed but not updated:"
748 + gettext "# Submodules changed but not updated:"; echo
749 else
750 - echo "# Submodule changes to be committed:"
750 + gettext "# Submodule changes to be committed:"; echo
751 fi
752 echo "#"
753 sed -e 's|^|# |' -e 's|^# $|#|'
t/t7401-submodule-summary.sh
+1 -1
@@ -228,7 +228,7 @@ EOF
228
229 test_expect_success '--for-status' "
230 git submodule summary --for-status HEAD^ >actual &&
231 - test_cmp actual - <<EOF
231 + test_i18ncmp actual - <<EOF
232 # Submodule changes to be committed:
233 #
234 # * sm1 $head6...0000000: