Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate unit names & fix external signer error #599

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luke-jr
Copy link
Member

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

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)

Copy link

@Jilasoon Jilasoon left a comment

Choose a reason for hiding this comment

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

.

@hebasto
Copy link
Member

hebasto commented Jun 1, 2022

Concept ACK.

@katesalazar
Copy link
Contributor

great idea

@DrahtBot
Copy link
Contributor

DrahtBot commented Jun 12, 2022

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.

Copy link
Member

@furszy furszy left a comment

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
Copy link
Member Author

luke-jr commented Sep 3, 2022

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

@hebasto
Copy link
Member

hebasto commented Feb 27, 2023

Concept ACK.

Concept ACK and initial code review ACK 5e23dab

@luke-jr

Mind rebasing this PR before soft translation string freeze?

//: 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
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
Copy link
Member

hebasto commented Apr 1, 2023

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
Copy link
Member Author

luke-jr commented Jun 29, 2023

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

@DrahtBot
Copy link
Contributor

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

@DrahtBot
Copy link
Contributor

DrahtBot commented Sep 9, 2024

⌛ 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
Copy link
Contributor

DrahtBot commented Dec 7, 2024

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

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