Skip to content

Commit

Permalink
Changed time for device identify (#342)
Browse files Browse the repository at this point in the history
changed label and translation for device identify time from 30s to 10s
  • Loading branch information
Feuer-sturm authored Jan 24, 2025
1 parent 8295375 commit 4dee263
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/lib/DeviceManagement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ class MatterAdapterDeviceManagement extends DeviceManagement<MatterAdapter> {
): Promise<{ refresh: DeviceRefresh }> {
await device.identify();

await context.showMessage(this.#adapter.t(`The device should now identify itself for 30 seconds.`));
await context.showMessage(this.#adapter.t(`The device should now identify itself for 10 seconds.`));

return { refresh: false };
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Knoten umbenennen",
"Rename this device": "Dieses Gerät umbenennen",
"Rename this node": "Diesen Knoten umbenennen",
"The device should now identify itself for 30 seconds.": "Das Gerät sollte sich nun 30 Sekunden lang identifizieren.",
"The device should now identify itself for 10 seconds.": "Das Gerät sollte sich nun 10 Sekunden lang identifizieren.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "Der Knoten ist derzeit nicht verbunden. Wenn Sie das Pairing jetzt aufheben, müssen Sie den Knoten auf die Werkseinstellungen zurücksetzen, um ihn wieder in Betrieb zu nehmen. Sind Sie sicher?",
"Unpair this node": "Diesen Knoten entkoppeln",
"Unpairing node...": "Knoten wird entkoppelt...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Rename node",
"Rename this device": "Rename this device",
"Rename this node": "Rename this node",
"The device should now identify itself for 30 seconds.": "The device should now identify itself for 30 seconds.",
"The device should now identify itself for 10 seconds.": "The device should now identify itself for 10 seconds.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?",
"Unpair this node": "Unpair this node",
"Unpairing node...": "Unpairing node...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Renombrar nodo",
"Rename this device": "Cambiar el nombre de este dispositivo",
"Rename this node": "Cambiar el nombre de este nodo",
"The device should now identify itself for 30 seconds.": "El dispositivo ahora debería identificarse durante 30 segundos.",
"The device should now identify itself for 10 seconds.": "El dispositivo ahora debería identificarse durante 10 segundos.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "El nodo no está conectado actualmente. Cuando lo desemparejes ahora tendrás que restablecer de fábrica el nodo para volver a ponerlo en funcionamiento. ¿Está seguro?",
"Unpair this node": "Desemparejar este nodo",
"Unpairing node...": "Desvinculando nodo...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Renommer un nœud",
"Rename this device": "Renommer cet appareil",
"Rename this node": "Renommer ce nœud",
"The device should now identify itself for 30 seconds.": "L'appareil devrait maintenant s'identifier pendant 30 secondes.",
"The device should now identify itself for 10 seconds.": "L'appareil devrait maintenant s'identifier pendant 10 secondes.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "Le nœud n'est actuellement pas connecté. Lorsque vous le désassemblez, vous devez réinitialiser le nœud pour qu'il soit à nouveau opérationnel. Êtes-vous sûr ?",
"Unpair this node": "Désappariement de ce nœud",
"Unpairing node...": "Nœud dissocié...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Rinominare il nodo",
"Rename this device": "Rinomina questo dispositivo",
"Rename this node": "Rinominare questo nodo",
"The device should now identify itself for 30 seconds.": "Ora il dispositivo dovrebbe identificarsi per 30 secondi.",
"The device should now identify itself for 10 seconds.": "Ora il dispositivo dovrebbe identificarsi per 10 secondi.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "Il nodo non è attualmente collegato. Quando lo si disaccoppia, è necessario ripristinare le impostazioni di fabbrica del nodo per metterlo nuovamente in funzione. È sicuro?",
"Unpair this node": "Disaccoppiamento di questo nodo",
"Unpairing node...": "Disaccoppiamento del nodo in corso...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Node hernoemen",
"Rename this device": "Hernoem dit apparaat",
"Rename this node": "Hernoem dit knooppunt",
"The device should now identify itself for 30 seconds.": "Het apparaat zou zichzelf nu 30 seconden lang moeten identificeren.",
"The device should now identify itself for 10 seconds.": "Het apparaat zou zichzelf nu 10 seconden lang moeten identificeren.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "De node is momenteel niet verbonden. Als je hem nu ontkoppelt, moet je de node een fabrieksreset geven om hem weer in gebruik te kunnen nemen. Weet je het zeker?",
"Unpair this node": "Ontkoppel dit knooppunt",
"Unpairing node...": "Knooppunt ontkoppelen...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Zmiana nazwy węzła",
"Rename this device": "Zmień nazwę tego urządzenia",
"Rename this node": "Zmień nazwę tego węzła",
"The device should now identify itself for 30 seconds.": "Urządzenie powinno teraz identyfikować się przez 30 sekund.",
"The device should now identify itself for 10 seconds.": "Urządzenie powinno teraz identyfikować się przez 10 sekund.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "Węzeł nie jest obecnie podłączony. Po rozparowaniu należy przywrócić ustawienia fabryczne, aby ponownie uruchomić węzeł. Czy na pewno?",
"Unpair this node": "Rozparuj ten węzeł",
"Unpairing node...": "Rozparowywanie węzła...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Mudar o nome do nó",
"Rename this device": "Renomear este dispositivo",
"Rename this node": "Mudar o nome deste nó",
"The device should now identify itself for 30 seconds.": "O dispositivo agora deve se identificar por 30 segundos.",
"The device should now identify itself for 10 seconds.": "O dispositivo agora deve se identificar por 10 segundos.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "O nó não está atualmente ligado. Quando o desemparelhar, terá de repor as predefinições do nó para o colocar novamente em funcionamento. Tem a certeza?",
"Unpair this node": "Desemparelhar este nó",
"Unpairing node...": "Desemparelhando nó...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Переименовать узел",
"Rename this device": "Переименуйте это устройство",
"Rename this node": "Переименуйте этот узел",
"The device should now identify itself for 30 seconds.": "Теперь устройство должно идентифицировать себя в течение 30 секунд.",
"The device should now identify itself for 10 seconds.": "Теперь устройство должно идентифицировать себя в течение 10 секунд.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "В настоящее время узел не подключен. При снятии сопряжения необходимо выполнить заводской сброс узла, чтобы он снова начал работать. Вы уверены?",
"Unpair this node": "Отсоедините этот узел",
"Unpairing node...": "Отсоединение узла...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "Перейменувати вузол",
"Rename this device": "Перейменуйте цей пристрій",
"Rename this node": "Перейменуйте цей вузол",
"The device should now identify itself for 30 seconds.": "Тепер пристрій має ідентифікувати себе протягом 30 секунд.",
"The device should now identify itself for 10 seconds.": "Тепер пристрій має ідентифікувати себе протягом 10 секунд.",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "Наразі вузол не підключено. Коли ви від'єднаєте його зараз, вам потрібно буде скинути до заводських налаштувань, щоб знову ввести вузол в експлуатацію. Ви впевнені?",
"Unpair this node": "Від'єднайте цей вузол від пари",
"Unpairing node...": "Відключення вузла...",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/i18n/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Rename node": "重命名节点",
"Rename this device": "重命名此设备",
"Rename this node": "重命名该节点",
"The device should now identify itself for 30 seconds.": "该设备现在应该能够在 30 秒内识别自己。",
"The device should now identify itself for 10 seconds.": "该设备现在应该能够在 10 秒内识别自己。",
"The node is currently not connected. When you unpair it now you need to factory reset the node to commission again. Are you sure?": "该节点当前未连接。现在取消配对时,您需要将节点恢复出厂设置才能再次投入使用。您确定吗?",
"Unpair this node": "取消此节点的配对",
"Unpairing node...": "取消配对节点...",
Expand Down

0 comments on commit 4dee263

Please sign in to comment.