Hi,
Op za 29 apr. 2023 13:10 schreef Bram Moolenaar <[email protected]>:
>
> Patch 9.0.1497
> Problem: The ruler percentage can't be localized.
> Solution: Use a string that can be translated. (Emir Sari, closes #12311)
>
Couldn't you use a bare
vim_snprintf(p, l, _("%d%%"), perc);
And specify %3d%% or %%%-3d in the format string?
Ah, I think not, because you need the space _before_ the %...
I did create #12140 to be able to specify the %$ format, but that doesn't
handle this, either.
Christ van Willegen
>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CA%2BOt1Ow_HTwQwOT%3DBeR79f0JDcW5A%3Dn-vii%2BcGVUQnaFk%3DJdsw%40mail.gmail.com.