Skip to content

Commit

Permalink
The hints on the branding page is using the wrong product name
Browse files Browse the repository at this point in the history
The hints on the `Branding` page at `Advanced > Settings > UI > branding` are using the product name `Rancher` instead of `Harvester`.

Related to: harvester/harvester#6341

Signed-off-by: Volker Theile <[email protected]>
(cherry picked from commit 849dcb6)
  • Loading branch information
votdev authored and a110605 committed Feb 11, 2025
1 parent c9be58f commit a3faabd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions pkg/harvester/l10n/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ asyncButton:
waiting: Restarting&hellip;

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:
Expand Down Expand Up @@ -1501,6 +1506,14 @@ harvester:
topologyKey:
placeholder: 'topology.kubernetes.io/zone'

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:
Expand Down
6 changes: 3 additions & 3 deletions pkg/harvester/pages/c/_cluster/brand/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default {
<h1 class="mb-20">
{{ t('branding.label') }}
</h1>
<TypeDescription resource="branding" />
<TypeDescription resource="harvester" />
<div>
<div class="row mb-20">
<div class="col span-6">
Expand All @@ -178,7 +178,7 @@ export default {
{{ t('branding.logos.label') }}
</h3>
<label class="text-label">
{{ t('branding.logos.tip', {}, true) }}
{{ t('harvester.branding.logos.tip', {}, true) }}
</label>
<div class="row mt-10 mb-20">
<Checkbox
Expand Down Expand Up @@ -242,7 +242,7 @@ export default {
{{ t('branding.favicon.label') }}
</h3>
<label class="text-label">
{{ t('branding.favicon.tip', {}, true) }}
{{ t('harvester.branding.favicon.tip', {}, true) }}
</label>
<div class="row mt-10 mb-20">
<Checkbox
Expand Down

0 comments on commit a3faabd

Please sign in to comment.