From ed31fefc3734bb133346b76a7c0d1d6547b8232a Mon Sep 17 00:00:00 2001
From: Ben <43026681+bwp91@users.noreply.github.com>
Date: Wed, 8 Nov 2023 06:18:25 +0000
Subject: [PATCH] try some changes
---
.../plugin-card/plugin-card.component.html | 12 +++++-----
.../homebridge-status-widget.component.html | 23 +++++++++----------
ui/src/i18n/en.json | 4 ++--
3 files changed, 19 insertions(+), 20 deletions(-)
diff --git a/ui/src/app/modules/plugins/plugin-card/plugin-card.component.html b/ui/src/app/modules/plugins/plugin-card/plugin-card.component.html
index 5d16571d3..8486df792 100644
--- a/ui/src/app/modules/plugins/plugin-card/plugin-card.component.html
+++ b/ui/src/app/modules/plugins/plugin-card/plugin-card.component.html
@@ -98,7 +98,7 @@
-
+
@@ -136,13 +136,13 @@
(click)="$plugin.uninstallPlugin(plugin)">
{{ 'plugins.button_uninstall' | translate }}
+
+
+ Plugin Homepage
+
-
-
-
diff --git a/ui/src/app/modules/status/widgets/homebridge-status-widget/homebridge-status-widget.component.html b/ui/src/app/modules/status/widgets/homebridge-status-widget/homebridge-status-widget.component.html
index 8dc1ee7f0..46b532a1f 100644
--- a/ui/src/app/modules/status/widgets/homebridge-status-widget/homebridge-status-widget.component.html
+++ b/ui/src/app/modules/status/widgets/homebridge-status-widget/homebridge-status-widget.component.html
@@ -54,20 +54,20 @@
- Up To Date
+ [translate]="'status.homebridge.label_up_to_date'">
+ Up To Date
- Update Available
+ *ngIf="homebridgePkg.installedVersion && homebridgePkg.updateAvailable && !homebridgePkg.betaUpdateAvailable"
+ [translate]="'status.homebridge.label_update_available'" [translateParams]="homebridgePkg"
+ ngbTooltip="{{'plugins.button_upgrade' | translate}} Homebridge">
+ Update Available
- Update Available
+ *ngIf="homebridgePkg.installedVersion && !homebridgePkg.updateAvailable && homebridgePkg.betaUpdateAvailable"
+ [translate]="'status.homebridge.label_update_available'" [translateParams]="homebridgePkg"
+ ngbTooltip="{{'plugins.button_upgrade' | translate}} Homebridge">
+ Update Available
@@ -77,7 +77,7 @@
-
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index b258d3018..99882db59 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -296,8 +296,8 @@
"status.network.label_received_per_second": "Received",
"status.network.label_sent_per_second": "Sent",
"status.network.title_network": "Network Activity",
- "status.plugin_out_of_date": "Plugin Out of Date",
- "status.plugins_out_of_date": "Plugins Out of Date",
+ "status.plugin_out_of_date": "Update Available",
+ "status.plugins_out_of_date": "Updates Available",
"status.services.label_not_running": "Not running",
"status.services.label_running": "Running",
"status.services.label_running_on_port": "Port: {{port}}",