Skip to content

Commit 6d1d33d

Browse files
committed
Merge bitcoin-core#323: English translations update
c34a49f qt: English translations update (W. J. van der Laan) 55c012d qt: Extract translations correctly from UTF-8 formatted source (Hennadii Stepanov) Pull request description: Update for Transifex. Needed after bitcoin/bitcoin#21836. ACKs for top commit: hebasto: ACK c34a49f, verified that `make -C src translate` returns zero updated strings (as all of them are updated in the top commit): Tree-SHA512: 01170b4ef82dc01104e21ec9fe1115c3defb50ffd697bb59864ca4bb132765b6211d048b009d8d3dab4606e023ba33ba7c6c8c2dd086941046782b5009a83bb0
2 parents 7b87fca + c34a49f commit 6d1d33d

File tree

4 files changed

+2235
-2231
lines changed

4 files changed

+2235
-2231
lines changed

share/qt/extract_strings_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def parse_po(text):
5858
print('Cannot extract strings: xgettext utility is not installed or not configured.',file=sys.stderr)
5959
print('Please install package "gettext" and re-run \'./configure\'.',file=sys.stderr)
6060
sys.exit(1)
61-
child = Popen([XGETTEXT,'--output=-','-n','--keyword=_'] + files, stdout=PIPE)
61+
child = Popen([XGETTEXT,'--output=-','--from-code=utf-8','-n','--keyword=_'] + files, stdout=PIPE)
6262
(out, err) = child.communicate()
6363

6464
messages = parse_po(out.decode('utf-8'))

src/qt/bitcoinstrings.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
115115
"Unable to replay blocks. You will need to rebuild the database using -"
116116
"reindex-chainstate."),
117117
QT_TRANSLATE_NOOP("bitcoin-core", ""
118-
"Unable to rewind the database to a pre-fork state. You will need to "
119-
"redownload the blockchain"),
120-
QT_TRANSLATE_NOOP("bitcoin-core", ""
121118
"Unknown wallet file format \"%s\" provided. Please provide one of \"bdb\" or "
122119
"\"sqlite\"."),
123120
QT_TRANSLATE_NOOP("bitcoin-core", ""
@@ -129,6 +126,9 @@ QT_TRANSLATE_NOOP("bitcoin-core", ""
129126
"Warning: We do not appear to fully agree with our peers! You may need to "
130127
"upgrade, or other nodes may need to upgrade."),
131128
QT_TRANSLATE_NOOP("bitcoin-core", ""
129+
"Witness data for blocks after height %d requires validation. Please restart "
130+
"with -reindex."),
131+
QT_TRANSLATE_NOOP("bitcoin-core", ""
132132
"You need to rebuild the database using -reindex to go back to unpruned "
133133
"mode. This will redownload the entire blockchain"),
134134
QT_TRANSLATE_NOOP("bitcoin-core", "%s is set very high!"),
@@ -173,7 +173,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Failed to rescan the wallet during initializa
173173
QT_TRANSLATE_NOOP("bitcoin-core", "Failed to verify database"),
174174
QT_TRANSLATE_NOOP("bitcoin-core", "Fee rate (%s) is lower than the minimum fee rate setting (%s)"),
175175
QT_TRANSLATE_NOOP("bitcoin-core", "Ignoring duplicate -wallet %s."),
176-
QT_TRANSLATE_NOOP("bitcoin-core", "Importing..."),
176+
QT_TRANSLATE_NOOP("bitcoin-core", "Importing"),
177177
QT_TRANSLATE_NOOP("bitcoin-core", "Incorrect or no genesis block found. Wrong datadir for network?"),
178178
QT_TRANSLATE_NOOP("bitcoin-core", "Initialization sanity check failed. %s is shutting down."),
179179
QT_TRANSLATE_NOOP("bitcoin-core", "Insufficient funds"),
@@ -186,20 +186,20 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -discardfee=<amount>: '%s'
186186
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -fallbackfee=<amount>: '%s'"),
187187
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid amount for -paytxfee=<amount>: '%s' (must be at least %s)"),
188188
QT_TRANSLATE_NOOP("bitcoin-core", "Invalid netmask specified in -whitelist: '%s'"),
189-
QT_TRANSLATE_NOOP("bitcoin-core", "Loading P2P addresses..."),
190-
QT_TRANSLATE_NOOP("bitcoin-core", "Loading banlist..."),
191-
QT_TRANSLATE_NOOP("bitcoin-core", "Loading block index..."),
192-
QT_TRANSLATE_NOOP("bitcoin-core", "Loading wallet..."),
189+
QT_TRANSLATE_NOOP("bitcoin-core", "Loading P2P addresses"),
190+
QT_TRANSLATE_NOOP("bitcoin-core", "Loading banlist"),
191+
QT_TRANSLATE_NOOP("bitcoin-core", "Loading block index"),
192+
QT_TRANSLATE_NOOP("bitcoin-core", "Loading wallet"),
193193
QT_TRANSLATE_NOOP("bitcoin-core", "Need to specify a port with -whitebind: '%s'"),
194194
QT_TRANSLATE_NOOP("bitcoin-core", "No proxy server specified. Use -proxy=<ip> or -proxy=<ip:port>."),
195195
QT_TRANSLATE_NOOP("bitcoin-core", "Not enough file descriptors available."),
196196
QT_TRANSLATE_NOOP("bitcoin-core", "Prune cannot be configured with a negative value."),
197+
QT_TRANSLATE_NOOP("bitcoin-core", "Prune mode is incompatible with -coinstatsindex."),
197198
QT_TRANSLATE_NOOP("bitcoin-core", "Prune mode is incompatible with -txindex."),
198-
QT_TRANSLATE_NOOP("bitcoin-core", "Pruning blockstore..."),
199+
QT_TRANSLATE_NOOP("bitcoin-core", "Pruning blockstore"),
199200
QT_TRANSLATE_NOOP("bitcoin-core", "Reducing -maxconnections from %d to %d, because of system limitations."),
200-
QT_TRANSLATE_NOOP("bitcoin-core", "Replaying blocks..."),
201-
QT_TRANSLATE_NOOP("bitcoin-core", "Rescanning..."),
202-
QT_TRANSLATE_NOOP("bitcoin-core", "Rewinding blocks..."),
201+
QT_TRANSLATE_NOOP("bitcoin-core", "Replaying blocks…"),
202+
QT_TRANSLATE_NOOP("bitcoin-core", "Rescanning…"),
203203
QT_TRANSLATE_NOOP("bitcoin-core", "SQLiteDatabase: Failed to execute statement to verify database: %s"),
204204
QT_TRANSLATE_NOOP("bitcoin-core", "SQLiteDatabase: Failed to fetch sqlite wallet schema version: %s"),
205205
QT_TRANSLATE_NOOP("bitcoin-core", "SQLiteDatabase: Failed to fetch the application id: %s"),
@@ -212,7 +212,7 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Specified -walletdir \"%s\" does not exist"),
212212
QT_TRANSLATE_NOOP("bitcoin-core", "Specified -walletdir \"%s\" is a relative path"),
213213
QT_TRANSLATE_NOOP("bitcoin-core", "Specified -walletdir \"%s\" is not a directory"),
214214
QT_TRANSLATE_NOOP("bitcoin-core", "Specified blocks directory \"%s\" does not exist."),
215-
QT_TRANSLATE_NOOP("bitcoin-core", "Starting network threads..."),
215+
QT_TRANSLATE_NOOP("bitcoin-core", "Starting network threads"),
216216
QT_TRANSLATE_NOOP("bitcoin-core", "The source code is available from %s."),
217217
QT_TRANSLATE_NOOP("bitcoin-core", "The specified config file %s does not exist"),
218218
QT_TRANSLATE_NOOP("bitcoin-core", "The transaction amount is too small to pay the fee"),
@@ -241,8 +241,8 @@ QT_TRANSLATE_NOOP("bitcoin-core", "Unsupported logging category %s=%s."),
241241
QT_TRANSLATE_NOOP("bitcoin-core", "Upgrading UTXO database"),
242242
QT_TRANSLATE_NOOP("bitcoin-core", "Upgrading txindex database"),
243243
QT_TRANSLATE_NOOP("bitcoin-core", "User Agent comment (%s) contains unsafe characters."),
244-
QT_TRANSLATE_NOOP("bitcoin-core", "Verifying blocks..."),
245-
QT_TRANSLATE_NOOP("bitcoin-core", "Verifying wallet(s)..."),
244+
QT_TRANSLATE_NOOP("bitcoin-core", "Verifying blocks"),
245+
QT_TRANSLATE_NOOP("bitcoin-core", "Verifying wallet(s)"),
246246
QT_TRANSLATE_NOOP("bitcoin-core", "Wallet needed to be rewritten: restart %s to complete"),
247247
QT_TRANSLATE_NOOP("bitcoin-core", "Warning: unknown new rules activated (versionbit %i)"),
248248
};

0 commit comments

Comments
 (0)