Commit 0b2797dc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Add context @title:window

parent 6e7b3ec5
......@@ -36,7 +36,7 @@ FilterActionMissingAccountDialog::FilterActionMissingAccountDialog(const QString
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select Account"));
setWindowTitle(i18nc("@title:window", "Select Account"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(this);
......
......@@ -43,7 +43,7 @@ FilterActionMissingFolderDialog::FilterActionMissingFolderDialog(
, mListwidget(nullptr)
{
setModal(true);
setWindowTitle(i18n("Select Folder"));
setWindowTitle(i18nc("@title:window", "Select Folder"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *lab = new QLabel(i18n("Folder path was \"%1\".", argStr));
......
......@@ -37,7 +37,7 @@ FilterActionMissingIdentityDialog::FilterActionMissingIdentityDialog(const QStri
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select Identity"));
setWindowTitle(i18nc("@title:window", "Select Identity"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(this);
......
......@@ -34,7 +34,7 @@ FilterActionMissingSoundUrlDialog::FilterActionMissingSoundUrlDialog(const QStri
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select sound"));
setWindowTitle(i18nc("@title:window", "Select sound"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
......
......@@ -38,7 +38,7 @@ FilterActionMissingTagDialog::FilterActionMissingTagDialog(
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select Tag"));
setWindowTitle(i18nc("@title:window", "Select Tag"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(i18n("Tag was \"%1\".", argsStr));
......
......@@ -37,7 +37,7 @@ FilterActionMissingTemplateDialog::FilterActionMissingTemplateDialog(
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select Template"));
setWindowTitle(i18nc("@title:window", "Select Template"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(this);
......
......@@ -35,7 +35,7 @@ FilterActionMissingTransportDialog::FilterActionMissingTransportDialog(const QSt
: QDialog(parent)
{
setModal(true);
setWindowTitle(i18n("Select Transport"));
setWindowTitle(i18nc("@title:window", "Select Transport"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(this);
......
......@@ -31,7 +31,7 @@ using namespace MailCommon;
SelectThunderbirdFilterFilesDialog::SelectThunderbirdFilterFilesDialog(const QString &defaultSettingPath, QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Select thunderbird filter files"));
setWindowTitle(i18nc("@title:window", "Select thunderbird filter files"));
setModal(true);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
......
......@@ -35,7 +35,7 @@ FilterSelectionDialog::FilterSelectionDialog(QWidget *parent)
{
setObjectName(QStringLiteral("filterselection"));
setModal(true);
setWindowTitle(i18n("Select Filters"));
setWindowTitle(i18nc("@title:window", "Select Filters"));
QVBoxLayout *top = new QVBoxLayout(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
......
......@@ -31,7 +31,7 @@ using namespace MailCommon;
InvalidFilterDialog::InvalidFilterDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Invalid Filters"));
setWindowTitle(i18nc("@title:window", "Invalid Filters"));
setWindowIcon(QIcon::fromTheme(QStringLiteral("kmail")));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
......
......@@ -85,7 +85,7 @@ KMFilterDialog::KMFilterDialog(const QList<KActionCollection *> &actionCollectio
, mDoNotClose(false)
, mIgnoreFilterUpdates(true)
{
setWindowTitle(i18n("Filter Rules"));
setWindowTitle(i18nc("@title:window", "Filter Rules"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Help | QDialogButtonBox::Apply, this);
......
......@@ -101,7 +101,7 @@ MDNAdviceDialog::MDNAdviceDialog(const QString &text, bool canDeny, QWidget *par
: QDialog(parent)
, m_result(MessageComposer::MDNIgnore)
{
setWindowTitle(i18n("Message Disposition Notification Request"));
setWindowTitle(i18nc("@title:window", "Message Disposition Notification Request"));
QPushButton *user1Button = nullptr;
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Yes, this);
user1Button = new QPushButton;
......
......@@ -72,7 +72,7 @@ void SoundTestWidget::openSoundDialog(KUrlRequester *)
init = false;
QFileDialog *fileDialog = m_urlRequester->fileDialog();
fileDialog->setWindowTitle(i18n("Select Sound File"));
fileDialog->setWindowTitle(i18nc("@title:window", "Select Sound File"));
QStringList filters;
filters << QStringLiteral("audio/x-wav")
......
......@@ -71,7 +71,7 @@ AccountConfigOrderDialog::AccountConfigOrderDialog(MailCommon::MailCommonSetting
, d(new MailCommon::AccountConfigOrderDialogPrivate)
{
d->mSettings = settings;
setWindowTitle(i18n("Edit Accounts Order"));
setWindowTitle(i18nc("@title:window", "Edit Accounts Order"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
......
......@@ -94,7 +94,7 @@ void FolderRequester::slotOpenDialog()
}
QPointer<FolderSelectionDialog> dlg(new FolderSelectionDialog(this, options));
dlg->setWindowTitle(i18n("Select Folder"));
dlg->setWindowTitle(i18nc("@title:window", "Select Folder"));
dlg->setModal(false);
dlg->setSelectedCollection(d->mCollection);
......
......@@ -33,7 +33,7 @@ using namespace MailCommon;
SnippetSelectAttachmentDialog::SnippetSelectAttachmentDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Select Attachments"));
setWindowTitle(i18nc("@title:window", "Select Attachments"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
......
......@@ -43,7 +43,7 @@ SnippetVariableDialog::SnippetVariableDialog(const QString &variableName, QMap<Q
, mVariableName(variableName)
, mVariables(variables)
{
setWindowTitle(i18n("Enter Values for Variables"));
setWindowTitle(i18nc("@title:window", "Enter Values for Variables"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(i18n("Enter the replacement values for '%1':", variableName), this);
......
......@@ -52,7 +52,7 @@ AddTagDialog::AddTagDialog(const QList<KActionCollection *> &actions, QWidget *p
, d(new MailCommon::AddTagDialogPrivate)
{
setModal(true);
setWindowTitle(i18n("Add Tag"));
setWindowTitle(i18nc("@title:window", "Add Tag"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
d->mTagWidget = new MailCommon::TagWidget(actions, this);
......
......@@ -129,7 +129,7 @@ RedirectDialog::RedirectDialog(SendMode mode, QWidget *parent)
: QDialog(parent)
, d(new Private(this, mode))
{
setWindowTitle(i18n("Redirect Message"));
setWindowTitle(i18nc("@title:window", "Redirect Message"));
QVBoxLayout *topLayout = new QVBoxLayout(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Cancel, this);
d->mUser1Button = new QPushButton(this);
......
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