|
|
@ -801,11 +801,10 @@ int GetNumCores() |
|
|
|
|
|
|
|
|
|
|
|
std::string CopyrightHolders(const std::string& strPrefix) |
|
|
|
std::string CopyrightHolders(const std::string& strPrefix) |
|
|
|
{ |
|
|
|
{ |
|
|
|
std::string strCopyrightHolders = strPrefix + _(COPYRIGHT_HOLDERS); |
|
|
|
std::string strCopyrightHolders = strPrefix + strprintf(_(COPYRIGHT_HOLDERS), _(COPYRIGHT_HOLDERS_SUBSTITUTION)); |
|
|
|
if (strCopyrightHolders.find("%s") != strCopyrightHolders.npos) { |
|
|
|
|
|
|
|
strCopyrightHolders = strprintf(strCopyrightHolders, _(COPYRIGHT_HOLDERS_SUBSTITUTION)); |
|
|
|
// Check for untranslated substitution to make sure Bitcoin Core copyright is not removed by accident
|
|
|
|
} |
|
|
|
if (strprintf(COPYRIGHT_HOLDERS, COPYRIGHT_HOLDERS_SUBSTITUTION).find("Bitcoin Core") == std::string::npos) { |
|
|
|
if (strCopyrightHolders.find("Bitcoin Core developers") == strCopyrightHolders.npos) { |
|
|
|
|
|
|
|
strCopyrightHolders += "\n" + strPrefix + "The Bitcoin Core developers"; |
|
|
|
strCopyrightHolders += "\n" + strPrefix + "The Bitcoin Core developers"; |
|
|
|
} |
|
|
|
} |
|
|
|
return strCopyrightHolders; |
|
|
|
return strCopyrightHolders; |
|
|
|