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

GIT_SILENT: Add context @title:window

parent 1d5af6e6
......@@ -38,7 +38,7 @@
BackupFileStructureInfoDialog::BackupFileStructureInfoDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Archive File Structure"));
setWindowTitle(i18nc("@title:window", "Archive File Structure"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QLabel *lab = new QLabel(i18n("Backup Archive Structure:"));
mainLayout->addWidget(lab);
......
......@@ -27,7 +27,7 @@
PimDataExporterConfigureDialog::PimDataExporterConfigureDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Configure PimDataExporter"));
setWindowTitle(i18nc("@title:window", "Configure PimDataExporter"));
QVBoxLayout *layout = new QVBoxLayout(this);
mConfigureWidget = new PimDataExporterConfigureWidget(this);
mConfigureWidget->setObjectName(QStringLiteral("configurewidget"));
......
......@@ -32,7 +32,7 @@
SelectionTypeDialog::SelectionTypeDialog(bool backupData, QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Select Type"));
setWindowTitle(i18nc("@title:window", "Select Type"));
setModal(true);
QVBoxLayout *topLayout = new QVBoxLayout(this);
......
......@@ -43,7 +43,7 @@ ShowArchiveStructureDialog::ShowArchiveStructureDialog(const QString &filename,
: QDialog(parent)
, mFileName(filename)
{
setWindowTitle(i18n("Show Archive Content on file \"%1\"", filename));
setWindowTitle(i18nc("@title:window", "Show Archive Content on file \"%1\"", filename));
setModal(true);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
......
......@@ -32,7 +32,7 @@
SynchronizeResourceDialog::SynchronizeResourceDialog(QWidget *parent)
: QDialog(parent)
{
setWindowTitle(i18n("Synchronize Resources"));
setWindowTitle(i18nc("@title:window", "Synchronize Resources"));
QVBoxLayout *topLayout = new QVBoxLayout(this);
QLabel *lab = new QLabel(i18n("Some resources were added but data were not sync. Select resources that you want to sync:"), this);
......
......@@ -53,7 +53,7 @@ void FullSynchronizeResourcesJob::start()
if (!mProgressDialog) {
mProgressDialog = new QProgressDialog(QString(), i18n("Cancel"), 0, mResources.count(), mWindowParent);
}
mProgressDialog->setWindowTitle(i18n("Synchronize resources"));
mProgressDialog->setWindowTitle(i18nc("@title:window", "Synchronize resources"));
mProgressDialog->setLabelText(i18n("Synchronize resources... It can take some time."));
mProgressDialog->setWindowModality(Qt::WindowModal);
//Disable cancel button.
......
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