1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-02 06:40:12 +01:00

Refactor AboutDialog.cpp and create BuildInfo.h

Move build information functionality into new `BuildInfo.h` header.
Fix formatting issues in credits list.
Add missing libraries to library list.
Fix translation issues for contributor credits.
Hide ugly macro and `#ifdef` usage inside `BuildInfo.h`.
Convert some `#ifdef` usage into `constexpr` uses.
Reassure the compiler that the compiler specific version macros exist.

Reference-to: https://github.com/tenacityteam/tenacity/pull/361
Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
Emily Mabrey
2021-07-25 00:40:45 -04:00
committed by GitHub
parent fbf17c0fc0
commit a8e9a0053d
5 changed files with 241 additions and 137 deletions

View File

@@ -619,119 +619,119 @@ msgstr "GPL License"
#: src/AboutDialog.cpp
#, c-format
msgid "%s, system administration"
msgstr "%s, pre-fork system administration"
msgstr "%s, Audacity system administration"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, co-founder and developer"
msgstr "%s, pre-fork co-founder and developer"
msgstr "%s, Audacity co-founder and developer"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, developer"
msgstr "%s, pre-fork developer"
msgstr "%s, Audacity developer"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, developer and support"
msgstr "%s, pre-fork developer and support"
msgstr "%s, Audacity developer and support"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, documentation and support"
msgstr "%s, pre-fork documentation and support"
msgstr "%s, Audacity documentation and support"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, QA tester, documentation and support"
msgstr "%s, pre-fork QA tester, documentation and support"
msgstr "%s, Audacity QA tester, documentation and support"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, documentation and support, French"
msgstr "%s, pre-fork documentation and support, French"
msgstr "%s, Audacity documentation and support, French"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, quality assurance"
msgstr "%s, pre-fork quality assurance"
msgstr "%s, Audacity quality assurance"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, accessibility advisor"
msgstr "%s, pre-fork accessibility advisor"
msgstr "%s, Audacity accessibility advisor"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, graphic artist"
msgstr "%s, pre-fork graphic artist"
msgstr "%s, Audacity graphic artist"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, composer"
msgstr "%s, pre-fork composer"
msgstr "%s, Audacity composer"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, tester"
msgstr "%s, pre-fork tester"
msgstr "%s, Audacity tester"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, Nyquist plug-ins"
msgstr "%s, pre-fork Nyquist plug-ins"
msgstr "%s, Audacity Nyquist plug-ins"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, web developer"
msgstr "%s, pre-fork web developer"
msgstr "%s, Audacity web developer"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, c-format
msgid "%s, graphics"
msgstr "%s, pre-fork graphics"
msgstr "%s, Audacity graphics"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, fuzzy, c-format
msgid "%s, lead Tenacity developer"
msgstr "%s, pre-fork web developer"
msgstr "%s, lead Tenacity developer"
#. i18n-hint: For "About Tenacity..." credits, substituting a person's proper
#. name
#: src/AboutDialog.cpp
#, fuzzy, c-format
msgid "%s, Tenacity developer"
msgstr "%s, pre-fork web developer"
msgstr "%s, Tenacity developer"
#: src/AboutDialog.cpp
#, c-format
@@ -779,15 +779,15 @@ msgstr "%s includes code from the following projects:"
#: src/AboutDialog.cpp
msgid "Emeritus:"
msgstr "Pre-fork Emeritus:"
msgstr "Audacity Emeritus:"
#: src/AboutDialog.cpp
msgid "Contributors"
msgstr "Pre-fork Contributors"
msgstr "Audacity Contributors"
#: src/AboutDialog.cpp
msgid "Website and Graphics"
msgstr "Pre-fork Website and Graphics"
msgstr "Audacity Website and Graphics"
#. i18n-hint: The translation of "translator_credits" will appear
#. * in the credits in the About Audacity window. Use this to add
@@ -800,11 +800,11 @@ msgstr "translator_credits"
#: src/AboutDialog.cpp
msgid "Translators"
msgstr "Pre-fork Translators"
msgstr "Audacity Translators"
#: src/AboutDialog.cpp
msgid "Special thanks:"
msgstr "Pre-fork Special thanks:"
msgstr "Audacity Special thanks:"
#. i18n-hint: The program's name substitutes for %s
#: src/AboutDialog.cpp