From: Ævar Arnfjörð Bjarmason Date: Sat, 21 May 2011 18:43:59 GMT Subject: [PATCH v2 18/48] i18n: git-submodule echo + eval_gettext messages Message-ID: <1306003469-22939-19-git-send-email-avarab@gmail.com> In-Reply-To: <1306003469-22939-1-git-send-email-avarab@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason --- git-submodule.sh | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/git-submodule.sh b/git-submodule.sh index 816ab3d..547f5cb 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -234,7 +234,7 @@ cmd_add() then if test -d "$path"/.git -o -f "$path"/.git then - echo "Adding existing repo at '$path' to the index" + eval_gettext "Adding existing repo at '\$path' to the index"; echo else die "'$path' already exists and is not a valid git repo" fi @@ -658,7 +658,10 @@ cmd_summary() { ;; # removed *) # unexpected type - echo >&2 "unexpected mode $mod_dst" + ( + eval_gettext "unexpected mode \$mod_dst" && + echo + ) >&2 continue ;; esac fi -- 1.7.5.1