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

Re: [PATCH] rebase: make warning less passive aggressive

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 21, 2024, 22:46 UTC
Message-ID
<xmqq4je1mo5p.fsf@gitster.g>
In-Reply-To
<2324063.ElGaqSPkdT@cayenne>
Jean-Noël AVILA <jn.avila@free.fr> writes:
> As a translator, I'm less bothered by editing a sentence to remove a question 
> mark (maybe enforcing a language style and reformulating the sentence by the 
> way), than by translating again and again similar sentences.

Sure, but if the original in C locale used to be "FOO BAR?" and you translated it to "foo bar?" in your language, and then a patch updates the string in the source to "FOO BAR", doesn't msgmerge notice that the original as a "fuzzy" matching and offer you something like

    # fuzzy
    msgid "FOO BAR"
    msgstr "foo bar?"

so that all you have to do is to remove '?' anyway? So I do not think you'd need to translate the "FOO BAR" part again and again.

But the above assumes that for your language, the ONLY thing to turn such a rhetorical "passive aggressive" question into grammatically correct statement of a fact is to remove the question mark. It may not be universally true for all languages, and for some language, even after msgmerge did its job correctly, you may need to do more than just removing the question mark to adjust the remaining "foo bar" part.

Previous: Jean-Noël AVILANext: Junio C Hamano
Message 8 of 18 in “rebase: make warning less passive aggressive”
  1. rebase: make warning less passive aggressiveHarmen Stoppels via GitGitGadget, Feb 20, 2024
  2. Junio C HamanoFeb 20, 2024
  3. Michal SuchánekFeb 21, 2024
  4. Junio C HamanoFeb 21, 2024
  5. Junio C HamanoFeb 21, 2024
  6. Michal SuchánekFeb 21, 2024
  7. Jean-Noël AVILAFeb 21, 2024
  8. Junio C HamanoFeb 21, 2024
  9. Junio C HamanoFeb 22, 2024
  10. Jean-Noël AVILAFeb 22, 2024
  11. Michal SuchánekFeb 22, 2024
  12. Junio C HamanoFeb 22, 2024
  13. Patrick SteinhardtFeb 21, 2024
  14. Junio C HamanoFeb 21, 2024
  15. rebase: make warning less passive aggressiveHarmen Stoppels via GitGitGadget, Feb 21, 2024
  16. Patrick SteinhardtFeb 22, 2024
  17. Kristoffer HaugsbakkFeb 22, 2024
  18. Junio C HamanoFeb 22, 2024

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.