From 2c756582e31d9caca38946c61ded4c7648118dce Mon Sep 17 00:00:00 2001 From: Volker Theile Date: Mon, 10 Feb 2025 08:30:22 +0100 Subject: [PATCH] The hints on the branding page is using the wrong product name The hints on the `Branding` page at `Advanced > Settings > UI > branding` are using the product name `Rancher` instead of `Harvester`. Related to: https://github.com/harvester/harvester/issues/6341 Signed-off-by: Volker Theile (cherry picked from commit 849dcb6f26d52c955db669207f008de4480fe048) --- pkg/harvester/l10n/en-us.yaml | 13 +++++++++++++ pkg/harvester/pages/c/_cluster/brand/index.vue | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/pkg/harvester/l10n/en-us.yaml b/pkg/harvester/l10n/en-us.yaml index db4e5040..8da8aa9c 100644 --- a/pkg/harvester/l10n/en-us.yaml +++ b/pkg/harvester/l10n/en-us.yaml @@ -39,6 +39,11 @@ asyncButton: waiting: Restarting… harvester: + branding: + logos: + tip: 'Upload a logo to replace the Harvester logo in the top-level navigation header. Image height should be 21 pixels with a max width of 200 pixels. Max file size is 20KB. Accepted formats: JPEG, PNG, SVG.' + favicon: + tip: 'Upload an icon to replace the Harvester favicon in the browser tab. Max file size is 20KB' productLabel: 'Harvester' modal: backup: @@ -1497,6 +1502,14 @@ harvester: pollingInterval: label: Polling Interval +typeDescription: + # Map of + # type: Description to be shown on the top of list view describing the type. + # Should fit on one line. + # If you link to anything external, it MUST have + # target="_blank" rel="noopener noreferrer nofollow" + harvester: "Branding allows administrators to globally re-brand the UI by customizing the Harvester product name, logos and color scheme." + advancedSettings: experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases' descriptions: diff --git a/pkg/harvester/pages/c/_cluster/brand/index.vue b/pkg/harvester/pages/c/_cluster/brand/index.vue index 00c5ef8b..047d57dc 100644 --- a/pkg/harvester/pages/c/_cluster/brand/index.vue +++ b/pkg/harvester/pages/c/_cluster/brand/index.vue @@ -164,7 +164,7 @@ export default {

{{ t('branding.label') }}

- +
@@ -180,7 +180,7 @@ export default { {{ t('branding.logos.label') }}