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

Re: [PATCH 1/6] i18n: commit: mark message for translation

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 19, 2016, 21:08 UTC
Message-ID
<xmqq4m5begxj.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<34292875.FKhN8jTqO5@cayenne>
Jean-Noël AVILA <jn.avila@free.fr> writes:
> Maybe 3/6 would have benefited from some code factorization. But that's ok for 
> a few more sentences.

Ah, let me see I understood what you mean. Adding something like this

	static NORETURN void die_want_option(const char *option_name)
        {
        	die(_("option '%s' requires a value"), option_name);
	}

and have many of the callers of die() call it would reduce the number of strings that translators would need to touch.

I agree, but I think we can do that in a later follow-up.
Thanks.
Previous: Jean-Noël AVILANext: Jean-Noël AVILA
Message 9 of 11 in “i18n: commit: mark message for translation”
  1. 1/6 i18n: commit: mark message for translationVasco Almeida, Sep 19, 2016
  2. 2/6 i18n: connect: mark die messages for translationVasco Almeida, Sep 19, 2016
  3. 4/6 i18n: ident: mark hint for translationVasco Almeida, Sep 19, 2016
  4. 3/6 i18n: diff: mark die errors for translationVasco Almeida, Sep 19, 2016
  5. 5/6 i18n: notes-merge: mark die messages for translationVasco Almeida, Sep 19, 2016
  6. 6/6 i18n: stash: mark messages for translationVasco Almeida, Sep 19, 2016
  7. Junio C HamanoSep 19, 2016
  8. Jean-Noël AVILASep 19, 2016
  9. Junio C HamanoSep 19, 2016
  10. Jean-Noël AVILASep 20, 2016
  11. Junio C HamanoSep 21, 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.