forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 714
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
[GUI] Translation cleanup #2491
Merged
random-zebra
merged 6 commits into
PIVX-Project:master
from
Fuzzbawls:2021_gui-translation-cleanup
Sep 6, 2021
Merged
[GUI] Translation cleanup #2491
random-zebra
merged 6 commits into
PIVX-Project:master
from
Fuzzbawls:2021_gui-translation-cleanup
Sep 6, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gordis890
reviewed
Aug 4, 2021
Gordis890
reviewed
Aug 4, 2021
Replace the string literal "PIVX Core" with the `PACKAGE_NAME` macro where appropriate and don't pass the macro to translation.
Many options are highly technical and refer internals, making it difficult to translate effectively. This can lead to translation errors that only add confusion, which is the opposite of what translation is intended to achieve. Further, these translations only ever worked for pivx-qt, as the console programs have no translation backend.
The previous commits result in ~190 strings being removed for translation, with most of these strings having never been shown to end users in the past.
the manpages for the master branch aren't typically updated, but the previous commit changed the format, so the manpage files in master should be updated to reflect that change.
Fuzzbawls
force-pushed
the
2021_gui-translation-cleanup
branch
from
August 11, 2021 11:09
e352172
to
d838f20
Compare
furszy
approved these changes
Aug 31, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK d838f20
random-zebra
approved these changes
Sep 6, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK d838f20. Merging.
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
Replace the string literal "PIVX Core" with the `PACKAGE_NAME` macro where appropriate and don't pass the macro to translation. Github-Pull: bitcoin#2491 Rebased-From: 03a002a
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
Github-Pull: bitcoin#2491 Rebased-From: 00dcec7
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
Many options are highly technical and refer internals, making it difficult to translate effectively. This can lead to translation errors that only add confusion, which is the opposite of what translation is intended to achieve. Further, these translations only ever worked for pivx-qt, as the console programs have no translation backend. Github-Pull: bitcoin#2491 Rebased-From: 8608d3a
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
The previous commits result in ~190 strings being removed for translation, with most of these strings having never been shown to end users in the past. Github-Pull: bitcoin#2491 Rebased-From: 7f655de
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
Github-Pull: bitcoin#2491 Rebased-From: d510ce0
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 17, 2021
the manpages for the master branch aren't typically updated, but the previous commit changed the format, so the manpage files in master should be updated to reflect that change. Github-Pull: bitcoin#2491 Rebased-From: d838f20
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
Replace the string literal "PIVX Core" with the `PACKAGE_NAME` macro where appropriate and don't pass the macro to translation. Github-Pull: bitcoin#2491 Rebased-From: 03a002a
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
Github-Pull: bitcoin#2491 Rebased-From: 00dcec7
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
Many options are highly technical and refer internals, making it difficult to translate effectively. This can lead to translation errors that only add confusion, which is the opposite of what translation is intended to achieve. Further, these translations only ever worked for pivx-qt, as the console programs have no translation backend. Github-Pull: bitcoin#2491 Rebased-From: 8608d3a
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
The previous commits result in ~190 strings being removed for translation, with most of these strings having never been shown to end users in the past. Github-Pull: bitcoin#2491 Rebased-From: 7f655de
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
Github-Pull: bitcoin#2491 Rebased-From: d510ce0
furszy
referenced
this pull request
in furszy/bitcoin-core
Sep 19, 2021
the manpages for the master branch aren't typically updated, but the previous commit changed the format, so the manpage files in master should be updated to reflect that change. Github-Pull: bitcoin#2491 Rebased-From: d838f20
Fuzzbawls
added a commit
that referenced
this pull request
Sep 21, 2021
2981a17 GUI: Remove unused, and invalid, cached QR pixmap pointer. (furszy) 798c3e9 GUI: addresses widget files overall code cleanup. (furszy) 51f6555 GUI: fix contacts list not being shown. (furszy) 5be181a [Consensus] Add checkpoints before v5.3.1 release Github-Pull: #2562 Rebased-From: e8fddd7 (random-zebra) 17fa0eb Masternode-sync: Only mark tier two messages sync requests as fulfilled if the messages are broadcast. e.g: do not mark them as fulfilled before fail for a timeout. (furszy) 2f98acf [BUG][GUI] Fix random double/triple transaction record issue (random-zebra) 754177e [BUG][TierTwo] Clear fulfilled requests when mnsync fails (random-zebra) 5a2e0d1 [Trivial] Update labelSubtitleAddress text in send widget ui Github-Pull: #2557 Rebased-From: efddb3b (random-zebra) 09b8ec0 [BUG] Spork signer doesn't persist new spork value to DB Github-Pull: #2553 Rebased-From: 5849e3e (random-zebra) 7f827e9 [Snap] Fix nightly build's genbuild.sh patch (Fuzzbawls) 24a1407 [Gitian] Ignore changes to relic_conf.h.in (Fuzzbawls) b400640 Update manpages to reflect newer template (Fuzzbawls) ecdbf86 [Docs] Reformat -help output for help2man (Fuzzbawls) 656be59 Run make translate to update source files (Fuzzbawls) cd8d0b5 Stop translating command line options (Fuzzbawls) 004efe9 Stop translating remaining usages of PACKAGE_NAME (Fuzzbawls) 67e7938 Unify product name to as few places as possible (Fuzzbawls) 4fe9030 [RPC][Doc] Fix RPC/cli example in setautocombinethreshold help (random-zebra) 5f9aac4 Refactor: remove duplicated coll. confirmation check in MNModel::data Github-Pull: #2530 Rebased-From: f0fd8ac (random-zebra) 2a947c0 build: Get rid of `CLIENT_DATE` (Wladimir J. van der Laan) 51fca36 [Qt] Debug window: remove "Build date". (furszy) d223d90 build: Remove src/obj directory from repository (Wladimir J. van der Laan) Pull request description: PRs List: * #2525. * #2530. * #2540. * #2491. * #2541. * #2546. * #2553. * #2557. * #2559. Open PRs that have to get merged to be added here: * * [x] #2560. * * [x] #2555. * * [x] #2551. * * [x] #2562. ACKs for top commit: random-zebra: ACK 2981a17 Fuzzbawls: ACK 2981a17 Tree-SHA512: 400c6cd5c05c99b79c67cb0158048315f33d18a49c9606ad668727b6534c84bbbc8617eb7759b9b6fb230f8fb8b94e74902d03e1579b23b3e84d063ec7a142fa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This stops the practice of repeatedly translating the string literal
PIVX Core
in multiple strings, which should never be localized as it is a proper product name.Also stops translating command line arguments as they were only ever translated for pivx-qt and not for the command line programs. Many of these arguments are highly technical in nature, and translating them has been problematic (with translation errors or literal translations that result in incorrect argument names) and leads to more confusion rather than less confusion.
Lastly, a quick formatting change to the
-help
output of binary programs is included to make the release-distributed manpages more compliant with the help2man expected formatting.Overall, this results in a reduction of strings to translate by ~190, which should assist in getting language translations to meet our minimum translation threshold for inclusion in releases.
Based on the following upstream commits/PRs: