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/