Commit 3546e532 authored by Albert Astals Cid's avatar Albert Astals Cid

Make the translators tab in the about dialog appear

This are not new strings

This is usually fixed by replacing the -DTRANSLATION_DOMAIN= define
with a KLocalizedString::setApplicationDomain but that only works if
the app uses a KMainWindow (or child  class).

Since in this case it's just a QWidget we need to call setTranslator directly
parent 617f4f72
......@@ -39,6 +39,7 @@ int main(int argc, char *argv[])
aboutData.addAuthor( i18n( "Mathias Soeken" ), i18n( "Maintainer" ), QStringLiteral("msoeken@tzi.de") );
aboutData.addAuthor( i18n( "Till Krech" ), i18n( "Former Maintainer and Developer" ), QStringLiteral("till@snafu.de") );
aboutData.addCredit( i18n( "Gunnstein Lye" ),i18n( "Initial port to KDE 2" ), QStringLiteral("gl@ez.no") );
aboutData.setTranslator( i18nc( "NAME OF TRANSLATORS", "Your names" ), i18nc( "EMAIL OF TRANSLATORS", "Your emails" ) );
KAboutData::setApplicationData(aboutData);
......
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