Skip to content

Commit

Permalink
network widget - explain why ni list is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Oct 6, 2024
1 parent 25f4e1e commit 993d3fb
Show file tree
Hide file tree
Showing 29 changed files with 89 additions and 62 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to `homebridge-config-ui-x` will be documented in this file.
### UI Changes

- fix gsh plugin custom ui
- network widget - explain why ni list is empty

### Homebridge Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ <h5 class="modal-title">{{ 'status.widget.title_manage_widget' | translate }}</h
[(ngModel)]="widget.location"
/>
</div>
<p class="muted grey-text font-italic text-center">Weather data is provided by OpenWeather.</p>
<p class="muted grey-text text-center">Weather data is provided by OpenWeather.</p>
</div>
<div *ngSwitchCase="'AccessoriesWidgetComponent'">
<p class="muted grey-text font-italic text-center">
{{ 'status.widget.accessories.choose_accessories' | translate }}
</p>
<p class="muted grey-text text-center">{{ 'status.widget.accessories.choose_accessories' | translate }}</p>
</div>
<div *ngSwitchCase="'HomebridgeStatusWidgetComponent'">
<div class="form-group row align-items-center">
Expand Down Expand Up @@ -168,7 +166,7 @@ <h5 class="modal-title">{{ 'status.widget.title_manage_widget' | translate }}</h
</div>
</div>
</div>
<p class="muted grey-text font-italic text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
<p class="muted grey-text text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
</div>
<div *ngSwitchCase="'MemoryWidgetComponent'">
<div class="form-group row align-items-center">
Expand Down Expand Up @@ -205,17 +203,18 @@ <h5 class="modal-title">{{ 'status.widget.title_manage_widget' | translate }}</h
</div>
</div>
</div>
<p class="muted grey-text font-italic text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
<p class="muted grey-text text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
</div>
<div *ngSwitchCase="'NetworkWidgetComponent'">
<div class="form-group row align-items-center">
<label class="col-6 col-form-label"> {{ 'status.widget.network.network_interface' | translate }} </label>
<div class="col-6">
<select class="custom-select" [(ngModel)]="widget.networkInterface">
<select *ngIf="networkInterfaces.length" class="custom-select" [(ngModel)]="widget.networkInterface">
<option *ngFor="let networkInterface of networkInterfaces" [value]="networkInterface">
{{ networkInterface }}
</option>
</select>
<span *ngIf="!networkInterfaces.length">{{ 'status.widget.network.none_selected' | translate }}</span>
</div>
</div>
<div class="form-group row align-items-center">
Expand Down Expand Up @@ -252,7 +251,7 @@ <h5 class="modal-title">{{ 'status.widget.title_manage_widget' | translate }}</h
</div>
</div>
</div>
<p class="muted grey-text font-italic text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
<p class="muted grey-text text-center">{{ 'status.widget.network.refresh_note' | translate }}</p>
</div>
</div>
</div>
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Непознат",
"accessories.control.unlocked": "Отключено",
"accessories.control_disabled": "Homebridge управлението на аксесоарите е изключено",
"accessories.message_for_more_information": "за повече информация.",
"accessories.hide_this_accessory": "Скрий аксесоара",
"accessories.message_for_more_information": "за повече информация.",
"accessories.message_must_use_insecure_mode": "За да управлявате вашите аксесоари Homebridge трябва да работи в insecure режим.",
"accessories.name": "Име",
"accessories.message_please_see": "Моля виж",
"accessories.name": "Име",
"accessories.room_name": "Име на стая",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Desconegut",
"accessories.control.unlocked": "Desbloquejat",
"accessories.control_disabled": "Control d'accessoris Homebridge desactivat",
"accessories.message_for_more_information": "per a més informació.",
"accessories.hide_this_accessory": "Amaga aquest accessori",
"accessories.message_for_more_information": "per a més informació.",
"accessories.message_must_use_insecure_mode": "Per controlar els teus accessoris has d'executar Homebridge en la manera insegur",
"accessories.name": "Nom",
"accessories.message_please_see": "Si us plau, mira",
"accessories.name": "Nom",
"accessories.room_name": "Nom de l'habitació",
"accessories.rooms_not_appear_in_homekit": "Les habitacions creades aquí no apareixeran en HomeKit, només són per a organitzar els accessoris en Homebridge UI.",
"accessories.settings_link": "Pots accedir a la configuració de Homebridge en qualsevol moment des del menú principal",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Interfície de Xarxa",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Interval d'actualització",
"status.widget.network.refresh_note": "Actualitza la pàgina perquè els canvis tinguin efecte.",
"status.widget.network.seconds": "segons",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Neznámý",
"accessories.control.unlocked": "Odemčený",
"accessories.control_disabled": "Ovládání příslušenství pro Homebridge je zakázáno",
"accessories.message_for_more_information": "pro více informací.",
"accessories.hide_this_accessory": "Skrýt toto příslušenství",
"accessories.message_for_more_information": "pro více informací.",
"accessories.message_must_use_insecure_mode": "Chcete-li ovládat své příslušenství, musíte mít systém Homebridge v režimu insecure (nedůvěryhodný).",
"accessories.name": "Název",
"accessories.message_please_see": "Prosím podívej se",
"accessories.name": "Název",
"accessories.room_name": "Jméno místnosti",
"accessories.rooms_not_appear_in_homekit": "Místnosti, které zde vytvoříte, se v HomeKit neobjeví. Jsou pouze pro přehlednost zobrazení příslušenství v Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Unbekannt",
"accessories.control.unlocked": "Aufgeschlossen",
"accessories.control_disabled": "Homebridge-Gerätesteuerung deaktiviert",
"accessories.message_for_more_information": "für mehr Informationen",
"accessories.hide_this_accessory": "Gerät versteckt",
"accessories.message_for_more_information": "für mehr Informationen",
"accessories.message_must_use_insecure_mode": "Um deine Geräte zu steuern, musst du Homebridge im unsicheren Modus ausführen.",
"accessories.name": "Name",
"accessories.message_please_see": "Bitte beachten",
"accessories.name": "Name",
"accessories.room_name": "Raumname",
"accessories.rooms_not_appear_in_homekit": "Die Räume, die du hier erstellst, werden nicht in HomeKit erscheinen. Sie sind nur zum Ordnen der Geräte innerhalb von Homebridge UI gedacht.",
"accessories.settings_link": "Sie können die Homebridge-Einstellungen jederzeit über das Hauptmenü oder durch Klicken auf das Zahnrad",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Netzwerkschnittstelle",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Aktualisierungsintervall",
"status.widget.network.refresh_note": "Aktualisiere die Seite, damit die Änderungen des Aktualisierungsintervalls wirksam werden.",
"status.widget.network.seconds": "Sekunden",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Unknown",
"accessories.control.unlocked": "Unlocked",
"accessories.control_disabled": "Homebridge Accessory Control Disabled",
"accessories.message_for_more_information": "for more information.",
"accessories.hide_this_accessory": "Hide this accessory",
"accessories.message_for_more_information": "for more information.",
"accessories.message_must_use_insecure_mode": "To control your accessories you must be running Homebridge in insecure mode.",
"accessories.name": "Name",
"accessories.message_please_see": "Please see",
"accessories.name": "Name",
"accessories.room_name": "Room Name",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Desconocido",
"accessories.control.unlocked": "Desbloqueado",
"accessories.control_disabled": "Control de accesorios Homebridge desactivado",
"accessories.message_for_more_information": "para más información.",
"accessories.hide_this_accessory": "Ocultar este accesorio",
"accessories.message_for_more_information": "para más información.",
"accessories.message_must_use_insecure_mode": "Para controlar tus accesorios debes ejecutar Homebridge en el modo inseguro.",
"accessories.name": "Nombre",
"accessories.message_please_see": "Por favor, mira",
"accessories.name": "Nombre",
"accessories.room_name": "Nombre de la habitación",
"accessories.rooms_not_appear_in_homekit": "Las habitaciones creadas aquí no aparecerán en HomeKit, son sólo para organizar los accesorios en Homebridge UI.",
"accessories.settings_link": "Puede acceder a la Configuración de Homebridge en cualquier momento desde el menú principal o haciendo clic en el engranaje (icono de rueda dentada).",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Inconnu",
"accessories.control.unlocked": "Déverrouillé",
"accessories.control_disabled": "Contrôle des accessoires Homebridge désactivé",
"accessories.message_for_more_information": "pour plus d'informations.",
"accessories.hide_this_accessory": "Masquer cet accessoire",
"accessories.message_for_more_information": "pour plus d'informations.",
"accessories.message_must_use_insecure_mode": "Pour contrôler vos accessoires vous devez lancer Homebridge en mode non sécurisé.",
"accessories.name": "Nom",
"accessories.message_please_see": "Merci de voir",
"accessories.name": "Nom",
"accessories.room_name": "Nom de la pièce",
"accessories.rooms_not_appear_in_homekit": "Les pièces que vous créez ici n'appairaitront pas dans HomeKit et ne sont utiles que pour aider à l'organisation des accessoires dans Homebridge UI.",
"accessories.settings_link": "Vous pouvez accéder aux paramètres Homebridge à tout moment à partir du menu principal ou en cliquant sur la roue crantée",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "לא ידוע",
"accessories.control.unlocked": "לא נעול",
"accessories.control_disabled": "אביזר הומברידג' לא פעיל",
"accessories.message_for_more_information": "למידע נוסף.",
"accessories.hide_this_accessory": "הסתר אביזר זה",
"accessories.message_for_more_information": "למידע נוסף.",
"accessories.message_must_use_insecure_mode": "על מנת לשלוט באיבזריך יש צורך להפעיל את הומברידג' במצב לא בטוח.",
"accessories.name": "שם",
"accessories.message_please_see": "אנא ראה",
"accessories.name": "שם",
"accessories.room_name": "שם חדר",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Unknown",
"accessories.control.unlocked": "Unlocked",
"accessories.control_disabled": "Homebridge kiegészítő vezérlő kikapcsolva",
"accessories.message_for_more_information": "további információkért.",
"accessories.hide_this_accessory": "Kiegészítő elrejtése",
"accessories.message_for_more_information": "további információkért.",
"accessories.message_must_use_insecure_mode": "A kiegészítők vezérléseihez a Homebridge-t insecure módban kell futtatni.",
"accessories.name": "Név",
"accessories.message_please_see": "Keresd meg",
"accessories.name": "Név",
"accessories.room_name": "Szoba neve",
"accessories.rooms_not_appear_in_homekit": "The rooms you create here will not appear in HomeKit, they are only for the organisation of accessories in the Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Tidak Dikenal",
"accessories.control.unlocked": "Tidak Dikunci",
"accessories.control_disabled": "Homebridge Kontrol Aksesoris Dinonaktifkan",
"accessories.message_for_more_information": "untuk informasi lebih lanjut.",
"accessories.hide_this_accessory": "Sembunyikan aksesoris ini",
"accessories.message_for_more_information": "untuk informasi lebih lanjut.",
"accessories.message_must_use_insecure_mode": "Untuk mengontrol aksesoris anda, anda harus menjalankan Homebridge dalam mode tidak aman.",
"accessories.name": "Nama",
"accessories.message_please_see": "Tolong lihat",
"accessories.name": "Nama",
"accessories.room_name": "Nama Ruangan",
"accessories.rooms_not_appear_in_homekit": "Ruangan yang anda buat di sini tidak akan muncul di HomeKit, hanya untuk pengaturan aksesoris di Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
5 changes: 3 additions & 2 deletions ui/src/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@
"accessories.control.unknown": "Sconosciuto",
"accessories.control.unlocked": "Sbloccato",
"accessories.control_disabled": "Controllo degli accessori disabilitato",
"accessories.message_for_more_information": "per più informazioni.",
"accessories.hide_this_accessory": "Nascondi accessorio",
"accessories.message_for_more_information": "per più informazioni.",
"accessories.message_must_use_insecure_mode": "Per controllare i tuoi accessori devi avviare Homebridge in modalità non sicura.",
"accessories.name": "Nome",
"accessories.message_please_see": "Attenzione",
"accessories.name": "Nome",
"accessories.room_name": "Nome stanza",
"accessories.rooms_not_appear_in_homekit": "Le stanze create qui non appariranno in HomeKit, servono solo per organizzare gli accessori in Homebridge UI.",
"accessories.settings_link": "You can access the Homebridge Settings at any time from the main menu",
Expand Down Expand Up @@ -451,6 +451,7 @@
"status.widget.network.history_items": "History Items",
"status.widget.network.items": "items",
"status.widget.network.network_interface": "Network Interface",
"status.widget.network.none_selected": "None selected in settings - using default.",
"status.widget.network.refresh_interval": "Refresh Interval",
"status.widget.network.refresh_note": "Refresh the page for changes to take effect.",
"status.widget.network.seconds": "seconds",
Expand Down
Loading

0 comments on commit 993d3fb

Please sign in to comment.