diff --git a/launcher/ui/dialogs/AboutDialog.cpp b/launcher/ui/dialogs/AboutDialog.cpp index 9795c38b..ae51809b 100644 --- a/launcher/ui/dialogs/AboutDialog.cpp +++ b/launcher/ui/dialogs/AboutDialog.cpp @@ -28,27 +28,30 @@ namespace { // This is a hack, but I can't think of a better way to do this easily without screwing with QTextDocument... QString getCreditsHtml(QStringList patrons) { - QString patronsHeading = QObject::tr("Patrons", "About Credits"); QString output; QTextStream stream(&output); stream.setCodec(QTextCodec::codecForName("UTF-8")); stream << "
\n"; - // TODO: possibly retrieve from git history at build time? - stream << "

" << QObject::tr("Developers", "About Credits") << "

\n"; - stream << "

Andrew Okin <forkk@forkk.net>

\n"; - stream << "

Petr Mrázek <peterix@gmail.com>

\n"; - stream << "

Sky Welch <multimc@bunnies.io>

\n"; - stream << "

Jan (02JanDal) <02jandal@gmail.com>

\n"; - stream << "

RoboSky <@RoboSky_>

\n"; - stream << "
\n"; - stream << "

" << QObject::tr("With thanks to", "About Credits") << "

\n"; - stream << "

Orochimarufan <orochimarufan.x3@gmail.com>

\n"; - stream << "

TakSuyu <taksuyu@gmail.com>

\n"; - stream << "

Kilobyte <stiepen22@gmx.de>

\n"; - stream << "

Rootbear75 <@rootbear75>

\n"; - stream << "

Zeker Zhayard <@Zeker_Zhayard>

\n"; - stream << "
\n"; + stream << "

" << QObject::tr("Original Author", "About Credits") << "

\n"; + stream << "

Andrew Okin <forkk@forkk.net>

\n"; + + stream << "

" << QObject::tr("Maintainer", "About Credits") << "

\n"; + stream << "

Petr Mrázek <peterix@gmail.com>

\n"; + + stream << "

Dedicated to Erika

\n"; + stream << "

You gave all the work put into this meaning.

\n"; + + // TODO: grab contributors from git history + /* + if(!contributors.isEmpty()) { + stream << "

" << QObject::tr("Contributors", "About Credits") << "

\n"; + for (auto &contributor : contributors) + { + stream << "

" << contributor << "

\n"; + } + } + */ if(!patrons.isEmpty()) { stream << "

" << QObject::tr("Patrons", "About Credits") << "

\n"; @@ -57,6 +60,7 @@ QString getCreditsHtml(QStringList patrons) stream << "

" << patron << "

\n"; } } + stream << "
\n"; return output; }