summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-03 00:15:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-03 00:15:30 +0200
commit6432d2c28008e5a78b0556e564c87a2ea84340da (patch)
treeb004927a0bc9ea66c08f0dadfc21ff8dd35123b5
parent74005246f6242f3a2d0c83d4ac3d3b6558a12a9f (diff)
downloadtdebase-6432d2c28008e5a78b0556e564c87a2ea84340da.tar.gz
tdebase-6432d2c28008e5a78b0556e564c87a2ea84340da.zip
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>
-rw-r--r--kcontrol/hwmanager/hwdevicetray_main.cpp9
-rw-r--r--kcontrol/hwmanager/hwmanager.cpp11
2 files changed, 14 insertions, 6 deletions
diff --git a/kcontrol/hwmanager/hwdevicetray_main.cpp b/kcontrol/hwmanager/hwdevicetray_main.cpp
index dc0704d57..0584c92fd 100644
--- a/kcontrol/hwmanager/hwdevicetray_main.cpp
+++ b/kcontrol/hwmanager/hwdevicetray_main.cpp
@@ -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");
diff --git a/kcontrol/hwmanager/hwmanager.cpp b/kcontrol/hwmanager/hwmanager.cpp
index 3258453d0..ecfed649a 100644
--- a/kcontrol/hwmanager/hwmanager.cpp
+++ b/kcontrol/hwmanager/hwmanager.cpp
@@ -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 );