Git commit 7d74989074b6ce9704cc1abcc16b9c2d7a580258 by David Jarvie. Committed on 28/10/2020 at 10:51. Pushed by djarvie into branch 'master'.
Improve wording in user texts M +1 -1 doc/index.docbook M +2 -2 src/data/kalarmconfig.kcfg M +3 -3 src/prefdlg.cpp https://invent.kde.org/pim/kalarm/commit/7d74989074b6ce9704cc1abcc16b9c2d7a580258 diff --git a/doc/index.docbook b/doc/index.docbook index 340135a5..f9748ca8 100644 --- a/doc/index.docbook +++ b/doc/index.docbook @@ -2571,7 +2571,7 @@ option is automatically re-enabled by default whenever you change run mode.</para> </listitem> -<listitem><para><guilabel>Use alarm names</guilabel>: Specify +<listitem><para><guilabel>Enable alarm names</guilabel>: Specify whether each alarm can be given a name to help you to identify it. This determines whether the <guilabel>Name</guilabel> column will be shown in the <link linkend="alarm-list">alarm list</link>, and diff --git a/src/data/kalarmconfig.kcfg b/src/data/kalarmconfig.kcfg index 8978912c..8de08f1e 100644 --- a/src/data/kalarmconfig.kcfg +++ b/src/data/kalarmconfig.kcfg @@ -92,8 +92,8 @@ SPDX-License-Identifier: GPL-2.0-or-later <default code="true">KColorScheme(QPalette::Active).background(KColorScheme::NegativeBackground).color()</default> </entry> <entry name="UseAlarmName" type="Bool"> - <label context="@label">Use alarm names</label> - <whatsthis context="@info:whatsthis">Choose whether to be able to give each alarm a name. This is a convenience to help you to identify alarms.</whatsthis> + <label context="@label">Enable alarm names</label> + <whatsthis context="@info:whatsthis">Choose whether to be able to give alarms a name. This is a convenience to help you to identify alarms.</whatsthis> <default>false</default> <emit signal="useAlarmNameChanged"/> </entry> diff --git a/src/prefdlg.cpp b/src/prefdlg.cpp index 8c93bf15..b2d3b83c 100644 --- a/src/prefdlg.cpp +++ b/src/prefdlg.cpp @@ -445,13 +445,13 @@ MiscPrefTab::MiscPrefTab(StackedScrollGroup* scrollGroup) mQuitWarn->setWhatsThis(xi18nc("@info:whatsthis", "Check to display a warning prompt before quitting <application>KAlarm</application>.")); vlayout->addWidget(mQuitWarn, 0, Qt::AlignLeft); - // Use alarm names? + // Enable alarm names? QWidget* widget = new QWidget; // this is for consistent left alignment topLayout()->addWidget(widget); QHBoxLayout* hbox = new QHBoxLayout(widget); - mUseAlarmNames = new QCheckBox(i18nc("@option:check", "Use alarm names")); + mUseAlarmNames = new QCheckBox(i18nc("@option:check", "Enable alarm names")); mUseAlarmNames->setMinimumSize(mUseAlarmNames->sizeHint()); - mUseAlarmNames->setWhatsThis(i18nc("@info:whatsthis", "Check to have the option to give each alarm a name. This is a convenience to help you to identify alarms.")); + mUseAlarmNames->setWhatsThis(i18nc("@info:whatsthis", "Check to have the option to give alarms a name. This is a convenience to help you to identify alarms.")); hbox->addWidget(mUseAlarmNames); hbox->addStretch(); // left adjust the controls
