i18n: git-submodule echo + eval_gettext messages

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2011-05-21 18:43:59 +00:00 committed by Junio C Hamano
parent d0ad825110
commit dc2204fe32

View File

@ -234,7 +234,7 @@ cmd_add()
then then
if test -d "$path"/.git -o -f "$path"/.git if test -d "$path"/.git -o -f "$path"/.git
then then
echo "Adding existing repo at '$path' to the index" eval_gettext "Adding existing repo at '\$path' to the index"; echo
else else
die "'$path' already exists and is not a valid git repo" die "'$path' already exists and is not a valid git repo"
fi fi
@ -658,7 +658,10 @@ cmd_summary() {
;; # removed ;; # removed
*) *)
# unexpected type # unexpected type
echo >&2 "unexpected mode $mod_dst" (
eval_gettext "unexpected mode \$mod_dst" &&
echo
) >&2
continue ;; continue ;;
esac esac
fi fi