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

Re: [PATCH] i18n: move the trailing space out of translatable strings

From
Duy Nguyen <pclouds@gmail.com>
Date
Dec 8, 2013, 02:15 UTC
Message-ID
<CACsJy8CBC3qk7NQPR3UWhUdA+o+hXPLPXV+8fz4ctCSV1J2hcA@mail.gmail.com>
In-Reply-To
<1386468704-18339-1-git-send-email-pclouds@gmail.com>
On Sun, Dec 8, 2013 at 9:11 AM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 5 quoted lines
> I could fix vi.po alone, but it'd be better to avoid similar mistakes
> for all translations by moving the trailing space out of all
> translatable strings (*). This is inline with how we handle newlines
> (e.g. *printf_ln wrappers) but it's not widespread enough to make new
> *printf_space wrappers.

And I just realized spaces are more common in languages using latin alphabet but are not a rule. CJK languages do not have/need spaces so this might be a wrong move..

-- 
Duy
Previous: Nguyễn Thái Ngọc DuyNext: Keshav Kini
Message 2 of 4 in “i18n: move the trailing space out of translatable strings”
  1. i18n: move the trailing space out of translatable stringsNguyễn Thái Ngọc Duy, Dec 8, 2013
  2. Duy NguyenDec 8, 2013
  3. Keshav KiniDec 8, 2013
  4. Junio C HamanoDec 9, 2013

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.