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

Re: [PATCH 2/2] i18n: Add extra -- to seperate gettext and message

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 15, 2012, 18:13 UTC
Message-ID
<7v62asbfzg.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120615174149.GG10752@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 14 quoted lines
> For what it's worth that does seem to me like the most sensible
> workaround in the short term. :/
>
> 	gittext () {	# or sane_gettext or literal_gettext or something
> 		gettext -- "$1"
> 	}
>
> 	gittextln () {
> 		gettext -- "$1"
> 		echo
> 	}
>
> Thanks,
> Jonathan

Thanks for rephrasing ;-) That "g*I*ttext" looks a bit too cute for my taste, but something along that line does seem to be a reasonable way forward.

Previous: Jonathan Nieder
Message 8 of 8 in “i18n: Extract msgs marked by sh gettext wrappers”
  1. 1/2 i18n: Extract msgs marked by sh gettext wrappersJiang Xin, Jun 3, 2012
  2. 2/2 i18n: Add extra -- to seperate gettext and messageJiang Xin, Jun 3, 2012
  3. Ævar Arnfjörð BjarmasonJun 4, 2012
  4. Jiang XinJun 4, 2012
  5. Junio C HamanoJun 4, 2012
  6. Jiang XinJun 15, 2012
  7. Jonathan NiederJun 15, 2012
  8. Junio C HamanoJun 15, 2012

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.