refactor: Pick translated string after format
This passes the return value of _() directly to strprintf so the format string can be checked at compile time in a future commit.
This commit is contained in:
2 files changed
+8
-6
No files matched your search
@@ -13,7 +13,7 @@ import re
|
||||
import sys
|
||||
|
||||
FALSE_POSITIVES = [
|
||||
("src/clientversion.cpp", "strprintf(_(COPYRIGHT_HOLDERS).translated, COPYRIGHT_HOLDERS_SUBSTITUTION)"),
|
||||
("src/clientversion.cpp", "strprintf(_(COPYRIGHT_HOLDERS), COPYRIGHT_HOLDERS_SUBSTITUTION)"),
|
||||
("src/test/translation_tests.cpp", "strprintf(format, arg)"),
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user