add missing translations to BluetoothPanel actions

This commit is contained in:
notiant
2025-11-06 03:41:03 +01:00
committed by GitHub
parent c26784e215
commit 9430690aac
10 changed files with 49 additions and 13 deletions
@@ -161,15 +161,15 @@ NBox {
tooltipText: root.tooltipText
text: {
if (modelData.pairing) {
return "Pairing..."
return I18n.tr("bluetooth.panel.pairing")
}
if (modelData.blocked) {
return "Blocked"
return I18n.tr("bluetooth.panel.blocked")
}
if (modelData.connected) {
return "Disconnect"
return I18n.tr("bluetooth.panel.disconnect")
}
return "Connect"
return I18n.tr("bluetooth.panel.connect")
}
icon: (isBusy ? "busy" : null)
onClicked: {
+3 -1
View File
@@ -348,7 +348,9 @@ Loader {
"es": "dddd, d 'de' MMMM",
"fr": "dddd d MMMM",
"pt": "dddd, d 'de' MMMM",
"zh": "yyyy年M月d日 dddd"
"zh": "yyyy年M月d日 dddd",
"uk": "dddd, d MMMM",
"tr": "dddd, d MMMM"
}
return I18n.locale.toString(Time.now, formats[lang] || "dddd, MMMM d")
}