diff options
| author | MarcoFalke <[email protected]> | 2019-06-26 10:28:13 -0400 |
|---|---|---|
| committer | fanquake <[email protected]> | 2019-09-24 07:53:28 +0800 |
| commit | 87908e9c98f2bc6975d70d8f427a9be965effc3b (patch) | |
| tree | 754a3d528171431446d26202252dc2387fccd934 /src/wallet | |
| parent | build: Stop translating PACKAGE_NAME (diff) | |
| download | discoin-87908e9c98f2bc6975d70d8f427a9be965effc3b.tar.xz discoin-87908e9c98f2bc6975d70d8f427a9be965effc3b.zip | |
scripted-diff: Avoid passing PACKAGE_NAME for translation
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/\<\w+(::\w+)?\(PACKAGE_NAME\)/PACKAGE_NAME/g' $(git grep -l --extended-regexp '\<\w+(::\w+)?\(PACKAGE_NAME\)' src)
-END VERIFY SCRIPT-
Github-Pull: #16291
Rebased-From: fabe87d2c923ab3a70b8cde2666a4d1cda8b22fb
Diffstat (limited to 'src/wallet')
| -rw-r--r-- | src/wallet/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 1c387594a..2ece9c084 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4137,12 +4137,12 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain, walletFile)); } else if (nLoadWalletRet == DBErrors::TOO_NEW) { - InitError(strprintf(_("Error loading %s: Wallet requires newer version of %s"), walletFile, _(PACKAGE_NAME))); + InitError(strprintf(_("Error loading %s: Wallet requires newer version of %s"), walletFile, PACKAGE_NAME)); return nullptr; } else if (nLoadWalletRet == DBErrors::NEED_REWRITE) { - InitError(strprintf(_("Wallet needed to be rewritten: restart %s to complete"), _(PACKAGE_NAME))); + InitError(strprintf(_("Wallet needed to be rewritten: restart %s to complete"), PACKAGE_NAME)); return nullptr; } else { |