Consider factoring out “bitcoins” string in AskPassphraseDialog #380

issue JeremyRand openend this issue on July 9, 2021
  1. JeremyRand commented at 2:53 am on July 9, 2021: contributor
    The Bitcoin-Qt GUI contains the word “bitcoins” in two strings in AskPassphraseDialog. In the same spirit as https://github.com/bitcoin/bitcoin/pull/7192 , it would be nice to factor that out into a single constant string, so that translations are more consistent, and forks that call their coins something other than “bitcoins” can decrease their diff size relative to upstream. Seems like maybe the BitcoinUnits class could be used for this, since it already defines the string “Bitcoins”.
  2. fanquake commented at 3:22 am on July 9, 2021: member

    If you want to make changes that improve the code here, that’s fine, but

    and forks that call their coins something other than “bitcoins” can decrease their diff size relative to upstream.

    that alone is not going to be a reason for us to make changes in our codebase.

  3. JeremyRand commented at 3:27 am on July 9, 2021: contributor

    If you want to make changes that improve the code here, that’s fine, but

    and forks that call their coins something other than “bitcoins” can decrease their diff size relative to upstream.

    that alone is not going to be a reason for us to make changes in our codebase.

    Yes, I know. The primary reason I’d hope for this change to be made is just that it makes the code cleaner, as with the merged PR that I linked.

  4. hebasto added the label Refactoring on Jul 11, 2021

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-12-22 03:20 UTC

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