From 6432d2c28008e5a78b0556e564c87a2ea84340da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 3 Aug 2021 00:15:29 +0200 Subject: [PATCH] kcontrol/hwmanager: Move description to the corresponding item in TDEAboutData and added a line break to avoid unwantedly wide about dialog. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kcontrol/hwmanager/hwdevicetray_main.cpp | 9 +++++++-- kcontrol/hwmanager/hwmanager.cpp | 11 +++++++---- 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 );