Commit 1b42ce45 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Add context @title:window

parent fc1ab193
...@@ -34,7 +34,7 @@ using namespace PimCommon; ...@@ -34,7 +34,7 @@ using namespace PimCommon;
LogActivitiesDialog::LogActivitiesDialog(QWidget *parent) LogActivitiesDialog::LogActivitiesDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
setWindowTitle(i18n("Log activities")); setWindowTitle(i18nc("@title:window", "Log activities"));
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout")); mainLayout->setObjectName(QStringLiteral("mainLayout"));
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
TranslatorDebugDialog::TranslatorDebugDialog(QWidget *parent) TranslatorDebugDialog::TranslatorDebugDialog(QWidget *parent)
: QDialog(parent) : QDialog(parent)
{ {
setWindowTitle(i18n("Translator Debug")); setWindowTitle(i18nc("@title:window", "Translator Debug"));
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close, this); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close, this);
......
...@@ -124,7 +124,7 @@ RenameFileDialog::RenameFileDialog(const QUrl &url, bool multiFiles, QWidget *pa ...@@ -124,7 +124,7 @@ RenameFileDialog::RenameFileDialog(const QUrl &url, bool multiFiles, QWidget *pa
: QDialog(parent) : QDialog(parent)
, d(new RenameFileDialogPrivate(url, this)) , d(new RenameFileDialogPrivate(url, this))
{ {
setWindowTitle(i18n("File Already Exists")); setWindowTitle(i18nc("@title:window", "File Already Exists"));
QVBoxLayout *pLayout = new QVBoxLayout(this); QVBoxLayout *pLayout = new QVBoxLayout(this);
QLabel *label = new QLabel(xi18n("A file named <filename>%1</filename> already exists. Do you want to overwrite it?", url.fileName()), this); QLabel *label = new QLabel(xi18n("A file named <filename>%1</filename> already exists. Do you want to overwrite it?", url.fileName()), this);
......
...@@ -226,7 +226,7 @@ public: ...@@ -226,7 +226,7 @@ public:
void addAcl() void addAcl()
{ {
AclEntryDialog dlg; AclEntryDialog dlg;
dlg.setWindowTitle(i18n("Add ACL")); dlg.setWindowTitle(i18nc("@title:window", "Add ACL"));
if (!dlg.exec()) { if (!dlg.exec()) {
return; return;
...@@ -253,7 +253,7 @@ public: ...@@ -253,7 +253,7 @@ public:
= static_cast<KIMAP::Acl::Rights>(index.data(AclModel::PermissionsRole).toInt()); = static_cast<KIMAP::Acl::Rights>(index.data(AclModel::PermissionsRole).toInt());
AclEntryDialog dlg; AclEntryDialog dlg;
dlg.setWindowTitle(i18n("Edit ACL")); dlg.setWindowTitle(i18nc("@title:window", "Edit ACL"));
dlg.setUserId(userId); dlg.setUserId(userId);
dlg.setPermissions(permissions); dlg.setPermissions(permissions);
......
...@@ -61,7 +61,7 @@ SelectMultiCollectionDialog::~SelectMultiCollectionDialog() ...@@ -61,7 +61,7 @@ SelectMultiCollectionDialog::~SelectMultiCollectionDialog()
void SelectMultiCollectionDialog::initialize(const QString &mimetype, const QList<Akonadi::Collection::Id> &selectedCollection) void SelectMultiCollectionDialog::initialize(const QString &mimetype, const QList<Akonadi::Collection::Id> &selectedCollection)
{ {
setWindowTitle(i18n("Select Multiple Folders")); setWindowTitle(i18nc("@title:window", "Select Multiple Folders"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Close, this); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Close, this);
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok); QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
......
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