Re: [PATCH 3/3] i18n: git-stash: mark message for translation
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 9, 2016, 19:36 UTC
- Message-ID
- <xmqqr39x91k6.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1470654961-2842-3-git-send-email-vascomalmeida@sapo.pt>
Vasco Almeida <vascomalmeida@sapo.pt> writes:
Show 18 quoted lines
> Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
> ---
> git-stash.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/git-stash.sh b/git-stash.sh
> index 22fb8bc..9cbd682 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"
> thenThere is another "say" without gettext in pop_stash function. Don't you want to do that one, too?