[PATCH v2 3/3] i18n: git-stash: mark messages for translation
- From
Vasco Almeida <vascomalmeida@sapo.pt>
- Date
- Aug 10, 2016, 10:50 UTC
- Message-ID
- <1470826230-4211-3-git-send-email-vascomalmeida@sapo.pt>
- In-Reply-To
- <1470826230-4211-1-git-send-email-vascomalmeida@sapo.pt>
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> ---
I added the second mark that I had missed the first time. Thank you Junio C Hamano for spotting that.
git-stash.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-stash.sh b/git-stash.sh index 22fb8bc..826af18 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -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 }
-- 2.7.4