Commit 748ec854 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix copyright date display in About KDevelop/KDevPlatform dialogs

Passing in a plain int gets localized integer text rendering with
e.g. thousand separator (2.019), which is not what we want here.

By feedback of localization teams the original year span is used, and
not mapped into local calendar systems at least by the active teams,
so just passing in a plain string is fine for now.
Cmp. https://marc.info/?l=kde-i18n-doc&m=157238863619132&w=2

BUG:413390
FIXED-IN:5.4.4
parent 9f823186
......@@ -391,7 +391,8 @@ int main( int argc, char *argv[] )
KAboutData aboutData( QStringLiteral("kdevelop"), i18n("KDevelop"), QStringLiteral(KDEVELOP_VERSION_STRING),
i18n("The KDevelop Integrated Development Environment"),
KAboutLicense::GPL, i18n("Copyright 1999-%1, The KDevelop developers", 2019),
KAboutLicense::GPL,
i18n("Copyright 1999-%1, The KDevelop developers", QStringLiteral("2019")),
QString(), QStringLiteral("https://www.kdevelop.org/"));
aboutData.setDesktopFileName(QStringLiteral("org.kde.kdevelop"));
aboutData.addAuthor( i18n("Kevin Funk"), i18n( "Co-maintainer, C++/Clang, QA, Windows Support" ), QStringLiteral("kfunk@kde.org") );
......
......@@ -94,7 +94,8 @@ KAboutData createAboutData()
KAboutData aboutData( QStringLiteral("kdevplatform"),
i18n("KDevelop Platform"), QStringLiteral(KDEVPLATFORM_VERSION_STRING),
i18n("Development Platform for IDE-like Applications"),
KAboutLicense::LGPL_V2, i18n("Copyright 2004-%1, The KDevelop developers", 2019),
KAboutLicense::LGPL_V2,
i18n("Copyright 2004-%1, The KDevelop developers", QStringLiteral("2019")),
QString(), QStringLiteral("https://www.kdevelop.org/"));
aboutData.addAuthor( i18n("Andreas Pakulat"), i18n( "Architecture, VCS Support, Project Management Support, QMake Projectmanager" ), QStringLiteral("apaku@gmx.de") );
......
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