Avoid plural forms in non-GUI translatable strings (lacks %n support) #31890

issue hebasto openend this issue on February 17, 2025
  1. hebasto commented at 2:50 pm on February 17, 2025: member

    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 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

  2. maflcko added the label Brainstorming on Feb 17, 2025
  3. maflcko added the label GUI on Feb 17, 2025
  4. maflcko added the label Utils/log/libs on Feb 17, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-02-22 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me