[PATCH v2] i18n: Apply i18n for percentages

Kevin J. McCarthy kevin at 8t8.us
Fri May 12 21:08:13 UTC 2023


On Thu, May 11, 2023 at 10:18:48PM +0300, Emir SARI via Mutt-po wrote:
>Some languages, including Turkish, French etc. use a different
>percentage display format like %100, 100 % respectively. Allowing
>percentage i18n makes it more coherent with the system locale settings.

Thanks Emir.  The second call to mutt_message() will overwrite the first 
one, so the format string needs to be concatenated dynamically.

Also, as Vincent mentioned, I think it would be nice to have just one 
translation string.

I'm attaching a possible wip patch to do that, but need to think about 
it a bit more.  I'm actually moving to another country right now, so my 
time is quite limited, but will try to get back to this as soon as I 
can.

Thank you,

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wip-l10n-percentages-based-on-Emir-SARI-s-patch.patch
Type: text/x-patch
Size: 4314 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-po/attachments/20230512/a2de9bc2/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-po/attachments/20230512/a2de9bc2/attachment-0001.asc>


More information about the Mutt-po mailing list