Commit 61ac93a2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use %1 in copyright => avoid to retranslate string each year

parent 5307f0da
Pipeline #117558 passed with stage
in 1 minute and 58 seconds
......@@ -235,7 +235,7 @@ int main(int argc, char **argv)
aboutData.setLicense(KAboutLicense::LGPL_V2, KAboutLicense::OrLaterVersions);
aboutData.setHomepage(QStringLiteral("https://apps.kde.org/itinerary"));
aboutData.setShortDescription(i18n("Digital Travel Assistant"));
aboutData.setCopyrightStatement(i18n("Copyright © 2018-2021 The KDE Community"));
aboutData.setCopyrightStatement(i18n("Copyright © 2018-%1 The KDE Community", QStringLiteral("2022")));
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
......
  • Unfortunately, this won't work. Some languages don't use indo-arabic numbers, for example Arabic.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment