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

L10n regression in 1.8.0.rc2: diffstat summary (git diff --stat, git format-patch)

From
Peter Krefting <peter@softwolves.pp.se>
Date
Oct 17, 2012, 10:53 UTC
Message-ID
<alpine.DEB.2.00.1210171145360.12699@ds9.cixit.se>
Hi!

The output of "git format-patch" and "git diff --stat" no longer becomes localized when using 1.8.0.rc2, compared to 1.7.12

Running both versions of "git format-patch -1" from the same repository, with the same settings otherwise, has 1.7.12 output the diffstat summary in Swedish, while 1.8.0.rc2 doesn't:

   diff 1.7.12.txt 1.8.0.rc2.txt
   8c8
   <  1 fil ändrad, 1 tillägg(+)
   ---
   >  1 file changed, 1 insertion(+)
   18c18
   < 1.7.12
   ---
   > 1.8.0.rc2

The same applies to "git diff --stat" and "git show --stat". I can understand for "git format-patch" to default to English (but as its output is ignored on read, it doesn't hurt to have it localized), but for diff and show, it is annoying (even if the rest of the "git diff" output also needs to be translated eventually).

-- 
\\// Peter - http://www.softwolves.pp.se/
Next: Nguyen Thai Ngoc Duy
Message 1 of 4 in “L10n regression in 1.8.0.rc2: diffstat summary (git diff --stat, git format-patch)”
  1. Peter KreftingOct 17, 2012
  2. Nguyen Thai Ngoc DuyOct 17, 2012
  3. Peter KreftingOct 19, 2012
  4. Peter KreftingOct 24, 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.