qt: Avoid ambiguous interpreting of placeholders #355

pull hebasto wants to merge 1 commits into bitcoin-core:master from hebasto:210603-placeholder changing 2 files +2 −2
  1. hebasto commented at 8:55 pm on June 3, 2021: member

    Transifex.com has special meaning for %1%, %2% etc substrings, so it could confuse translators.

    For example, it renders the source “Unknown. Syncing Headers (%1, %2%)…” as the following:

    Screenshot from 2021-06-03 23-44-49

    This PR prevents such unintentional behavior.

  2. qt: Avoid ambiguous interpreting of placeholders
    Transifex.com has special meaning for `%1%`, `%2%` etc substrings, so it
    could confuse translators.
    This changes prevents such unintentional behavior.
    d98dda5f97
  3. hebasto added the label Translations on Jun 3, 2021
  4. hebasto added this to the milestone 22.0 on Jun 3, 2021
  5. luke-jr commented at 9:02 pm on June 3, 2021: member

    Is that some kind of error indication?

    What if you make it %2%%?

  6. hebasto commented at 9:47 pm on June 3, 2021: member

    @luke-jr

    Is that some kind of error indication?

    It looks like Transifex considers %...% as a kind of a placeholder, but our custom placeholder list is empty.

    What if you make it %2%%?

    I don’t know for sure, but it leaves the %2% substring untouched.

  7. luke-jr commented at 10:47 pm on June 3, 2021: member
    Populating custom placeholders seems to have fixed Transifex’s behaviour in this regard.
  8. hebasto commented at 10:57 pm on June 3, 2021: member

    Populating custom placeholders seems to have fixed Transifex’s behaviour in this regard.

    Right. Closing.

  9. hebasto closed this on Jun 3, 2021

  10. hebasto deleted the branch on Jun 3, 2021
  11. bitcoin-core locked this on Aug 16, 2022


hebasto luke-jr

Labels
Translations

Milestone
22.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-23 07:20 UTC

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