Translations:Development/Tutorials/First program/60/fr: Difference between revisions

From KDE TechBase
(Created page with "<nowiki> KAboutData aboutData( // The program name used internally. (componentName) QStringLiteral("tutorial1"),...")
 
No edit summary
Line 24: Line 24:
                         QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username"));
                         QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username"));
     KAboutData::setApplicationData(aboutData);
     KAboutData::setApplicationData(aboutData);
</nowiki>
</nowiki><!--) to solve misbalanced bracket-->

Revision as of 08:42, 17 May 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Development/Tutorials/First program)
KAboutData aboutData(
                         // The program name used internally. (componentName)
                         QStringLiteral("tutorial1"),
                         // A displayable program name string. (displayName)
                         i18n("Tutorial 1"),
                         // The program version string. (version)
                         QStringLiteral("1.0"),
                         // Short description of what the app does. (shortDescription)
                         i18n("Displays a KMessageBox popup"),
                         // The license this code is released under
                         KAboutLicense::GPL,
                         // Copyright Statement (copyrightStatement = QString())
                         i18n("(c) 2015"),
                         // Optional text shown in the About box.
                         // Can contain any information desired. (otherText)
                         i18n("Some text..."),
                         // The program homepage string. (homePageAddress = QString())
                         QStringLiteral("http://example.com/"),
                         // The bug report email address
                         // (bugsEmailAddress = QLatin1String("[email protected]")
                         QStringLiteral("[email protected]"));
   aboutData.addAuthor(i18n("Name"), i18n("Task"), QStringLiteral("[email protected]"),
                         QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username"));
   KAboutData::setApplicationData(aboutData);

KAboutData aboutData( // The program name used internally. (componentName) QStringLiteral("tutorial1"), // A displayable program name string. (displayName) i18n("Tutorial 1"), // The program version string. (version) QStringLiteral("1.0"), // Short description of what the app does. (shortDescription) i18n("Displays a KMessageBox popup"), // The license this code is released under KAboutLicense::GPL, // Copyright Statement (copyrightStatement = QString()) i18n("(c) 2015"), // Optional text shown in the About box. // Can contain any information desired. (otherText) i18n("Some text..."), // The program homepage string. (homePageAddress = QString()) QStringLiteral("http://example.com/"), // The bug report email address // (bugsEmailAddress = QLatin1String("[email protected]") QStringLiteral("[email protected]")); aboutData.addAuthor(i18n("Name"), i18n("Task"), QStringLiteral("[email protected]"), QStringLiteral("http://your.website.com"), QStringLiteral("OSC Username")); KAboutData::setApplicationData(aboutData);