Code

i18n: git-submodule "Submodule change[...]" messages
[git.git] / git-submodule.sh
index 7eb1de03a529ad490dc5baad0184a909e4b606ca..60ea58e31b6fb1b586540766286f7bcc9b2f2fc6 100755 (executable)
@@ -617,7 +617,7 @@ cmd_summary() {
        if [ -n "$files" ]
        then
                test -n "$cached" &&
-               die "--cached cannot be used with --files"
+               die "$(gettext -- "--cached cannot be used with --files")"
                diff_cmd=diff-files
                head=
        fi
@@ -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|^# $|#|'