From: Ævar Arnfjörð Bjarmason Date: Mon, 13 Sep 2010 22:09:08 GMT Subject: [PATCH/RFC 02/12] gettextize: git-submodule echo + eval_gettext messages Message-ID: <1284415758-20931-3-git-send-email-avarab@gmail.com> In-Reply-To: <1284415758-20931-1-git-send-email-avarab@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason --- git-submodule.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-submodule.sh b/git-submodule.sh index 5ef3d0d..5a08fe6 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -219,7 +219,7 @@ cmd_add() then if test -d "$path"/.git -o -f "$path"/.git then - echo "Adding existing repo at '$path' to the index" + echo "$(eval_gettext "Adding existing repo at '\$path' to the index")" else die "'$path' already exists and is not a valid git repo" fi @@ -626,7 +626,7 @@ cmd_summary() { ;; # removed *) # unexpected type - echo >&2 "unexpected mode $mod_dst" + echo >&2 "$(eval_gettext "unexpected mode \$mod_dst")" continue ;; esac fi -- 1.7.3.rc1.220.gb4d42