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

Re: Is there any interest in localizing term delimiters in git messages?

From
Peter Krefting <peter@softwolves.pp.se>
Date
Oct 21, 2023, 09:30 UTC
Message-ID
<f6d7e29c-3532-428b-2c1-371eedaa5492@softwolves.pp.se>
In-Reply-To
<CAP6f5Mmi=f4DPcFwfvEiJMdKMa0BUyZ019mc8uFXyOufgD4NjA@mail.gmail.com>
Alexander Shopov:
Show 8 quoted lines
> Hello all,
>
> Is there any interest in being able to change the delimiters of the
> changeable terms in git messages?
>
> Typical example:
> ORIGINAL
> msgid "  (use \"git rm --cached <file>...\" to unstage)"

I think there should be something indicating the variables, and with Unicode there are better choices than the ASCII less-than-greater-than, for instance U+2039/U+203A. In the same way, we could also fix the quotation marks:

   "  (use “git rm --cached ‹file›...” to unstage)"

The source should perhaps still be ASCII-only to be compatible with older systems, but we could create a en_US.UTF-8 localization file that does the above, and apply similar changes to other localizations (I have been thinking about doing it to the Swedish translation for a while, but so far have not come around to; of course quoting differs from language to language, with different styles for ‘English’, “American”, „German”, ”Swedish” and «Norwegian», for instance; it is all very confusing and difficult to get right).

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Junio C Hamano
Message 12 of 12 in “Is there any interest in localizing term delimiters in git messages?”
  1. Alexander ShopovOct 17, 2023
  2. Junio C HamanoOct 17, 2023
  3. Jiang XinOct 18, 2023
  4. Junio C HamanoOct 18, 2023
  5. commit: do not use cryptic "new_index" in end-user facing messagesJunio C Hamano, Oct 18, 2023
  6. Jiang XinOct 19, 2023
  7. Junio C HamanoOct 19, 2023
  8. Jeff HostetlerOct 19, 2023
  9. Junio C HamanoOct 19, 2023
  10. Torsten BögershausenOct 19, 2023
  11. Junio C HamanoOct 19, 2023
  12. Peter KreftingOct 21, 2023

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.