Commit 6dcef0ec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add dialog label

parent 795fc0a8
Pipeline #84818 failed with stage
in 4 minutes and 42 seconds
...@@ -666,6 +666,7 @@ ComposerPageSubjectTab::ComposerPageSubjectTab(QWidget *parent) ...@@ -666,6 +666,7 @@ ComposerPageSubjectTab::ComposerPageSubjectTab(QWidget *parent)
new PimCommon::SimpleStringListEditor(group, buttonCode, i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new reply prefix:")); new PimCommon::SimpleStringListEditor(group, buttonCode, i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new reply prefix:"));
mReplyListEditor->setRemoveDialogLabel(i18n("Do you want to remove reply prefix?")); mReplyListEditor->setRemoveDialogLabel(i18n("Do you want to remove reply prefix?"));
connect(mReplyListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged); connect(mReplyListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged);
mReplyListEditor->setAddDialogLabel(i18n("Reply Prefix:"));
// row 2: "replace [...]" check box: // row 2: "replace [...]" check box:
mReplaceReplyPrefixCheck = new QCheckBox(MessageCore::MessageCoreSettings::self()->replaceReplyPrefixItem()->label(), group); mReplaceReplyPrefixCheck = new QCheckBox(MessageCore::MessageCoreSettings::self()->replaceReplyPrefixItem()->label(), group);
...@@ -690,6 +691,7 @@ ComposerPageSubjectTab::ComposerPageSubjectTab(QWidget *parent) ...@@ -690,6 +691,7 @@ ComposerPageSubjectTab::ComposerPageSubjectTab(QWidget *parent)
mForwardListEditor = mForwardListEditor =
new PimCommon::SimpleStringListEditor(group, buttonCode, i18n("Add..."), i18n("Remo&ve"), i18n("Modify..."), i18n("Enter new forward prefix:")); new PimCommon::SimpleStringListEditor(group, buttonCode, i18n("Add..."), i18n("Remo&ve"), i18n("Modify..."), i18n("Enter new forward prefix:"));
mForwardListEditor->setRemoveDialogLabel(i18n("Do you want to remove forward prefix?")); mForwardListEditor->setRemoveDialogLabel(i18n("Do you want to remove forward prefix?"));
mForwardListEditor->setAddDialogLabel(i18n("Forward Prefix:"));
connect(mForwardListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged); connect(mForwardListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged);
// row 3: "replace [...]" check box: // row 3: "replace [...]" check box:
...@@ -751,6 +753,7 @@ ComposerPageCharsetTab::ComposerPageCharsetTab(QWidget *parent) ...@@ -751,6 +753,7 @@ ComposerPageCharsetTab::ComposerPageCharsetTab(QWidget *parent)
i18n("&Modify..."), i18n("&Modify..."),
i18n("Enter charset:")); i18n("Enter charset:"));
mCharsetListEditor->setRemoveDialogLabel(i18n("Do you want to remove this selected charset?")); mCharsetListEditor->setRemoveDialogLabel(i18n("Do you want to remove this selected charset?"));
mCharsetListEditor->setAddDialogLabel(i18n("Add Charset:"));
mCharsetListEditor->setUpDownAutoRepeat(true); mCharsetListEditor->setUpDownAutoRepeat(true);
connect(mCharsetListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged); connect(mCharsetListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged);
...@@ -1128,6 +1131,7 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab(QWidget *parent) ...@@ -1128,6 +1131,7 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab(QWidget *parent)
mAttachWordsListEditor = mAttachWordsListEditor =
new PimCommon::SimpleStringListEditor(this, buttonCode, i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new key word:")); new PimCommon::SimpleStringListEditor(this, buttonCode, i18n("A&dd..."), i18n("Re&move"), i18n("Mod&ify..."), i18n("Enter new key word:"));
mAttachWordsListEditor->setRemoveDialogLabel(i18n("Do you want to remove this attachment word?")); mAttachWordsListEditor->setRemoveDialogLabel(i18n("Do you want to remove this attachment word?"));
mAttachWordsListEditor->setAddDialogLabel(i18n("Attachment Word:"));
connect(mAttachWordsListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged); connect(mAttachWordsListEditor, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged);
vlay->addWidget(mAttachWordsListEditor); vlay->addWidget(mAttachWordsListEditor);
......
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