mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
refactor: Delay translation of _() literals
This is required for a future commit that requires _() to be consteval for format literals. Co-Authored-By: Ryan Ofsky <ryan@ofsky.org>
This commit is contained in:
parent
35bf426e02
commit
eeee6cf2ff
8 changed files with 43 additions and 34 deletions
|
|
@ -534,7 +534,7 @@ RPCHelpMan importwallet()
|
|||
|
||||
// Use uiInterface.ShowProgress instead of pwallet.ShowProgress because pwallet.ShowProgress has a cancel button tied to AbortRescan which
|
||||
// we don't want for this progress bar showing the import progress. uiInterface.ShowProgress does not have a cancel button.
|
||||
pwallet->chain().showProgress(strprintf("%s %s", pwallet->GetDisplayName(), _("Importing…").translated), 0, false); // show progress dialog in GUI
|
||||
pwallet->chain().showProgress(strprintf("%s %s", pwallet->GetDisplayName(), _("Importing…")), 0, false); // show progress dialog in GUI
|
||||
std::vector<std::tuple<CKey, int64_t, bool, std::string>> keys;
|
||||
std::vector<std::pair<CScript, int64_t>> scripts;
|
||||
while (file.good()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue