Commit baf7618b authored by Antoni Bella Pérez's avatar Antoni Bella Pérez 🚵🏻
Browse files

GUI l10n fixes

* Add @title:window helpers
* Suitable capitalization in a dialog option
parent 5a7a4a62
......@@ -109,7 +109,7 @@
</sizepolicy>
</property>
<property name="text">
<string>&amp;Keyboard Layout:</string>
<string>&amp;Keyboard layout:</string>
</property>
<property name="buddy">
<cstring>column1LayoutComboBox</cstring>
......
......@@ -30,7 +30,7 @@
DlgLanguage::DlgLanguage(KWQTableModel *model, QWidget *parent): QDialog(parent)
{
setWindowTitle(i18n("Column Settings"));
setWindowTitle(i18nc("@title:window", "Column Settings"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
QWidget *mainWidget = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout;
......
......@@ -30,7 +30,7 @@
KWQClearDialog::KWQClearDialog(QWidget* parent): QDialog(parent)
{
setWindowTitle(i18n("Clear Contents"));
setWindowTitle(i18nc("@title:window", "Clear Contents"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok|QDialogButtonBox::Cancel);
QWidget *mainWidget = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout;
......
......@@ -748,7 +748,7 @@ void KWQTableView::doVocabSound()
{
QUrl currentUrl(model()->data(currentIndex(), KWQTableModel::SoundRole).toString());
QUrl soundUrl = QFileDialog::getOpenFileUrl(this, i18n("Select Sound"), currentUrl, i18n("All Files (*)"));
QUrl soundUrl = QFileDialog::getOpenFileUrl(this, i18nc("@title:window", "Select Sound"), currentUrl, i18n("All Files (*)"));
if (!soundUrl.isEmpty()) {
KWQCommandSound *kwqc = new KWQCommandSound(this, soundUrl);
m_undoStack->push(kwqc);
......
......@@ -28,7 +28,7 @@
WQPrintDialogPage::WQPrintDialogPage(QWidget *parent) : QWidget(parent)
{
setWindowTitle(i18n("Vocabulary Options"));
setWindowTitle(i18nc("@title:window", "Vocabulary Options"));
QGridLayout * l = new QGridLayout(this);
QSpacerItem * s = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
......
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