aboutsummaryrefslogtreecommitdiff
path: root/test/lint
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2019-06-27 15:07:17 -0400
committerfanquake <[email protected]>2019-09-24 07:53:28 +0800
commit9d389d09ed5db1a2dda00ba999b02d38186b6af4 (patch)
tree46db7e67782823fe1c1b2e8515eaf3a73899c3d8 /test/lint
parentscripted-diff: Avoid passing PACKAGE_NAME for translation (diff)
downloaddiscoin-9d389d09ed5db1a2dda00ba999b02d38186b6af4.tar.xz
discoin-9d389d09ed5db1a2dda00ba999b02d38186b6af4.zip
util: No translation of `Bitcoin Core` in the copyright
Github-Pull: #16291 Rebased-From: fa64b947bb3075ff8737656706b941af691908ab
Diffstat (limited to 'test/lint')
-rwxr-xr-xtest/lint/lint-format-strings.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py
index f5d4780b6..21246b687 100755
--- a/test/lint/lint-format-strings.py
+++ b/test/lint/lint-format-strings.py
@@ -16,8 +16,7 @@ FALSE_POSITIVES = [
("src/dbwrapper.cpp", "vsnprintf(p, limit - p, format, backup_ap)"),
("src/index/base.cpp", "FatalError(const char* fmt, const Args&... args)"),
("src/netbase.cpp", "LogConnectFailure(bool manual_connection, const char* fmt, const Args&... args)"),
- ("src/util/system.cpp", "strprintf(_(COPYRIGHT_HOLDERS), _(COPYRIGHT_HOLDERS_SUBSTITUTION))"),
- ("src/util/system.cpp", "strprintf(COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION)"),
+ ("src/util/system.cpp", "strprintf(_(COPYRIGHT_HOLDERS), COPYRIGHT_HOLDERS_SUBSTITUTION)"),
("src/wallet/wallet.h", "WalletLogPrintf(std::string fmt, Params... parameters)"),
("src/wallet/wallet.h", "LogPrintf((\"%s \" + fmt).c_str(), GetDisplayName(), parameters...)"),
("src/logging.h", "LogPrintf(const char* fmt, const Args&... args)"),