Commit 808007c4 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛
Browse files

Replace "Title" with "Summary" in the user interface

parent 58d2f731
Pipeline #69538 failed with stage
in 2 minutes and 30 seconds
......@@ -43,9 +43,9 @@ private Q_SLOTS:
auto endCheck = dialog->findChild<QCheckBox *>(QStringLiteral("mEndCheck"));
QVERIFY2(endCheck, "Couldn't find the 'End' checkbox.");
endCheck->setCheckState(Qt::Checked);
auto title = dialog->findChild<QLineEdit *>(QStringLiteral("mSummaryEdit"));
QVERIFY2(title, "Couldn't find the 'Title' field.");
title->setText(QStringLiteral("e"));
auto summary = dialog->findChild<QLineEdit *>(QStringLiteral("mSummaryEdit"));
QVERIFY2(summary, "Couldn't find the 'Summary' field.");
summary->setText(QStringLiteral("e"));
QVERIFY(editor->isValid());
auto startDate = dialog->findChild<KDateComboBox *>(QStringLiteral("mStartDateEdit"));
......
......@@ -66,8 +66,8 @@ void IncidenceWhatWhere::focusInvalidField()
bool IncidenceWhatWhere::isValid() const
{
if (mUi->mSummaryEdit->text().isEmpty()) {
qCDebug(INCIDENCEEDITOR_LOG) << "Specify a title";
mLastErrorString = i18nc("@info", "Please specify a title.");
qCDebug(INCIDENCEEDITOR_LOG) << "Specify a summary";
mLastErrorString = i18nc("@info", "Please enter a summary.");
return false;
} else {
mLastErrorString.clear();
......
......@@ -140,23 +140,17 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="toolTip">
<string comment="@info:tooltip">Set the title</string>
<string comment="@info:tooltip">Set the summary</string>
</property>
<property name="whatsThis">
<string comment="@info:whatsthis">Sets the Title of this event or to-do.</string>
<string comment="@info:whatsthis">Sets brief information that will be displayed in many places in the user interface.</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string comment="@label">&amp;Title:</string>
<string comment="@label">Summar&amp;y:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
......@@ -175,10 +169,10 @@
</sizepolicy>
</property>
<property name="toolTip">
<string comment="@info:tooltip">Set the title</string>
<string comment="@info:tooltip">Set the summary</string>
</property>
<property name="whatsThis">
<string comment="@info:whatsthis">Sets the Title of this event or to-do.</string>
<string comment="@info:whatsthis">Sets brief information that will be displayed in many places in the user interface.</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment