Skip to content

Translate unit names & fix external signer error - #599

Closed
luke-jr wants to merge 2 commits into
bitcoin-core:masterfrom
luke-jr:ts_20220515
Closed

luke-jr wants to merge 2 commits into
bitcoin-core:masterfrom
luke-jr:ts_20220515

Conversation

@luke-jr

@luke-jr luke-jr commented May 15, 2022 •

Copy link
Copy Markdown
Contributor

I think I got everything under src/qt missing translatability.

Exceptions:

  • Punctuation-only (this is a can of worms)
  • Date/time (long-standing ignoring of locale, not sure anyone minds)
  • Obscure errors
  • Technical terms in transactiondesc

Notably, I did include units. Not only for the benefit of non-Latin languages, but also we have "bits" and "sats" nowadays that likely make sense to translate even in Latin-based languages.

(Much of this was merged in #724 already)

@Jilasoon Jilasoon left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@hebasto

hebasto commented Jun 1, 2022

Copy link
Copy Markdown
Member

Concept ACK.

@katesalazar

This comment was marked as off-topic.

@DrahtBot

DrahtBot commented Jun 12, 2022 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK hebasto, furszy

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

Conflicts

Reviewers, this pull request conflicts with the following ones:

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@furszy furszy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK and initial code review ACK 5e23dab

As it has a good number of changes, will give it another look in the coming days.

@luke-jr

luke-jr commented Sep 3, 2022

Copy link
Copy Markdown
Contributor Author

Rebased (no changes, just had to re-generate the make translate outputs)

@hebasto

hebasto commented Feb 27, 2023

Copy link
Copy Markdown
Member

Concept ACK.

Concept ACK and initial code review ACK 5e23dab

@luke-jr

Mind rebasing this PR before soft translation string freeze?

Comment thread src/qt/bitcoinunits.cpp
//: Tooltip description of "BTC" unit in dropbox selector
case Unit::BTC: return tr("Bitcoins", "unit description");
//: Tooltip description of "mBTC" unit in dropbox selector
case Unit::mBTC: return tr("Milli-Bitcoins (1 / 1" THIN_SP_UTF8 "000)", "unit description");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2e55d10

It seems not passing to the translation file properly.

hebasto added a commit that referenced this pull request Apr 1, 2023
e414edd qt: Update translation source file (Hennadii Stepanov)
b780095 qt: Adjust plural forms for translations (Hennadii Stepanov)
6ae8a24 GUI: Send: Make feerates translatable (Luke Dashjr)
bd42f5e Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable (Luke Dashjr)
1b0407f Bugfix: GUI: transactiondesc: Translate outlier "own address" and "watch-only" (Luke Dashjr)
170f312 GUI: Use translated external signer errors for messagebox text (Luke Dashjr)
9698959 GUI: Make messages for copying unsigned PSBTs translatable (Luke Dashjr)
08b8b28 Bugfix: GUI: Debug info: Use correct "kB" case for small mempool sizes, and make translation-friendly (Luke Dashjr)
dacc322 GUI: PSBTOperationsDialog: Support translating window title (Luke Dashjr)
5a4fe55 GUI: Intro: Support translating caption of data directory chooser (Luke Dashjr)
3868ba3 GUI: Support translating peer network names (Luke Dashjr)
f1f9811 GUI: Support translating address type dropdown entries (Luke Dashjr)

Pull request description:

  This PR updates the `src/qt/locale/bitcoin_en.xlf` translation source file according to [Release schedule for 25.0](bitcoin/bitcoin#26549).

  Some translation-related fixes have been picked from #599 and #716.

  Note for reviewers: it is expected to get a zero diff after running `make -C src translate` locally.

ACKs for top commit:
  jarolrod:
    ACK e414edd

Tree-SHA512: 5b0c70db1e2f5871067e84f43ebea4ee4f0027fc5f2be49bbcb1d04e162ae76607b2b038e9d0622bcb5b3658d0ede8c10c4421ddaa3343f0e0be54315ca7a4f5
@hebasto

hebasto commented Apr 1, 2023

Copy link
Copy Markdown
Member

Most of commits from this PR were merged as a part of #724.

@luke-jr luke-jr changed the title Translatability fixups Translate unit names & fix external signer error Jun 29, 2023
@luke-jr

luke-jr commented Jun 29, 2023

Copy link
Copy Markdown
Contributor Author

Rebased. Only units and the external signer bugfix remain. I didn't regenerate translations this time.

@DrahtBot

Copy link
Copy Markdown
Contributor

🐙 This pull request conflicts with the target branch and needs rebase.

@DrahtBot

DrahtBot commented Sep 9, 2024

Copy link
Copy Markdown
Contributor

⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?

  • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
  • Is it no longer relevant? ➡️ Please close.
  • Did the author lose interest or time to work on this? ➡️ Please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future.

1 similar comment
@DrahtBot

DrahtBot commented Dec 7, 2024

Copy link
Copy Markdown
Contributor

⌛ There hasn't been much activity lately and the patch still needs rebase. What is the status here?

  • Is it still relevant? ➡️ Please solve the conflicts to make it ready for review and to ensure the CI passes.
  • Is it no longer relevant? ➡️ Please close.
  • Did the author lose interest or time to work on this? ➡️ Please close it and mark it 'Up for grabs' with the label, so that it can be picked up in the future.

@luke-jr luke-jr closed this Feb 8, 2025
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Jun 28, 2026
…string freeze

4a5155e qt: Update translation source file (Hennadii Stepanov)
a917c4b qt: Adjust plural forms for translations (Hennadii Stepanov)
9cb6f85 GUI: Send: Make feerates translatable (Luke Dashjr)
e3fa012 Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable (Luke Dashjr)
83470ab Bugfix: GUI: transactiondesc: Translate outlier "own address" and "watch-only" (Luke Dashjr)
2c0ba6b GUI: Use translated external signer errors for messagebox text (Luke Dashjr)
ff1311a GUI: Make messages for copying unsigned PSBTs translatable (Luke Dashjr)
209b650 Bugfix: GUI: Debug info: Use correct "kB" case for small mempool sizes, and make translation-friendly (Luke Dashjr)
5a32944 GUI: PSBTOperationsDialog: Support translating window title (Luke Dashjr)
83f11b1 GUI: Intro: Support translating caption of data directory chooser (Luke Dashjr)
74d16c9 GUI: Support translating peer network names (Luke Dashjr)
0254ee5 GUI: Support translating address type dropdown entries (Luke Dashjr)

Pull request description:

  This PR updates the `src/qt/locale/bitcoin_en.xlf` translation source file according to [Release schedule for 25.0](bitcoin/bitcoin#26549).

  Some translation-related fixes have been picked from bitcoin-core/gui#599 and bitcoin-core/gui#716.

  Note for reviewers: it is expected to get a zero diff after running `make -C src translate` locally.

ACKs for top commit:
  jarolrod:
    ACK 4a5155e

Tree-SHA512: 5b0c70db1e2f5871067e84f43ebea4ee4f0027fc5f2be49bbcb1d04e162ae76607b2b038e9d0622bcb5b3658d0ede8c10c4421ddaa3343f0e0be54315ca7a4f5
BigcoinBGC pushed a commit to BigcoinBGC/bigcoin that referenced this pull request Jun 30, 2026
…string freeze

7ec6853 qt: Update translation source file (Hennadii Stepanov)
24d456b qt: Adjust plural forms for translations (Hennadii Stepanov)
e525396 GUI: Send: Make feerates translatable (Luke Dashjr)
e440c77 Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable (Luke Dashjr)
c9b5581 Bugfix: GUI: transactiondesc: Translate outlier "own address" and "watch-only" (Luke Dashjr)
385db7f GUI: Use translated external signer errors for messagebox text (Luke Dashjr)
7ece091 GUI: Make messages for copying unsigned PSBTs translatable (Luke Dashjr)
94e020d Bugfix: GUI: Debug info: Use correct "kB" case for small mempool sizes, and make translation-friendly (Luke Dashjr)
6f5ec50 GUI: PSBTOperationsDialog: Support translating window title (Luke Dashjr)
109364d GUI: Intro: Support translating caption of data directory chooser (Luke Dashjr)
572bc1c GUI: Support translating peer network names (Luke Dashjr)
474daec GUI: Support translating address type dropdown entries (Luke Dashjr)

Pull request description:

  This PR updates the `src/qt/locale/bitcoin_en.xlf` translation source file according to [Release schedule for 25.0](bitcoin/bitcoin#26549).

  Some translation-related fixes have been picked from bitcoin-core/gui#599 and bitcoin-core/gui#716.

  Note for reviewers: it is expected to get a zero diff after running `make -C src translate` locally.

ACKs for top commit:
  jarolrod:
    ACK 7ec6853

Tree-SHA512: 5b0c70db1e2f5871067e84f43ebea4ee4f0027fc5f2be49bbcb1d04e162ae76607b2b038e9d0622bcb5b3658d0ede8c10c4421ddaa3343f0e0be54315ca7a4f5
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 19, 2026
…string freeze

e414edd8fc88b55a91f446dcc4d55cc4cd6d32e7 qt: Update translation source file (Hennadii Stepanov)
b7800950913c47bc1a939bd7f99c6b0629aea530 qt: Adjust plural forms for translations (Hennadii Stepanov)
6ae8a24009cb006476b3be612a34e4deda30433a GUI: Send: Make feerates translatable (Luke Dashjr)
bd42f5e1cdb0cbd829c8fe1700d036b681f3930d Bugfix: GUI: Send/PSBT: Correct virtual size unit and make translatable (Luke Dashjr)
1b0407f5f1f5902f67b58c7ada9c4b0c45457244 Bugfix: GUI: transactiondesc: Translate outlier "own address" and "watch-only" (Luke Dashjr)
170f3126f220f9ffe3db471e0024a23dede3f90b GUI: Use translated external signer errors for messagebox text (Luke Dashjr)
96989599d6c7264022c188babdcd9cacac9ab69f GUI: Make messages for copying unsigned PSBTs translatable (Luke Dashjr)
08b8b287d3762dd6d4be09fad0b71c4cacfe6658 Bugfix: GUI: Debug info: Use correct "kB" case for small mempool sizes, and make translation-friendly (Luke Dashjr)
dacc322be10c6709338d2f0d7f5c4366609ad1a0 GUI: PSBTOperationsDialog: Support translating window title (Luke Dashjr)
5a4fe5527045ad3d7f1c834c3c6ea1d531c87879 GUI: Intro: Support translating caption of data directory chooser (Luke Dashjr)
3868ba3a27d594dd2968548fff3db457cbeb0080 GUI: Support translating peer network names (Luke Dashjr)
f1f981119884389f1f355bc11847a73812a2836e GUI: Support translating address type dropdown entries (Luke Dashjr)

Pull request description:

  This PR updates the `src/qt/locale/bitcoin_en.xlf` translation source file according to [Release schedule for 25.0](bitcoin/bitcoin#26549).

  Some translation-related fixes have been picked from bitcoin-core/gui#599 and bitcoin-core/gui#716.

  Note for reviewers: it is expected to get a zero diff after running `make -C src translate` locally.

ACKs for top commit:
  jarolrod:
    ACK e414edd8fc88b55a91f446dcc4d55cc4cd6d32e7

Tree-SHA512: 5b0c70db1e2f5871067e84f43ebea4ee4f0027fc5f2be49bbcb1d04e162ae76607b2b038e9d0622bcb5b3658d0ede8c10c4421ddaa3343f0e0be54315ca7a4f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants