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

GUI l10n fixes

* Add @title:window helpers
parent e61274ee
......@@ -38,7 +38,7 @@ NewResourceAssistant::NewResourceAssistant(ResourceModel* resourceModel, QWidget
m_newKeyboardLayoutWidget(new NewKeyboardLayoutWidget(m_resourceModel, this)),
m_resourceTemplateWidget(new ResourceTemplateWidget(m_resourceModel, this))
{
setWindowTitle(i18n("New"));
setWindowTitle(i18nc("@title:window", "New"));
m_resourceTypesPage = addPage(m_resourceTypesWidget, i18n("New..."));
setValid(m_resourceTypesPage, false);
......
......@@ -72,7 +72,7 @@ ResourceEditor::ResourceEditor(QWidget *parent) :
const int unit = fontMetrics().height();
setMinimumSize(39 * unit, 28 * unit);
setCaption(i18n("Course and Keyboard Layout Editor"));
setCaption(i18nc("@title:window", "Course and Keyboard Layout Editor"));
m_newResourceAction->setToolTip(i18n("Create a new course or keyboard layout"));
m_deleteResourceAction->setEnabled(false);
......
......@@ -151,7 +151,7 @@ void KTouchContext::showKeyboardKCM()
{
QPointer<KCMultiDialog> kcm = new KCMultiDialog(m_mainWindow);
kcm->setWindowTitle(i18n("Configure Keyboard"));
kcm->setWindowTitle(i18nc("@title:window", "Configure Keyboard"));
kcm->addModule(keyboardKCMName);
kcm->exec();
......
......@@ -92,7 +92,7 @@ ComboBox {
height: parent.height - topMargin - bottomMargin
modal: true
focus: true
title: i18n("Manage Profiles")
title: i18nc("@title:window", "Manage Profiles")
closePolicy: PopupDialog.CloseOnEscape
padding: 0
contentItem: ProfileSelector {
......
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