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

Re: [PATCH][l10n-fr] list translated to prune in command

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 22, 2017, 18:02 UTC
Message-ID
<20171122180236.GA11671@aiede.mtv.corp.google.com>
In-Reply-To
<20171122172440.15106-1-louis@bettens.info>
Hi,
Louis Bettens wrote:
> "$ git worktree" when in a french locale shows an incorrect usage
> summary.  This comes down to this trivial issue in the i18n.

Good catch. This comes from v2.7.0-rc3~4^2~7^2~2^2 (l10n: fr v2.7.0 round 1 (2477t), 2015-12-18).

For next time, you can send these three emails in a single email:
	Subject: l10n: fr.po: "worktree list" mistranslated as prune
	"$ git worktree" when in a french locale shows an incorrect usage
	summary.  This comes down to this trivial issue in the i18n.
	Signed-off-by: ...
	---
	Also it seems this is the only .po that has this particular quirk:
	$ grep -c "worktree prune" po/*.po
	po/bg.po:2
	po/ca.po:2
	po/de.po:2
	po/es.po:2
	po/fr.po:3  # outlier
	po/is.po:0
	po/it.po:0
	po/ko.po:2
	po/pt_PT.po:2
	po/ru.po:2
	po/sv.po:2
	po/vi.po:2
	po/zh_CN.po:2
	zero lines -> translation missing, OK
	two lines -> msgid and msgstr, OK
	three lines -> something wrong. In this case, the present issue.
	 po/fr.po | 2 +-
	 1 file changed, 1 insertion(+), 1 deletion(-)
	diff --git a/po/fr.po b/po/fr.po
	index 4deae3318..a12a2ae37 100644
	--- a/po/fr.po
	+++ b/po/fr.po
[...]

That way, Jean-Noel Avila or Jiang Xin can apply the patch with a single "git am" command and the explanation (above the "---" line) shows up in "git log".

I assume they can handle this one fine as-is. Just pointing it out for the future.

See the DISCUSSION section in "git help format-patch" for more details.

Thanks, Jonathan

Previous: Louis Bettens
Message 6 of 6 in “[l10n-fr] list translated to prune in command”
  1. [l10n-fr] list translated to prune in commandLouis Bettens, Nov 22, 2017
  2. fix french translationLouis Bettens, Nov 22, 2017
  3. Louis BettensNov 22, 2017
  4. Jean-Noël AVILANov 22, 2017
  5. Louis BettensNov 22, 2017
  6. Jonathan NiederNov 22, 2017

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.