-
Notifications
You must be signed in to change notification settings - Fork 38.7k
gui: Do not translate InitWarning messages in debug.log #18922
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
Conversation
maflcko
left a comment
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.
Didn't know that auto return type is possible in C++11, but it seems to compile so why not 🤷♂️
|
Updated 4e789b9 -> 6249e64 (pr18922.01 -> pr18922.02, diff):
|
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, 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. |
|
Updated 6249e64 -> 3ddfa41 (pr18922.02 -> pr18922.03, diff):
|
That's interesting, I thought so too. |
|
Updated 3ddfa41 -> 4871074 (pr18922.03 -> pr18922.04, diff):
|
|
Updated 4871074 -> da16f95 (pr18922.04 -> pr18922.05, diff):
The current implementation of the |
Up to you. I am happy to review either approach, as long as this is done in a new commit. |
The current implementation of the Join() allows do not use OpOriginal() and OpTranslated() unary operators at all.
|
Added commit which removes |
promag
left a comment
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.
Concept ACK, code looks fine.
|
vladiation lol 😂 Looks good to me. Nice cleanup with the ACK 78be8d9 To have an idea of progress, I would like to know whether an end to this in in sight. Is |
|
Have vladidated the code. utACK 78be8d9 |
|
I think the last ones are AbortNode and the gui/rpc warnings #16218 (comment) |
|
ACK 78be8d9 📢 Show signature and timestampSignature: Timestamp of file with hash |
|
@jonasschnelli Ready for merge?! |
…bug.log 78be8d9 util: Drop OpOriginal() and OpTranslated() (Hennadii Stepanov) da16f95 gui: Do not translate InitWarning messages in debug.log (Hennadii Stepanov) 4c9b9a4 util: Enhance Join() (Hennadii Stepanov) fe05dd0 util: Enhance bilingual_str (Hennadii Stepanov) Pull request description: This PR forces the `bitcoin-qt` to write `InitWarning()` messages to the `debug.log` file in untranslated form, i.e., in English. On master (376294c): ``` $ ./src/qt/bitcoin-qt -lang=nl -debug=vladidation -printtoconsole | grep 'vladi' Warning: Niet-ondersteunde logcategorie -debug=vladidation. 2020-05-09T12:39:59Z Warning: Niet-ondersteunde logcategorie -debug=vladidation. 2020-05-09T12:40:02Z Command-line arg: debug="vladidation" ``` With this PR: ``` $ ./src/qt/bitcoin-qt -lang=nl -debug=vladidation -printtoconsole | grep 'vladi' Warning: Unsupported logging category -debug=vladidation. 2020-05-09T12:42:04Z Warning: Unsupported logging category -debug=vladidation. 2020-05-09T12:42:35Z Command-line arg: debug="vladidation" ```  Related to bitcoin#16218. ACKs for top commit: laanwj: ACK 78be8d9 jonasschnelli: utACK 78be8d9 MarcoFalke: ACK 78be8d9 📢 Tree-SHA512: 48e9ecd23c4dd8ec262e3eb94f8e30944bcc9c6c163245fb837b2e0c484d4d0b4f47f7abc638c14edc27d635d340ba3ee4ba4506b062399e9cf59a1564c98755
Summary: ``` This PR forces the bitcoin-qt to write InitWarning() messages to the debug.log file in untranslated form, i.e., in English. ``` Backport of core [[bitcoin/bitcoin#18922 | PR18922]]. Test Plan: ninja all check-all Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Differential Revision: https://reviews.bitcoinabc.org/D8647
This PR forces the
bitcoin-qtto writeInitWarning()messages to thedebug.logfile in untranslated form, i.e., in English.On master (376294c):
With this PR:
Related to #16218.