mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
Fix extraction of translations
Using i18n('') prevent the strings to be extracted
This commit is contained in:
parent
381bfc3e02
commit
82b21794f9
1 changed files with 6 additions and 6 deletions
|
|
@ -49,13 +49,13 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
FormCard.FormHeader {
|
FormCard.FormHeader {
|
||||||
title: i18n('General')
|
title: i18nc("@title:group", "General")
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
FormCard.FormTextFieldDelegate {
|
FormCard.FormTextFieldDelegate {
|
||||||
id: ssidField
|
id: ssidField
|
||||||
label: i18n('SSID')
|
label: i18n("SSID")
|
||||||
text: wirelessSettings["ssid"] ? wirelessSettings["ssid"] : ""
|
text: wirelessSettings["ssid"] ? wirelessSettings["ssid"] : ""
|
||||||
enabled: true
|
enabled: true
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
|
|
@ -77,14 +77,14 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormHeader {
|
FormCard.FormHeader {
|
||||||
title: i18n('Security')
|
title: i18nc("@title:group", "Security")
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
FormCard.FormComboBoxDelegate {
|
FormCard.FormComboBoxDelegate {
|
||||||
id: securityCombobox
|
id: securityCombobox
|
||||||
currentIndex: 0
|
currentIndex: 0
|
||||||
text: i18n('Security type')
|
text: i18n("Security type")
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
id: securityTypesModel
|
id: securityTypesModel
|
||||||
// FIXME just placeholder element to set "text" property as default
|
// FIXME just placeholder element to set "text" property as default
|
||||||
|
|
@ -137,7 +137,7 @@ Kirigami.ScrollablePage {
|
||||||
|
|
||||||
FormCard.FormTextFieldDelegate {
|
FormCard.FormTextFieldDelegate {
|
||||||
id: passwordDelegate
|
id: passwordDelegate
|
||||||
label: i18n('Password')
|
label: i18n("Password")
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
inputMethodHints: Qt.ImhHiddenText
|
inputMethodHints: Qt.ImhHiddenText
|
||||||
text: secrets["psk"]
|
text: secrets["psk"]
|
||||||
|
|
@ -170,7 +170,7 @@ Kirigami.ScrollablePage {
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormHeader {
|
FormCard.FormHeader {
|
||||||
title: i18n('IP Settings')
|
title: i18nc("@title:group", "IP Settings")
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormCard {
|
FormCard.FormCard {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue