Issue Details
- Number
- 31890
- Title
- Avoid plural forms in non-GUI translatable strings (lacks `%n` support)
- Description
- In non-GUI code, translatable strings with format specifiers rely on the `tinyformat::format` implementation, which does not support the `%n` specifier that is [crucial](https://doc.qt.io/qt-6/i18n-plural-rules.html) for pluralising with Qt translation tools.
Therefore, it may be worth considering rephrasing translatable strings to avoid potential plural forms.
This issue was initially reported on Transifex: https://app.transifex.com/bitcoin/bitcoin/translate/#fr/qt-translation-029x/570550303/.
Here is an example of such a string: https://github.com/bitcoin/bitcoin/blob/db36a92c02b83f2e6477a5a55fc061319f7cc6a3/src/init.cpp#L991
- URL
-
https://github.com/bitcoin/bitcoin/issue/31890
- Closed by
-
Back to List