Commit 8bf0805b authored by Luigi Toscano's avatar Luigi Toscano

Fix UI strings: grammar, meaning

parent ebf643f2
......@@ -35,7 +35,7 @@ CheckBeforeSendConfigureWidget::CheckBeforeSendConfigureWidget(QWidget *parent)
connect(mCheckPlainTextMail, &QCheckBox::clicked, this, &CheckBeforeSendConfigureWidget::configureChanged);
mainLayout->addWidget(mCheckPlainTextMail);
mCheckMailTransport = new QCheckBox(i18n("Use SMTP defined in identity"), this);
mCheckMailTransport = new QCheckBox(i18n("Use SMTP server defined in identity"), this);
mCheckMailTransport->setObjectName(QStringLiteral("smtpdefinedinidentity"));
connect(mCheckMailTransport, &QCheckBox::clicked, this, &CheckBeforeSendConfigureWidget::configureChanged);
mainLayout->addWidget(mCheckMailTransport);
......
......@@ -49,7 +49,7 @@ bool CheckBeforeSendInterface::exec(const MessageComposer::PluginEditorCheckBefo
{
if (mSendPlainText) {
if (params.isHtmlMail()) {
if (KMessageBox::No == KMessageBox::questionYesNo(parentWidget(), i18n("Do you want to send mail as HTML?"), i18n("Send Mail as PlainText"))) {
if (KMessageBox::No == KMessageBox::questionYesNo(parentWidget(), i18n("Do you want to send the email as HTML?"), i18n("Send email as plain text"))) {
return false;
} else {
return true;
......@@ -62,7 +62,7 @@ bool CheckBeforeSendInterface::exec(const MessageComposer::PluginEditorCheckBefo
}
const KIdentityManagement::Identity identity = mIdentityManager->identityForUoid(params.identity());
if (identity.transport() != QString::number(params.transportId())) {
if (KMessageBox::No == KMessageBox::questionYesNo(parentWidget(), i18n("Do you want to send mail with a different SMTP that defined in current identity?"), i18n("Check SMTP server"))) {
if (KMessageBox::No == KMessageBox::questionYesNo(parentWidget(), i18n("Do you want to send the email with a different SMTP than the one defined in the current identity?"), i18n("Check SMTP server"))) {
return false;
} else {
return true;
......
......@@ -30,7 +30,7 @@
CheckDuplicateEmailsDialog::CheckDuplicateEmailsDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Duplicated Emails"));
setWindowTitle(i18n("Duplicated emails"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *lab = new QLabel(i18n("These emails are duplicated. Do you want to send email?"), this);
lab->setObjectName(QStringLiteral("label"));
......
......@@ -50,7 +50,7 @@ ConfirmAddressConfigureTabWidget::ConfirmAddressConfigureTabWidget(QWidget *pare
this, &ConfirmAddressConfigureTabWidget::configureChanged);
layoutDomainName->addWidget(mDomainNameListEditor);
QGroupBox *groupBoxWhiteList = new QGroupBox(i18n("White List Address"), this);
QGroupBox *groupBoxWhiteList = new QGroupBox(i18n("Whitelist of Addresses"), this);
groupBoxWhiteList->setObjectName(QStringLiteral("groupboxwhitelist"));
mainLayout->addWidget(groupBoxWhiteList);
QVBoxLayout *layoutWhiteList = new QVBoxLayout(groupBoxWhiteList);
......@@ -62,7 +62,7 @@ ConfirmAddressConfigureTabWidget::ConfirmAddressConfigureTabWidget(QWidget *pare
new PimCommon::SimpleStringListEditor(groupBoxWhiteList, buttonCode,
i18n("A&dd..."), i18n("Re&move"),
i18n("Mod&ify..."),
i18n("Enter new email name:"));
i18n("Enter new email address:"));
mWhiteListEditor->setObjectName(QStringLiteral("whitelisteditor"));
layoutWhiteList->addWidget(mWhiteListEditor);
connect(mWhiteListEditor, &PimCommon::SimpleStringListEditor::changed,
......
......@@ -31,7 +31,7 @@ ConfirmAddressWidget::ConfirmAddressWidget(QWidget *parent)
mainLayout->setMargin(0);
mainLayout->setObjectName(QStringLiteral("mainlayout"));
QLabel *lab = new QLabel(i18n("Potential email errors are displayed in red:"), this);
QLabel *lab = new QLabel(i18n("Potentially invalid emails are displayed in red:"), this);
lab->setObjectName(QStringLiteral("label"));
mainLayout->addWidget(lab);
......
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