i18n fixes

- translate few UI strings
- use i18np for plural forms
- style fixes
This commit is contained in:
Pino Toscano 2019-11-21 09:24:10 +01:00
parent 52ecc82bdc
commit b7e93f5630
3 changed files with 4 additions and 4 deletions

View file

@ -92,7 +92,7 @@ Item {
left: strengthIcon.right
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
font.pixelSize: parent.height / 2
}

View file

@ -91,7 +91,7 @@ Item {
},
Kirigami.Action {
icon.name: "configure-shortcuts"
text: i18n("Send message")
text: i18n("Send Message")
}
]

View file

@ -126,7 +126,7 @@ PlasmaCore.ColorScope {
Layout.fillWidth: true
horizontalAlignment: Qt.AlignHCenter
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 {
@ -187,7 +187,7 @@ PlasmaCore.ColorScope {
top: pad.bottom
horizontalCenter: parent.horizontalCenter
}
text: i18n("Ok")
text: i18n("OK")
onClicked: {
simManager.enterPin(simManager.pinRequired, pinLabel.text)
pinLabel.text = "";