diff --git a/README.md b/README.md index 5e3933d..5c7ff54 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,10 @@ With the ioBroker Matter Adapter, it is possible to map the following use cases: --> ## Changelog +### **WORK IN PROGRESS** + +* (@GermanBluefox) Added the "copy to clipboard" button in the debug dialog + ### 0.4.11 (2025-01-28) * (@Apollon77) Fixed caching issues in device type detection * (@Apollon77) Added Debug info icon for Devices and Bridges diff --git a/src-admin/package-lock.json b/src-admin/package-lock.json index 2f62ba8..9e87a78 100644 --- a/src-admin/package-lock.json +++ b/src-admin/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.matter", - "version": "0.4.10", + "version": "0.4.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.matter", - "version": "0.4.10", + "version": "0.4.11", "dependencies": { "@foxriver76/iob-component-lib": "^0.2.0", "@iobroker/adapter-react-v5": "^7.4.19", diff --git a/src-admin/src/Tabs/BridgesAndDevices.tsx b/src-admin/src/Tabs/BridgesAndDevices.tsx index c691e49..56886ff 100644 --- a/src-admin/src/Tabs/BridgesAndDevices.tsx +++ b/src-admin/src/Tabs/BridgesAndDevices.tsx @@ -646,7 +646,47 @@ class BridgesAndDevices { - if (button === 'apply' || (button as ActionButton).type === 'apply') { + if (typeof button === 'object' && button.type === 'copyToClipboard') { + buttons.push( + , + ); + } else if (button === 'apply' || (button as ActionButton).type === 'apply') { buttons.push(this.getOkButton(button)); } else { buttons.push(this.getCancelButton(button)); diff --git a/src-admin/src/i18n/de.json b/src-admin/src/i18n/de.json index 667fe88..2a1cbbb 100644 --- a/src-admin/src/i18n/de.json +++ b/src-admin/src/i18n/de.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Bluetooth-Konfiguration", + "Bridge Debug information": "Bridge-Debug-Informationen", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Brücke ist bereits in Betrieb genommen. Sie können den Namen oder die Anbieter-/Produkt-ID nicht ändern.", "Bridge is not commissioned. Show QR Code got commissioning": "Brücke ist nicht in Betrieb genommen. QR-Code anzeigen wurde in Betrieb genommen", "Bridges": "Bridges", @@ -58,6 +59,7 @@ "Delete": "Löschen", "Delete bridge": "Bridge löschen", "Delete device": "Gerät löschen", + "Device Debug information": "Geräte-Debuginformationen", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Gerät ist bereits in Betrieb genommen. Sie können den Namen oder die Anbieter-/Produkt-ID nicht ändern.", "Device is already commissioning. Show status information": "Gerät wird bereits in Betrieb genommen. Statusinformationen anzeigen", "Device is not commissioned. Show QR Code for commissioning": "Gerät ist nicht in Betrieb genommen. QR-Code zur Inbetriebnahme anzeigen", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Sie müssen oben die WLAN- oder Thread-Anmeldeinformationen konfigurieren, um BLE zu aktivieren!", "blind": "Blind", "cancelButtonText": "Abbrechen", + "copied": "Kopiert", "dimmer": "Dimmer", "door": "Tür", "fireAlarm": "Feueralarm", @@ -210,6 +213,7 @@ "media": "Medien", "motion": "Bewegung", "no IPv6": "kein IPv6", + "nothingToCopy": "Nichts zu kopieren", "okButtonText": "OK", "rgbSingle": "RGB-Licht", "slider": "Schieberegler", diff --git a/src-admin/src/i18n/en.json b/src-admin/src/i18n/en.json index 5dc3bd9..faa3d1e 100644 --- a/src-admin/src/i18n/en.json +++ b/src-admin/src/i18n/en.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Bluetooth configuration", + "Bridge Debug information": "Bridge Debug information", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Bridge is already commissioned. You cannot change the name or the vendor/product ID.", "Bridge is not commissioned. Show QR Code got commissioning": "Bridge is not commissioned. Show QR Code got commissioning", "Bridges": "Bridges", @@ -58,6 +59,7 @@ "Delete": "Delete", "Delete bridge": "Delete bridge", "Delete device": "Delete device", + "Device Debug information": "Device Debug information", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Device is already commissioned. You cannot change the name or the vendor/product ID.", "Device is already commissioning. Show status information": "Device is already commissioning. Show status information", "Device is not commissioned. Show QR Code for commissioning": "Device is not commissioned. Show QR Code for commissioninn", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "You need to configure WLAN or Thread credentials above to activate BLE!", "blind": "Blind", "cancelButtonText": "Cancel", + "copied": "Copied", "dimmer": "Dimmer", "door": "Door", "fireAlarm": "Fire alarm", @@ -210,6 +213,7 @@ "media": "Media", "motion": "Motion", "no IPv6": "no IPv6", + "nothingToCopy": "Nothing to copy", "okButtonText": "Ok", "rgbSingle": "RGB Light", "slider": "Slider", diff --git a/src-admin/src/i18n/es.json b/src-admin/src/i18n/es.json index 6b564b8..fa19768 100644 --- a/src-admin/src/i18n/es.json +++ b/src-admin/src/i18n/es.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "configuración bluetooth", + "Bridge Debug information": "Información de depuración del puente", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "El puente ya está en funcionamiento. No puede cambiar el nombre ni el ID del proveedor/producto.", "Bridge is not commissioned. Show QR Code got commissioning": "El puente no está en servicio. Mostrar código QR puesto en marcha", "Bridges": "Puentes", @@ -58,6 +59,7 @@ "Delete": "Borrar", "Delete bridge": "Eliminar puente", "Delete device": "Eliminar dispositivo", + "Device Debug information": "Información de depuración del dispositivo", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "El dispositivo ya está en funcionamiento. No puede cambiar el nombre ni el ID del proveedor/producto.", "Device is already commissioning. Show status information": "El dispositivo ya se está poniendo en marcha. Mostrar información de estado", "Device is not commissioned. Show QR Code for commissioning": "El dispositivo no está en servicio. Mostrar código QR para commissioninn", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "¡Necesita configurar las credenciales de WLAN o Thread arriba para activar BLE!", "blind": "Ciego", "cancelButtonText": "Cancelar", + "copied": "Copiado", "dimmer": "Regulador de intensidad", "door": "Puerta", "fireAlarm": "Alarma de incendios", @@ -210,6 +213,7 @@ "media": "Medios de comunicación", "motion": "Movimiento", "no IPv6": "Sin IPv6", + "nothingToCopy": "Nada que copiar", "okButtonText": "De acuerdo", "rgbSingle": "Luz RGB", "slider": "Control deslizante", diff --git a/src-admin/src/i18n/fr.json b/src-admin/src/i18n/fr.json index e09698e..9a57af3 100644 --- a/src-admin/src/i18n/fr.json +++ b/src-admin/src/i18n/fr.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Configuration Bluetooth", + "Bridge Debug information": "Informations de débogage du pont", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Le pont est déjà mis en service. Vous ne pouvez pas modifier le nom ou l'ID du fournisseur/produit.", "Bridge is not commissioned. Show QR Code got commissioning": "Le pont n'est pas mis en service. Afficher le code QR mis en service", "Bridges": "Des ponts", @@ -58,6 +59,7 @@ "Delete": "Supprimer", "Delete bridge": "Supprimer le pont", "Delete device": "Supprimer l'appareil", + "Device Debug information": "Informations de débogage de l'appareil", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "L'appareil est déjà mis en service. Vous ne pouvez pas modifier le nom ou l'ID du fournisseur/produit.", "Device is already commissioning. Show status information": "L'appareil est déjà en cours de mise en service. Afficher les informations d'état", "Device is not commissioned. Show QR Code for commissioning": "L'appareil n'est pas mis en service. Afficher le code QR pour la mise en service", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Vous devez configurer les informations d'identification WLAN ou Thread ci-dessus pour activer BLE !", "blind": "Aveugle", "cancelButtonText": "Annuler", + "copied": "Copié", "dimmer": "Variateur", "door": "Porte", "fireAlarm": "Alarme incendie", @@ -210,6 +213,7 @@ "media": "Médias", "motion": "Mouvement", "no IPv6": "pas d'IPv6", + "nothingToCopy": "Rien à copier", "okButtonText": "D'accord", "rgbSingle": "Lumière RVB", "slider": "Glissière", diff --git a/src-admin/src/i18n/it.json b/src-admin/src/i18n/it.json index ce9ed36..cc22ac1 100644 --- a/src-admin/src/i18n/it.json +++ b/src-admin/src/i18n/it.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Configurazione Bluetooth", + "Bridge Debug information": "Informazioni di debug del bridge", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Il ponte è già commissionato. Non è possibile modificare il nome o l'ID fornitore/prodotto.", "Bridge is not commissioned. Show QR Code got commissioning": "Il ponte non è commissionato. Mostra il codice QR ha ricevuto la messa in servizio", "Bridges": "Ponti", @@ -58,6 +59,7 @@ "Delete": "Eliminare", "Delete bridge": "Elimina ponte", "Delete device": "Elimina dispositivo", + "Device Debug information": "Informazioni di debug del dispositivo", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Il dispositivo è già messo in servizio. Non è possibile modificare il nome o l'ID fornitore/prodotto.", "Device is already commissioning. Show status information": "Il dispositivo è già in fase di messa in servizio. Mostra informazioni sullo stato", "Device is not commissioned. Show QR Code for commissioning": "Il dispositivo non è in funzione. Mostra il codice QR per la messa in funzione", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "È necessario configurare le credenziali WLAN o Thread sopra per attivare BLE!", "blind": "Cieco", "cancelButtonText": "Cancellare", + "copied": "Copiato", "dimmer": "Dimmer", "door": "Porta", "fireAlarm": "Allarme antincendio", @@ -210,6 +213,7 @@ "media": "Media", "motion": "Movimento", "no IPv6": "nessun IPv6", + "nothingToCopy": "Niente da copiare", "okButtonText": "OK", "rgbSingle": "Luce RGB", "slider": "Dispositivo di scorrimento", diff --git a/src-admin/src/i18n/nl.json b/src-admin/src/i18n/nl.json index ffdbe79..5d248a2 100644 --- a/src-admin/src/i18n/nl.json +++ b/src-admin/src/i18n/nl.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Bluetooth-configuratie", + "Bridge Debug information": "Bridge Debug-informatie", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "De brug is al in gebruik genomen. U kunt de naam of de leverancier/product-ID niet wijzigen.", "Bridge is not commissioned. Show QR Code got commissioning": "Brug is niet in gebruik genomen. QR-code weergeven kreeg inbedrijfstelling", "Bridges": "Bruggen", @@ -58,6 +59,7 @@ "Delete": "Verwijderen", "Delete bridge": "Brug verwijderen", "Delete device": "Apparaat verwijderen", + "Device Debug information": "Informatie over apparaatdebuggen", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Apparaat is al in gebruik genomen. U kunt de naam of de leverancier/product-ID niet wijzigen.", "Device is already commissioning. Show status information": "Apparaat is al in bedrijf. Statusinformatie weergeven", "Device is not commissioned. Show QR Code for commissioning": "Apparaat is niet in bedrijf gesteld. QR-code voor commissioninn weergeven", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "U moet hierboven WLAN- of Thread-inloggegevens configureren om BLE te activeren!", "blind": "Blind", "cancelButtonText": "Annuleren", + "copied": "Gekopieerd", "dimmer": "Dimmer", "door": "Deur", "fireAlarm": "Brandalarm", @@ -210,6 +213,7 @@ "media": "Media", "motion": "Beweging", "no IPv6": "geen IPv6", + "nothingToCopy": "Niets te kopiëren", "okButtonText": "OK", "rgbSingle": "RGB-licht", "slider": "Schuifregelaar", diff --git a/src-admin/src/i18n/pl.json b/src-admin/src/i18n/pl.json index 45f6b52..3f7f980 100644 --- a/src-admin/src/i18n/pl.json +++ b/src-admin/src/i18n/pl.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Konfiguracja Bluetooth", + "Bridge Debug information": "Informacje o debugowaniu mostu", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Most jest już oddany do użytku. Nie można zmienić nazwy ani identyfikatora dostawcy/produktu.", "Bridge is not commissioned. Show QR Code got commissioning": "Most nie jest oddany do użytku. Pokaż kod QR, który został uruchomiony", "Bridges": "Mosty", @@ -58,6 +59,7 @@ "Delete": "Usuwać", "Delete bridge": "Usuń most", "Delete device": "Usuń urządzenie", + "Device Debug information": "Informacje o debugowaniu urządzenia", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Urządzenie zostało już uruchomione. Nie można zmienić nazwy ani identyfikatora dostawcy/produktu.", "Device is already commissioning. Show status information": "Urządzenie jest już uruchamiane. Pokaż informacje o stanie", "Device is not commissioned. Show QR Code for commissioning": "Urządzenie nie jest uruchomione. Pokaż kod QR dla commissioninn", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Aby aktywować BLE, musisz skonfigurować dane uwierzytelniające WLAN lub wątek powyżej!", "blind": "Ślepy", "cancelButtonText": "Anulować", + "copied": "Skopiowano", "dimmer": "Opornik", "door": "Drzwi", "fireAlarm": "Alarm przeciwpożarowy", @@ -210,6 +213,7 @@ "media": "Głoska bezdźwięczna", "motion": "Ruch", "no IPv6": "brak IPv6", + "nothingToCopy": "Nic do kopiowania", "okButtonText": "OK", "rgbSingle": "Światło RGB", "slider": "Suwak", diff --git a/src-admin/src/i18n/pt.json b/src-admin/src/i18n/pt.json index ad93ce1..688f03e 100644 --- a/src-admin/src/i18n/pt.json +++ b/src-admin/src/i18n/pt.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Configuração Bluetooth", + "Bridge Debug information": "Informações de depuração da ponte", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "A ponte já está comissionada. Você não pode alterar o nome ou o ID do fornecedor/produto.", "Bridge is not commissioned. Show QR Code got commissioning": "A ponte não está comissionada. Mostrar QR Code foi comissionado", "Bridges": "Pontes", @@ -58,6 +59,7 @@ "Delete": "Excluir", "Delete bridge": "Excluir ponte", "Delete device": "Excluir dispositivo", + "Device Debug information": "Informações de depuração do dispositivo", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "O dispositivo já está comissionado. Você não pode alterar o nome ou o ID do fornecedor/produto.", "Device is already commissioning. Show status information": "O dispositivo já está em comissionamento. Mostrar informações de status", "Device is not commissioned. Show QR Code for commissioning": "O dispositivo não está comissionado. Mostrar QR Code para comissioninn", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Você precisa configurar as credenciais WLAN ou Thread acima para ativar o BLE!", "blind": "Cego", "cancelButtonText": "Cancelar", + "copied": "Copiado", "dimmer": "Obscuro", "door": "Porta", "fireAlarm": "Alarme de incêndio", @@ -210,6 +213,7 @@ "media": "meios de comunicação", "motion": "Movimento", "no IPv6": "sem IPv6", + "nothingToCopy": "Nada para copiar", "okButtonText": "OK", "rgbSingle": "Luz RGB", "slider": "Controle deslizante", diff --git a/src-admin/src/i18n/ru.json b/src-admin/src/i18n/ru.json index 8c9ea1b..4d9fa70 100644 --- a/src-admin/src/i18n/ru.json +++ b/src-admin/src/i18n/ru.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "Конфигурация Bluetooth", + "Bridge Debug information": "Информация об отладке моста", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Мост уже сдан в эксплуатацию. Вы не можете изменить имя или идентификатор поставщика/продукта.", "Bridge is not commissioned. Show QR Code got commissioning": "Мост не сдан в эксплуатацию. Показать QR-код введен в эксплуатацию", "Bridges": "Мосты", @@ -58,6 +59,7 @@ "Delete": "Удалить", "Delete bridge": "Удалить мост", "Delete device": "Удалить устройство", + "Device Debug information": "Информация об отладке устройства", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Устройство уже введено в эксплуатацию. Вы не можете изменить имя или идентификатор поставщика/продукта.", "Device is already commissioning. Show status information": "Устройство уже вводится в эксплуатацию. Показать информацию о статусе", "Device is not commissioned. Show QR Code for commissioning": "Устройство не введено в эксплуатацию. Показать QR-код для commissioninn", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Вам необходимо настроить учетные данные WLAN или Thread, указанные выше, чтобы активировать BLE!", "blind": "Слепой", "cancelButtonText": "Отмена", + "copied": "Скопировано", "dimmer": "Диммер", "door": "Дверь", "fireAlarm": "Пожарная тревога", @@ -210,6 +213,7 @@ "media": "СМИ", "motion": "Движение", "no IPv6": "нет IPv6", + "nothingToCopy": "Нечего копировать", "okButtonText": "Хорошо", "rgbSingle": "RGB-свет", "slider": "Слайдер", diff --git a/src-admin/src/i18n/uk.json b/src-admin/src/i18n/uk.json index 7d85178..1c556d3 100644 --- a/src-admin/src/i18n/uk.json +++ b/src-admin/src/i18n/uk.json @@ -29,6 +29,7 @@ "Bluetooth": "Bluetooth", "Bluetooth HCI ID": "Bluetooth HCI ID", "Bluetooth configuration": "конфігурація Bluetooth", + "Bridge Debug information": "Інформація про налагодження мосту", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "Міст вже зданий в експлуатацію. Ви не можете змінити назву чи ідентифікатор постачальника/продукту.", "Bridge is not commissioned. Show QR Code got commissioning": "Міст не зданий в експлуатацію. Показати QR-код введено в експлуатацію", "Bridges": "Мости", @@ -58,6 +59,7 @@ "Delete": "Видалити", "Delete bridge": "Видалити міст", "Delete device": "Видалити пристрій", + "Device Debug information": "Інформація про налагодження пристрою", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "Апарат вже зданий в експлуатацію. Ви не можете змінити назву чи ідентифікатор постачальника/продукту.", "Device is already commissioning. Show status information": "Пристрій вже введено в експлуатацію. Показати інформацію про стан", "Device is not commissioned. Show QR Code for commissioning": "Апарат не зданий в експлуатацію. Показати QR-код для комісії", @@ -153,7 +155,7 @@ "Select/Unselect all devices in room": "Виберіть/Скасуйте вибір усіх пристроїв у кімнаті", "Show QR Code for commissioning": "Показати QR-код для введення в експлуатацію", "Show additional information": "Показати додаткову інформацію", - "Show debug information": "", + "Show debug information": "Показати інформацію про налагодження", "Show error": "Показати помилку", "Show readme page": "Показати сторінку readme", "Show unsupported devices": "Показати непідтримувані пристрої", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "Щоб активувати BLE, вам потрібно налаштувати облікові дані WLAN або Thread вище!", "blind": "Сліпий", "cancelButtonText": "Скасувати", + "copied": "Скопійовано", "dimmer": "Диммер", "door": "двері", "fireAlarm": "Пожежна тривога", @@ -210,6 +213,7 @@ "media": "ЗМІ", "motion": "Рух", "no IPv6": "немає IPv6", + "nothingToCopy": "Копіювати нічого", "okButtonText": "Добре", "rgbSingle": "Світло RGB", "slider": "повзунок", diff --git a/src-admin/src/i18n/zh-cn.json b/src-admin/src/i18n/zh-cn.json index bddf6dd..2ba59da 100644 --- a/src-admin/src/i18n/zh-cn.json +++ b/src-admin/src/i18n/zh-cn.json @@ -29,6 +29,7 @@ "Bluetooth": "蓝牙", "Bluetooth HCI ID": "蓝牙 HCI 标识", "Bluetooth configuration": "蓝牙配置", + "Bridge Debug information": "桥接调试信息", "Bridge is already commissioned. You cannot change the name or the vendor/product ID.": "大桥已经投入使用。您无法更改名称或供应商/产品 ID。", "Bridge is not commissioned. Show QR Code got commissioning": "桥梁尚未投入使用。显示二维码 已调试", "Bridges": "桥梁", @@ -58,6 +59,7 @@ "Delete": "删除", "Delete bridge": "删除桥", "Delete device": "删除设备", + "Device Debug information": "设备调试信息", "Device is already commissioned. You cannot change the name or the vendor/product ID.": "设备已投入使用。您无法更改名称或供应商/产品 ID。", "Device is already commissioning. Show status information": "设备已经投入调试。显示状态信息", "Device is not commissioned. Show QR Code for commissioning": "设备未调试。显示 commissioninn 的二维码", @@ -196,6 +198,7 @@ "You need to configure WLAN or Thread credentials above to activate BLE": "您需要配置上面的 WLAN 或 Thread 凭证来激活 BLE!", "blind": "瞎的", "cancelButtonText": "取消", + "copied": "已复制", "dimmer": "调光器", "door": "门", "fireAlarm": "火警", @@ -210,6 +213,7 @@ "media": "媒体", "motion": "运动", "no IPv6": "没有 IPv6", + "nothingToCopy": "沒有可复制", "okButtonText": "好的", "rgbSingle": "RGB灯", "slider": "滑块", diff --git a/src/matter/BaseServerNode.ts b/src/matter/BaseServerNode.ts index 818c3ad..a9d963e 100644 --- a/src/matter/BaseServerNode.ts +++ b/src/matter/BaseServerNode.ts @@ -172,12 +172,11 @@ export abstract class BaseServerNode implements GeneralNode { minWidth: 610, title: `${this.type === 'bridges' && !('bridgedDeviceUuid' in message) ? 'Bridge' : 'Device'} Debug information`, buttons: [ - // TODO : UI must support it - /*{ + { type: 'copyToClipboard', label: this.adapter.getText('Copy to clipboard'), copyToClipboardAttr: 'debugInfos', - },*/ + }, { type: 'close', label: this.adapter.getText('Close'),