OSDN Git Service

i18n: git-stash: mark messages for translation
authorVasco Almeida <vascomalmeida@sapo.pt>
Wed, 10 Aug 2016 10:50:30 +0000 (10:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Aug 2016 17:50:18 +0000 (10:50 -0700)
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-stash.sh

index 22fb8bc..826af18 100755 (executable)
@@ -265,7 +265,7 @@ save_stash () {
        create_stash "$stash_msg" $untracked
        store_stash -m "$stash_msg" -q $w_commit ||
        die "$(gettext "Cannot save the current status")"
-       say Saved working directory and index state "$stash_msg"
+       say "$(eval_gettext "Saved working directory and index state \$stash_msg")"
 
        if test -z "$patch_mode"
        then
@@ -548,7 +548,7 @@ pop_stash() {
                drop_stash "$@"
        else
                status=$?
-               say "The stash is kept in case you need it again."
+               say "$(gettext "The stash is kept in case you need it again.")"
                exit $status
        fi
 }