git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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"
>  	then

There is another "say" without gettext in pop_stash function. Don't you want to do that one, too?

Previous: Vasco AlmeidaNext: Vasco Almeida
Message 6 of 9 in “i18n: setup: mark error messages for translation”
  1. 1/3 i18n: setup: mark error messages for translationVasco Almeida, Aug 8, 2016
  2. 2/3 i18n: archive: mark errors for translationVasco Almeida, Aug 8, 2016
  3. Junio C HamanoAug 9, 2016
  4. Vasco AlmeidaAug 10, 2016
  5. 3/3 i18n: git-stash: mark message for translationVasco Almeida, Aug 8, 2016
  6. Junio C HamanoAug 9, 2016
  7. 1/3 i18n: setup: mark error messages for translationVasco Almeida, Aug 10, 2016
  8. 2/3 i18n: archive: mark errors for translationVasco Almeida, Aug 10, 2016
  9. 3/3 i18n: git-stash: mark messages for translationVasco Almeida, Aug 10, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.