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

Re: [PATCH 0/7] More i18n fixes

From
Johannes Sixt <j6t@kdbg.org>
Date
Mar 21, 2022, 06:48 UTC
Message-ID
<e44b6ccf-21a2-72c6-4d40-dc0004895255@kdbg.org>
In-Reply-To
<pull.1181.git.1647813291.gitgitgadget@gmail.com>
Am 20.03.22 um 22:54 schrieb Jean-Noël Avila via GitGitGadget:
Show 5 quoted lines
> This is another i18n PR (and hopefully the last for a while).
> 
> As usual, the intent is kept the same: curbing the number of strings to
> translate, remove constant, error prone parts out of the way, trying in some
> sense to "put a precedent" so that the template strings can be reused later.

I feel that many of the example conversions look like sentence lego because there remains only one English word, e.g., "'%s' failed". The converted code does not leave a hint for the translators what the %s will be. Is it a command, a function name, somehting else? Even if the hint was provided, different translations may be required depending on the substituted entity. Did you investigate the existing translations whether all of them can be converted to the new scheme?

> This series has also a RFC status: can "bad argument" messages be merged
> with unrecognized argument?

The cases that patch 7/7 transforms look like they need not keep "unrecognized argument", but can be converted to "bad argument".

Disclaimer: neither am I a translator nor a user of a translated Git.
-- Hannes
Previous: Jean-Noël Avila via GitGitGadgetNext: Ævar Arnfjörð Bjarmason
Message 10 of 28 in “More i18n fixes”
  1. 0/7 More i18n fixesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  2. 1/7 i18n: factorize generic failure messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  3. 2/7 sequencer: factor GIT_AUTHOR_* from message stringsBagas Sanjaya via GitGitGadget, Mar 20, 2022
  4. Bagas SanjayaMar 21, 2022
  5. 3/7 i18n: factorize "bad argument" messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  6. 4/7 i18n: factorize "Server does not support foo" messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  7. 5/7 i18n: factorize "foo does not take arguments" messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  8. 7/7 i18n: factorize unrecognized options arguments messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  9. 6/7 i18n: factorize read-cache error messagesJean-Noël Avila via GitGitGadget, Mar 20, 2022
  10. Johannes SixtMar 21, 2022
  11. Ævar Arnfjörð BjarmasonMar 21, 2022
  12. Junio C HamanoMar 21, 2022
  13. Jean-Noël AVILAMar 21, 2022
  14. Jean-Noël AVILAMar 21, 2022
  15. 0/6 More i18n fixesJean-Noël Avila via GitGitGadget, Apr 2, 2022
  16. 1/6 i18n: factorize generic failure messagesJean-Noël Avila via GitGitGadget, Apr 2, 2022
  17. Bagas SanjayaApr 3, 2022
  18. Ævar Arnfjörð BjarmasonApr 3, 2022
  19. Ævar Arnfjörð BjarmasonApr 3, 2022
  20. 3/6 i18n: factorize server support messages in fetch-packJean-Noël Avila via GitGitGadget, Apr 2, 2022
  21. 2/6 sequencer: factor GIT_AUTHOR_* from message stringsBagas Sanjaya via GitGitGadget, Apr 2, 2022
  22. 5/6 i18n: factorize read-cache error messagesJean-Noël Avila via GitGitGadget, Apr 2, 2022
  23. Junio C HamanoApr 3, 2022
  24. 4/6 i18n: factorize "foo does not take arguments" messagesJean-Noël Avila via GitGitGadget, Apr 2, 2022
  25. Ævar Arnfjörð BjarmasonApr 3, 2022
  26. Junio C HamanoApr 3, 2022
  27. 6/6 i18n: factorize "bad argument" messagesJean-Noël Avila via GitGitGadget, Apr 2, 2022
  28. Ævar Arnfjörð BjarmasonApr 3, 2022

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.