kcontrol/hwmanager: Move description to the corresponding item in TDEAboutData

and added a line break to avoid unwantedly wide about dialog.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/219/head
Slávek Banko 3 years ago
parent 74005246f6
commit 6432d2c280
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -36,8 +36,13 @@ static const TDECmdLineOptions options[] =
int main(int argc, char **argv)
{
TDEAboutData aboutData("hwdevicetray", I18N_NOOP("Device Monitor"), hwdevicetrayVersion, I18N_NOOP("Device Monitor Tray Application\n\nAllows you not only to get informations about hardware changes on your system,\nbut also to open and eject storage devices if possible."), TDEAboutData::License_GPL_V3,
"(c) 2015 Timothy Pearson\n(c) 2019 The Trinity Desktop Project", 0L, "");
TDEAboutData aboutData("hwdevicetray", I18N_NOOP("Device Monitor"), hwdevicetrayVersion,
I18N_NOOP("Device Monitor Tray Application\n\n"
"Allows you not only to get informations about hardware changes on your system,\n"
"but also to open and eject storage devices if possible."),
TDEAboutData::License_GPL_V3,
I18N_NOOP("(c) 2015 Timothy Pearson\n"
"(c) 2019 The Trinity Desktop Project"), 0L, "");
aboutData.addAuthor("Timothy Pearson",I18N_NOOP("Initial developer and maintainer"), "kb9vqf@pearsoncomputing.net");
aboutData.setProductName("hwdevices/hwdevicetray");
TDEGlobal::locale()->setMainCatalogue("tdehwdevicetray");

@ -71,10 +71,13 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis
systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdehw/hwmanagerrc" ));
TDEAboutData *about =
new TDEAboutData(I18N_NOOP("kcmhwmanager"), I18N_NOOP("TDE Device Manager\n\nCan be used to get all kind of informations about your devices on your system, shows which drivers are used by them and allows to change device settings."),
0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2012 Timothy Pearson\n(c) 2019 The Trinity Desktop Project"));
new TDEAboutData(I18N_NOOP("kcmhwmanager"), I18N_NOOP("TDE Device Manager"), 0,
I18N_NOOP("Device Manager\n\n"
"Can be used to get all kind of informations about your devices on your system,\n"
"shows which drivers are used by them and allows to change device settings."),
TDEAboutData::License_GPL,
I18N_NOOP("(c) 2012 Timothy Pearson\n"
"(c) 2019 The Trinity Desktop Project"));
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");
setAboutData( about );

Loading…
Cancel
Save