Commit 754b1a39 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add i18n context

parent 609cf5bb
Pipeline #74565 passed with stage
in 9 minutes and 48 seconds
......@@ -187,7 +187,7 @@ void ArticleViewerWebEngine::slotSaveLinkAs()
auto dlg = new QFileDialog(this);
dlg->setAttribute(Qt::WA_DeleteOnClose);
dlg->setAcceptMode(QFileDialog::AcceptSave);
dlg->setWindowTitle(i18n("Save As"));
dlg->setWindowTitle(i18nc("@title:window", "Save As"));
dlg->setOption(QFileDialog::DontConfirmOverwrite, false);
dlg->selectFile(url.fileName());
dlg->show();
......
......@@ -113,7 +113,7 @@ void FeedPropertiesDialog::accept()
void FeedPropertiesDialog::slotSetWindowTitle(const QString &title)
{
setWindowTitle(title.isEmpty() ? i18n("Feed Properties") : i18n("Properties of %1", title));
setWindowTitle(title.isEmpty() ? i18nc("@title:window", "Feed Properties") : i18nc("@title:window", "Properties of %1", title));
mOkButton->setEnabled(!title.trimmed().isEmpty());
}
......
Supports Markdown
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