Skip to content

Commit

Permalink
Show message about 15 minutes for announcement: #206
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Dec 29, 2024
1 parent ea4a97d commit 2ce18ce
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src-admin/src/Tabs/BridgesAndDevices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ class BridgesAndDevices<TProps extends BridgesAndDevicesProps, TState extends Br
variant="standard"
sx={{ marginTop: 1 }}
/>
<div style={{ fontStyle: 'italic', fontSize: 14, width: '100%' }}>
{I18n.t('Announcement will stop automatically after 15 minutes')}
</div>
</DialogContent>
<DialogActions>
<Button
Expand Down
4 changes: 2 additions & 2 deletions src-admin/src/Tabs/Devices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ class Devices extends BridgesAndDevices<DevicesProps, DevicesState> {
addDeviceDialog: null,
addCustomDeviceDialog: {
oid,
name,
name: name || '',
deviceType: '',
noComposed: false,
vendorID: '0xFFF1',
Expand All @@ -890,7 +890,7 @@ class Devices extends BridgesAndDevices<DevicesProps, DevicesState> {
addDeviceDialog: null,
addCustomDeviceDialog: {
oid,
name,
name: name || '',
deviceType,
hasOnState: controls[0].devices[0].hasOnState,
vendorID: '0xFFF1',
Expand Down
3 changes: 2 additions & 1 deletion src-admin/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Alle Informationen dieses Geräts oder dieser Bridge werden gelöscht und Sie müssen die Verbindung (mit PIN oder QR-Code) erneut herstellen.",
"All interfaces": "Alle Schnittstellen",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Der Controller und alle Geräte und Bridges werden auf die Werkseinstellungen zurückgesetzt. \nDadurch werden die Pairing- und aktuellen Werte für alle Geräte, Bridges und auch gepaarten Geräte im Controller gelöscht. Sie können dies nicht rückgängig machen.\nDie allgemeine Konfiguration des Controllers und die zugewiesenen ioBroker-Zustände für die Bridges und Geräte bleiben unverändert.",
"Announcement will stop automatically after 15 minutes": "Die Durchsage wird nach 15 Minuten automatisch beendet",
"Apply": "Anwenden",
"Are you sure?": "Bist du sicher?",
"At least one bridge must be enabled": "Mindestens eine Bridge muss aktiviert sein",
Expand Down Expand Up @@ -113,7 +114,7 @@
"Provide your Thread or WiFi information or both!": "Geben Sie Ihre Thread- oder WiFi-Informationen oder beides an!",
"QR Code": "QR-Code",
"QR Code to connect": "QR-Code zum Verbinden",
"Re-Announce": "Re-announce",
"Re-Announce": "Pairing neu starten",
"Reconnect to backend": "Erneute Verbindung zum Backend herstellen",
"Required": "Erforderlich",
"Requirements: add via QR Code": "Voraussetzung: Das Matter-Gerät muss bereits mit einem anderen Matter-System (z. B. Google, Apple, Alexa, …) verbunden sein. Hier musst du den QR-Code-Pairing-Code eingeben oder den QR-Code scannen, der vom Matter-Ökosystem (z. B. Google Home) für dieses Matter-Gerät in der App bereitgestellt wird.",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.",
"All interfaces": "All interfaces",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "The Controller and all devices and bridges will be rest to factory defaults. \nThis deletes the pairing and current values for all devices, bridges and also paired devices in the controller. You cannot undo it.\nThe general configuration of the controller, and the assigned ioBroker states for the bridges and devices will stay unchanged.",
"Announcement will stop automatically after 15 minutes": "Announcement will stop automatically after 15 minutes",
"Apply": "Apply",
"Are you sure?": "Are you sure?",
"At least one bridge must be enabled": "At least one bridge must be enabled",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Se eliminará toda la información de este dispositivo o puente y deberás volver a conectarte (con PIN o código QR) nuevamente.",
"All interfaces": "Todas las interfaces",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "El controlador y todos los dispositivos y puentes volverán a los valores predeterminados de fábrica. \nEsto elimina el emparejamiento y los valores actuales de todos los dispositivos, puentes y también los dispositivos emparejados en el controlador. No puedes deshacerlo.\nLa configuración general del controlador y los estados de ioBroker asignados para los puentes y dispositivos permanecerán sin cambios.",
"Announcement will stop automatically after 15 minutes": "El anuncio se detendrá automáticamente después de 15 minutos.",
"Apply": "Aplicar",
"Are you sure?": "¿Está seguro?",
"At least one bridge must be enabled": "Al menos un puente debe estar habilitado.",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Toutes les informations de cet appareil ou pont seront supprimées et vous devrez vous reconnecter (avec code PIN ou QR) à nouveau.",
"All interfaces": "Toutes les interfaces",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Le contrôleur et tous les appareils et ponts seront restaurés aux paramètres d'usine par défaut. \nCela supprime les valeurs d'appariement et de courant pour tous les appareils, ponts ainsi que les appareils appairés dans le contrôleur. Vous ne pouvez pas l'annuler.\nLa configuration générale du contrôleur et les états ioBroker attribués aux ponts et aux appareils resteront inchangés.",
"Announcement will stop automatically after 15 minutes": "L'annonce s'arrêtera automatiquement après 15 minutes",
"Apply": "Appliquer",
"Are you sure?": "Es-tu sûr?",
"At least one bridge must be enabled": "Au moins un pont doit être activé",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Tutte le informazioni di questo dispositivo o bridge verranno eliminate e sarà necessario riconnettersi nuovamente (tramite PIN o codice QR).",
"All interfaces": "Tutte le interfacce",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Il Controller, tutti i dispositivi e i bridge verranno ripristinati alle impostazioni di fabbrica. \nIn questo modo vengono cancellati l'accoppiamento e i valori attuali per tutti i dispositivi, i bridge e anche i dispositivi accoppiati nel controller. Non puoi annullarlo.\nLa configurazione generale del controller e gli stati ioBroker assegnati ai bridge e ai dispositivi rimarranno invariati.",
"Announcement will stop automatically after 15 minutes": "L'annuncio si interromperà automaticamente dopo 15 minuti",
"Apply": "Fare domanda a",
"Are you sure?": "Sei sicuro?",
"At least one bridge must be enabled": "Almeno un bridge deve essere abilitato",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Alle gegevens van dit apparaat of deze brug worden verwijderd en u moet opnieuw verbinding maken (met pincode of QR-code).",
"All interfaces": "Alle interfaces",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "De controller en alle apparaten en bruggen worden teruggezet naar de fabrieksinstellingen. \nHierdoor worden de koppelings- en huidige waarden voor alle apparaten, bruggen en ook gekoppelde apparaten in de controller verwijderd. Je kunt het niet ongedaan maken.\nDe algemene configuratie van de controller en de toegewezen ioBroker-statussen voor de bruggen en apparaten blijven ongewijzigd.",
"Announcement will stop automatically after 15 minutes": "De aankondiging stopt automatisch na 15 minuten",
"Apply": "Toepassen",
"Are you sure?": "Weet je het zeker?",
"At least one bridge must be enabled": "Er moet minimaal één brug zijn ingeschakeld",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Wszystkie informacje dotyczące tego urządzenia lub mostu zostaną usunięte i konieczne będzie ponowne nawiązanie połączenia (za pomocą kodu PIN lub QR).",
"All interfaces": "Wszystkie interfejsy",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Kontroler oraz wszystkie urządzenia i mosty zostaną przywrócone do ustawień fabrycznych. \nSpowoduje to usunięcie parowania i bieżących wartości wszystkich urządzeń, mostów, a także sparowanych urządzeń w kontrolerze. Nie możesz tego cofnąć.\nOgólna konfiguracja kontrolera oraz przypisane stany ioBroker dla mostów i urządzeń pozostaną niezmienione.",
"Announcement will stop automatically after 15 minutes": "Ogłoszenie zostanie automatycznie zakończone po 15 minutach",
"Apply": "Stosować",
"Are you sure?": "Jesteś pewny?",
"At least one bridge must be enabled": "Przynajmniej jeden most musi być włączony",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Todas as informações deste dispositivo ou ponte serão excluídas e você deverá se reconectar (com PIN ou código QR) novamente.",
"All interfaces": "Todas as interfaces",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "O controlador e todos os dispositivos e pontes retornarão aos padrões de fábrica. \nIsso exclui os valores atuais e de emparelhamento de todos os dispositivos, pontes e também dos dispositivos emparelhados no controlador. Você não pode desfazer isso.\nA configuração geral do controlador e os estados atribuídos do ioBroker para as pontes e dispositivos permanecerão inalterados.",
"Announcement will stop automatically after 15 minutes": "O anúncio será interrompido automaticamente após 15 minutos",
"Apply": "Aplicar",
"Are you sure?": "Tem certeza?",
"At least one bridge must be enabled": "Pelo menos uma ponte deve estar habilitada",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Вся информация об этом устройстве или мосте будет удалена, и вам придется заново подключиться (с помощью PIN-кода или QR-кода).",
"All interfaces": "Все интерфейсы",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Для контроллера, всех устройств и мостов будут восстановлены заводские настройки по умолчанию. \nПри этом удаляются сопряженные и текущие значения для всех устройств, мостов, а также сопряженных устройств в контроллере. Вы не можете отменить это.\nОбщая конфигурация контроллера и назначенные состояния ioBroker для мостов и устройств останутся неизменными.",
"Announcement will stop automatically after 15 minutes": "Объявление автоматически прекратится через 15 минут.",
"Apply": "Применять",
"Are you sure?": "Вы уверены?",
"At least one bridge must be enabled": "Хотя бы один мост должен быть включен",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "Усю інформацію про цей пристрій або міст буде видалено, і вам доведеться знову підключитися (за допомогою PIN-коду або QR-коду).",
"All interfaces": "Всі інтерфейси",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "Контролер, усі пристрої та мости будуть відновлені до заводських налаштувань. \nЦе видаляє сполучення та поточні значення для всіх пристроїв, мостів, а також сполучених пристроїв у контролері. Ви не можете скасувати це.\nЗагальна конфігурація контролера та призначені стани ioBroker для мостів і пристроїв залишаться незмінними.",
"Announcement will stop automatically after 15 minutes": "Оголошення автоматично припиниться через 15 хвилин",
"Apply": "Застосувати",
"Are you sure?": "Ти впевнений?",
"At least one bridge must be enabled": "Принаймні один міст має бути ввімкнено",
Expand Down
1 change: 1 addition & 0 deletions src-admin/src/i18n/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"All information of this device or bridge will be deleted and you must reconnect (with PIN or QR code) again.": "此设备或网桥的所有信息将被删除,您必须重新连接(使用 PIN 或二维码)。",
"All interfaces": "所有接口",
"All state information of matter controller and devices will be deleted. You cannot undo it.": "控制器和所有设备和桥接器将恢复为出厂默认设置。\n这将删除控制器中所有设备、桥接器和配对设备的配对和当前值。您无法撤消此操作。\n控制器的一般配置以及桥接器和设备的指定 ioBroker 状态将保持不变。",
"Announcement will stop automatically after 15 minutes": "15分钟后播报自动停止",
"Apply": "申请",
"Are you sure?": "你确定吗?",
"At least one bridge must be enabled": "必须至少启用一个桥",
Expand Down

0 comments on commit 2ce18ce

Please sign in to comment.