mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Set copyright holders displayed in notices separately from the package name
This helps avoid accidental removal of upstream copyright names
This commit is contained in:
parent
c39a6fffd7
commit
917b1d03cf
9 changed files with 22 additions and 5 deletions
|
|
@ -834,3 +834,10 @@ int GetNumCores()
|
|||
#endif
|
||||
}
|
||||
|
||||
std::string CopyrightHolders()
|
||||
{
|
||||
std::string strCopyrightHolders = _(COPYRIGHT_HOLDERS);
|
||||
if (strCopyrightHolders.find("%s") == strCopyrightHolders.npos)
|
||||
return strCopyrightHolders;
|
||||
return strprintf(strCopyrightHolders, _(PACKAGE_NAME));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue