From 9430690aac7141cbedf481640ff441c78d54d907 Mon Sep 17 00:00:00 2001 From: notiant <238434866+notiant@users.noreply.github.com> Date: Thu, 6 Nov 2025 03:41:03 +0100 Subject: [PATCH] add missing translations to BluetoothPanel actions --- Assets/Translations/de.json | 6 +++++- Assets/Translations/en.json | 6 +++++- Assets/Translations/es.json | 6 +++++- Assets/Translations/fr.json | 6 +++++- Assets/Translations/pt.json | 6 +++++- Assets/Translations/tr.json | 7 ++++++- Assets/Translations/uk-UA.json | 7 ++++++- Assets/Translations/zh-CN.json | 6 +++++- Modules/Bar/Bluetooth/BluetoothDevicesList.qml | 8 ++++---- Modules/LockScreen/LockScreen.qml | 4 +++- 10 files changed, 49 insertions(+), 13 deletions(-) diff --git a/Assets/Translations/de.json b/Assets/Translations/de.json index b03bfde5..ee017f7e 100644 --- a/Assets/Translations/de.json +++ b/Assets/Translations/de.json @@ -330,7 +330,11 @@ "known-devices": "Bekannte Geräte", "pairing-mode": "Stellen Sie sicher, dass sich Ihr Gerät im Kopplungsmodus befindet.", "scanning": "Scannen nach Geräten...", - "title": "Bluetooth" + "title": "Bluetooth", + "pairing": "Koppeln...", + "blocked": "Blockiert", + "disconnect": "Trennen", + "connect": "Verbinden" } }, "calendar": { diff --git a/Assets/Translations/en.json b/Assets/Translations/en.json index ef5f1c25..8d9c76ab 100644 --- a/Assets/Translations/en.json +++ b/Assets/Translations/en.json @@ -330,7 +330,11 @@ "known-devices": "Known devices", "pairing-mode": "Make sure your device is in pairing mode.", "scanning": "Scanning for devices...", - "title": "Bluetooth" + "title": "Bluetooth", + "pairing": "Pairing...", + "blocked": "Blocked", + "disconnect": "Disconnect", + "connect": "Connect" } }, "calendar": { diff --git a/Assets/Translations/es.json b/Assets/Translations/es.json index fc02c379..86b4ad3d 100644 --- a/Assets/Translations/es.json +++ b/Assets/Translations/es.json @@ -330,7 +330,11 @@ "known-devices": "Dispositivos conocidos", "pairing-mode": "Asegúrate de que tu dispositivo esté en modo de emparejamiento.", "scanning": "Buscando dispositivos...", - "title": "Bluetooth" + "title": "Bluetooth", + "pairing": "Emparejamiento...", + "blocked": "Bloqueado", + "disconnect": "Desconectar", + "connect": "Conectar" } }, "calendar": { diff --git a/Assets/Translations/fr.json b/Assets/Translations/fr.json index ff5a22da..bdd214bc 100644 --- a/Assets/Translations/fr.json +++ b/Assets/Translations/fr.json @@ -330,7 +330,11 @@ "known-devices": "Appareils connus", "pairing-mode": "Assurez-vous que votre appareil est en mode d'appairage.", "scanning": "Recherche d'appareils en cours...", - "title": "Bluetooth" + "title": "Bluetooth", + "pairing": "Appairage...", + "blocked": "Bloqué", + "disconnect": "Déconnecter", + "connect": "Connecter" } }, "calendar": { diff --git a/Assets/Translations/pt.json b/Assets/Translations/pt.json index 95c91cd2..8ed406d3 100644 --- a/Assets/Translations/pt.json +++ b/Assets/Translations/pt.json @@ -330,7 +330,11 @@ "known-devices": "Dispositivos conhecidos", "pairing-mode": "Certifique-se de que seu dispositivo está em modo de pareamento.", "scanning": "Procurando por dispositivos...", - "title": "Bluetooth" + "title": "Bluetooth", + "pairing": "Emparelhamento...", + "blocked": "Bloqueado", + "disconnect": "Desconectar", + "connect": "Conectar" } }, "calendar": { diff --git a/Assets/Translations/tr.json b/Assets/Translations/tr.json index 1834537d..66219f07 100644 --- a/Assets/Translations/tr.json +++ b/Assets/Translations/tr.json @@ -330,7 +330,12 @@ "known-devices": "Bilinen cihazlar", "pairing-mode": "Cihazınızın eşleştirme modunda olduğundan emin olun.", "scanning": "Cihazlar tarınıyor...", - "title": "Bluetooth" + "title": "Bluetooth", + "title": "Bluetooth", + "pairing": "Eşleştiriliyor...", + "blocked": "Engellendi", + "disconnect": "Bağlantıyı Kes", + "connect": "Bağlan" } }, "calendar": { diff --git a/Assets/Translations/uk-UA.json b/Assets/Translations/uk-UA.json index 5a535a58..abef76d2 100644 --- a/Assets/Translations/uk-UA.json +++ b/Assets/Translations/uk-UA.json @@ -330,7 +330,12 @@ "known-devices": "Відомі пристрої", "pairing-mode": "Переконайтеся, що ваш пристрій у режимі з'єднання.", "scanning": "Сканування пристроїв...", - "title": "Bluetooth" + "title": "Bluetooth", + "title": "Bluetooth", + "pairing": "Спарювання...", + "blocked": "Заблоковано", + "disconnect": "Відключити", + "connect": "Підключити" } }, "calendar": { diff --git a/Assets/Translations/zh-CN.json b/Assets/Translations/zh-CN.json index 60343246..2e6cf697 100644 --- a/Assets/Translations/zh-CN.json +++ b/Assets/Translations/zh-CN.json @@ -330,7 +330,11 @@ "known-devices": "已知设备", "pairing-mode": "确保您的设备处于配对模式。", "scanning": "正在扫描设备...", - "title": "蓝牙" + "title": "蓝牙", + "pairing": "配对...", + "blocked": "已阻止", + "disconnect": "断开", + "connect": "连接" } }, "calendar": { diff --git a/Modules/Bar/Bluetooth/BluetoothDevicesList.qml b/Modules/Bar/Bluetooth/BluetoothDevicesList.qml index f2721e6a..3491a80b 100644 --- a/Modules/Bar/Bluetooth/BluetoothDevicesList.qml +++ b/Modules/Bar/Bluetooth/BluetoothDevicesList.qml @@ -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: { diff --git a/Modules/LockScreen/LockScreen.qml b/Modules/LockScreen/LockScreen.qml index a7087847..53f357db 100644 --- a/Modules/LockScreen/LockScreen.qml +++ b/Modules/LockScreen/LockScreen.qml @@ -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") }