diff --git a/git-submodule.sh b/git-submodule.sh
index 7eb1de03a529ad490dc5baad0184a909e4b606ca..60ea58e31b6fb1b586540766286f7bcc9b2f2fc6 100755 (executable)
--- a/git-submodule.sh
+++ b/git-submodule.sh
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
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|^# $|#|'