mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 18:24:46 +00:00
i18n fixes
- translate few UI strings - use i18np for plural forms - style fixes
This commit is contained in:
parent
52ecc82bdc
commit
b7e93f5630
3 changed files with 4 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ Item {
|
||||||
left: strengthIcon.right
|
left: strengthIcon.right
|
||||||
verticalCenter: parent.verticalCenter
|
verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
text: netreg.strength + "% " + netreg.name
|
text: i18nc("<strength of network>% <network name>", "%1% %2", netreg.strength, netreg.name)
|
||||||
color: PlasmaCore.ColorScope.textColor
|
color: PlasmaCore.ColorScope.textColor
|
||||||
font.pixelSize: parent.height / 2
|
font.pixelSize: parent.height / 2
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,7 @@ Item {
|
||||||
},
|
},
|
||||||
Kirigami.Action {
|
Kirigami.Action {
|
||||||
icon.name: "configure-shortcuts"
|
icon.name: "configure-shortcuts"
|
||||||
text: i18n("Send message")
|
text: i18n("Send Message")
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ PlasmaCore.ColorScope {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: Qt.AlignHCenter
|
horizontalAlignment: Qt.AlignHCenter
|
||||||
verticalAlignment: Qt.AlignVCenter
|
verticalAlignment: Qt.AlignVCenter
|
||||||
text: simManager.pinRetries && simManager.pinRetries[simManager.pinRequired] ? i18n("%1 attempts left", simManager.pinRetries[simManager.pinRequired]) : "";
|
text: simManager.pinRetries && simManager.pinRetries[simManager.pinRequired] ? i18np("%1 attempt left", "%1 attempts left", simManager.pinRetries[simManager.pinRequired]) : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
@ -187,7 +187,7 @@ PlasmaCore.ColorScope {
|
||||||
top: pad.bottom
|
top: pad.bottom
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
}
|
}
|
||||||
text: i18n("Ok")
|
text: i18n("OK")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
simManager.enterPin(simManager.pinRequired, pinLabel.text)
|
simManager.enterPin(simManager.pinRequired, pinLabel.text)
|
||||||
pinLabel.text = "";
|
pinLabel.text = "";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue