From fa3b4b64cba1d3f73238c8abca289cd338c41b6d Mon Sep 17 00:00:00 2001
From: mkz212 <82271669+mkz212@users.noreply.github.com>
Date: Wed, 15 Nov 2023 19:15:22 +0100
Subject: [PATCH 1/4] Language translations (#1701)
---
ui/src/i18n/en.json | 2 +-
ui/src/i18n/pl.json | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index fe05fccf5..5ab6e20a1 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -153,7 +153,7 @@
"menu.linux.label_restart_server": "Restart OS",
"menu.linux.label_shutdown_server": "Shutdown OS",
"menu.linux.label_terminal": "Terminal",
- "menu.restart.title": "Restart Options",
+ "menu.restart.title": "Restart / Shutdown",
"menu.tooltip_logout": "Log out",
"menu.tooltip_restart": "Restart Homebridge",
"menu.tooltip_user_accounts": "User Accounts",
diff --git a/ui/src/i18n/pl.json b/ui/src/i18n/pl.json
index d6b846b31..a94fdbe4a 100644
--- a/ui/src/i18n/pl.json
+++ b/ui/src/i18n/pl.json
@@ -78,7 +78,7 @@
"backup.title_scheduled_backups": "Planowanie kopii zapasowych",
"child_bridge.label_bridge_connect_to_homekit": "Połącz z HomeKit",
"child_bridge.label_bridge_paired": "Mostek sparowany",
- "child_bridge.label_bridge_restart_child_bridges": "Uruchom ponownie mostek podrzędny",
+ "child_bridge.label_bridge_restart_child_bridges": "Zrestartuj mostek",
"child_bridge.label_bridge_settings": "Ustawienia mostka",
"child_bridge.label_child_bridges": "Mostki podrzędne",
"child_bridge.label_child_start": "Uruchom mostek",
@@ -152,7 +152,7 @@
"menu.linux.label_restart_server": "Zrestartuj serwer",
"menu.linux.label_shutdown_server": "Wyłącz serwer",
"menu.linux.label_terminal": "Terminal",
- "menu.restart.title": "Restart Options",
+ "menu.restart.title": "Restart / Wyłącz",
"menu.tooltip_logout": "Wyloguj",
"menu.tooltip_restart": "Zrestartuj Homebridge",
"menu.tooltip_user_accounts": "Użytkownicy",
@@ -219,8 +219,8 @@
"plugins.manage.message_uninstall_remove_plugin_config": "Usunąć również konfigurację tej wtyczki?",
"plugins.manage.modal_verified_cta": "More Info",
"plugins.manage.modal_verified_message": "Homebridge plugins that are marked as verified have been reviewed by the Homebridge project team to ensure they meet various requirements that encourage best practices and a trouble-free user experience.",
- "plugins.manage.modal_verified_title": "Verified Plugins",
- "plugins.manage.plugin_logs": "View Plugin Logs",
+ "plugins.manage.modal_verified_title": "Zweryfikowane wtyczki",
+ "plugins.manage.plugin_logs": "Logi wtyczki",
"plugins.node_update.are_you_sure_you_want_to_update": "Jesteś pewny, że chcesz zaktualizować {{ pluginName }}?",
"plugins.node_update.homebridge_node_version_too_low": "Homebridge v{{latestVersion}} wymaga Node.js w wersji {{minVersion}} lub nowszej. Aktualnie używasz Node.js w wersji {{ installedVersion }}.",
"plugins.node_update.node_version_too_low": "Wtyczka {{ pluginName }} powinna być instalowana używając Node.js w wersji {{ minVersion }} lub nowszej. Aktualnie używasz Node.js w wersji {{ installedVersion }}.",
From 5b1a911a6e69923100113105e54b48fa7bfc7a22 Mon Sep 17 00:00:00 2001
From: mkz212 <82271669+mkz212@users.noreply.github.com>
Date: Wed, 15 Nov 2023 19:17:35 +0100
Subject: [PATCH 2/4] Accessories - Long click modal on Lightbulb and Window
Covering (#1719)
---
.../app/core/accessories/types/lightbulb/lightbulb.component.ts | 2 +-
.../accessories/types/lightbulb/lightbulb.manage.component.html | 2 +-
.../types/windowcovering/windowcovering.component.ts | 2 +-
.../types/windowcovering/windowcovering.manage.component.html | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ui/src/app/core/accessories/types/lightbulb/lightbulb.component.ts b/ui/src/app/core/accessories/types/lightbulb/lightbulb.component.ts
index 1d59eecea..a3488e03b 100644
--- a/ui/src/app/core/accessories/types/lightbulb/lightbulb.component.ts
+++ b/ui/src/app/core/accessories/types/lightbulb/lightbulb.component.ts
@@ -29,7 +29,7 @@ export class LightbulbComponent implements OnInit {
onLongClick() {
if ('Brightness' in this.service.values) {
const ref = this.modalService.open(LightbulbManageComponent, {
- size: 'sm',
+ size: 'md',
});
ref.componentInstance.service = this.service;
}
diff --git a/ui/src/app/core/accessories/types/lightbulb/lightbulb.manage.component.html b/ui/src/app/core/accessories/types/lightbulb/lightbulb.manage.component.html
index 999cd0836..c3d391da6 100644
--- a/ui/src/app/core/accessories/types/lightbulb/lightbulb.manage.component.html
+++ b/ui/src/app/core/accessories/types/lightbulb/lightbulb.manage.component.html
@@ -6,7 +6,7 @@
×
-
+
diff --git a/ui/src/app/core/accessories/types/windowcovering/windowcovering.component.ts b/ui/src/app/core/accessories/types/windowcovering/windowcovering.component.ts
index 53ed63999..6b1312d7a 100644
--- a/ui/src/app/core/accessories/types/windowcovering/windowcovering.component.ts
+++ b/ui/src/app/core/accessories/types/windowcovering/windowcovering.component.ts
@@ -27,7 +27,7 @@ export class WindowcoveringComponent implements OnInit {
onLongClick() {
const ref = this.modalService.open(WindowcoveringManageComponent, {
- size: 'sm',
+ size: 'md',
});
ref.componentInstance.service = this.service;
}
diff --git a/ui/src/app/core/accessories/types/windowcovering/windowcovering.manage.component.html b/ui/src/app/core/accessories/types/windowcovering/windowcovering.manage.component.html
index 6efd3dcde..e0adf6bd7 100644
--- a/ui/src/app/core/accessories/types/windowcovering/windowcovering.manage.component.html
+++ b/ui/src/app/core/accessories/types/windowcovering/windowcovering.manage.component.html
@@ -6,7 +6,7 @@
×
-
+
From f81e7c1263ff5de5c15e13a4318b8b405e36d3c0 Mon Sep 17 00:00:00 2001
From: Ben <43026681+bwp91@users.noreply.github.com>
Date: Wed, 15 Nov 2023 18:33:07 +0000
Subject: [PATCH 3/4] component updates
---
.../manage-plugins-modal.component.html | 22 +++++++++----------
.../system-info-widget.component.html | 7 ++----
.../system-info-widget.component.ts | 2 ++
3 files changed, 14 insertions(+), 17 deletions(-)
diff --git a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
index 38f411d7e..eb72e37d7 100644
--- a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
+++ b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
@@ -18,15 +18,6 @@
Please restart the plugin's child bridges for the changes to apply.
-
-
-
-
@@ -50,7 +41,6 @@
-
{{ 'plugins.manage.label_release_notes' | translate }} ({{ release.name }})
@@ -61,12 +51,12 @@ {{ 'plugins.manage.label_release_notes_beta' | translat
diff --git a/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.html b/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.html
index f2fc53491..0a5d09ed4 100644
--- a/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.html
+++ b/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.html
@@ -87,13 +87,10 @@
Yes |
-
+
Service Mode
|
-
- {{ 'status.widget.systeminfo.label_enabled' | translate }}
- |
-
+ |
{{ 'status.widget.systeminfo.label_disabled' | translate }}
diff --git a/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.ts b/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.ts
index 82caec6fd..dd27d1dc0 100644
--- a/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.ts
+++ b/ui/src/app/modules/status/widgets/system-info-widget/system-info-widget.component.ts
@@ -48,6 +48,7 @@ export class SystemInfoWidgetComponent implements OnInit {
ref.componentInstance.title = this.$translate.instant('status.widget.systeminfo.modal_glibc_title');
ref.componentInstance.message = this.$translate.instant('status.widget.systeminfo.modal_glibc_message');
ref.componentInstance.ctaButtonLabel = this.$translate.instant('status.widget.systeminfo.modal_glibc_cta');
+ ref.componentInstance.faIconClass = 'fab fa-fw fa-node-js primary-text';
// eslint-disable-next-line max-len
ref.componentInstance.ctaButtonLink = 'https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting/#error---update-node---your-version-of-linux-does-not-meet-the-glibc-version';
@@ -58,6 +59,7 @@ export class SystemInfoWidgetComponent implements OnInit {
ref.componentInstance.title = this.$translate.instant('status.widget.systeminfo.modal_servicemode_title');
ref.componentInstance.message = this.$translate.instant('status.widget.systeminfo.modal_servicemode_message');
ref.componentInstance.ctaButtonLabel = this.$translate.instant('status.widget.systeminfo.modal_servicemode_cta');
+ ref.componentInstance.faIconClass = 'fas fa-fw fa-circle-exclamation primary-text';
// eslint-disable-next-line max-len
ref.componentInstance.ctaButtonLink = 'https://github.com/homebridge/homebridge-config-ui-x/wiki/How-To-Swap-From-Standalone-Mode-to-Service-Mode';
From eb7bb1a751971c8fa9cc1e10b0b50de61ea44418 Mon Sep 17 00:00:00 2001
From: Ben <43026681+bwp91@users.noreply.github.com>
Date: Wed, 15 Nov 2023 18:46:10 +0000
Subject: [PATCH 4/4] Update manage-plugins-modal.component.html
---
.../manage-plugins-modal/manage-plugins-modal.component.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
index eb72e37d7..5ea907129 100644
--- a/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
+++ b/ui/src/app/core/manage-plugins/manage-plugins-modal/manage-plugins-modal.component.html
@@ -18,7 +18,6 @@
Please restart the plugin's child bridges for the changes to apply.
-
|