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 <vtheile@suse.com>
(cherry picked from commit d023fa1de48de0e2fadf2de446db7bf8c5c621c0)
This commit is contained in:
Volker Theile 2025-02-10 08:30:22 +01:00 committed by Mergify
parent 8a7cc69a69
commit 10abbd0452
2 changed files with 28 additions and 3 deletions

View File

@ -54,6 +54,11 @@ dialog:
message: "Are you sure you want to continue pause the {type} {names}?" message: "Are you sure you want to continue pause the {type} {names}?"
harvester: 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' productLabel: 'Harvester'
modal: modal:
backup: backup:
@ -1513,6 +1518,26 @@ harvester:
pollingInterval: pollingInterval:
label: Polling Interval label: Polling Interval
affinity:
thisPodNamespace: This virtual machine's namespace
matchExpressions:
inNamespaces: "Workloads in these namespaces"
vmAffinityTitle: Virtual Machine Scheduling
namespaces:
placeholder: e.g. default,system,base
label: Namespaces
addLabel: Add Workload Selector
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: advancedSettings:
experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases' experimental: 'Experimental features allow users to test and evaluate early-access functionality prior to official supported releases'
descriptions: descriptions:

View File

@ -164,7 +164,7 @@ export default {
<h1 class="mb-20"> <h1 class="mb-20">
{{ t('branding.label') }} {{ t('branding.label') }}
</h1> </h1>
<TypeDescription resource="branding" /> <TypeDescription resource="harvester" />
<div> <div>
<div class="row mb-20"> <div class="row mb-20">
<div class="col span-6"> <div class="col span-6">
@ -180,7 +180,7 @@ export default {
{{ t('branding.logos.label') }} {{ t('branding.logos.label') }}
</h3> </h3>
<label class="text-label"> <label class="text-label">
{{ t('branding.logos.tip', {}, true) }} {{ t('harvester.branding.logos.tip', {}, true) }}
</label> </label>
<div class="row mt-10 mb-20"> <div class="row mt-10 mb-20">
<Checkbox <Checkbox
@ -244,7 +244,7 @@ export default {
{{ t('branding.favicon.label') }} {{ t('branding.favicon.label') }}
</h3> </h3>
<label class="text-label"> <label class="text-label">
{{ t('branding.favicon.tip', {}, true) }} {{ t('harvester.branding.favicon.tip', {}, true) }}
</label> </label>
<div class="row mt-10 mb-20"> <div class="row mt-10 mb-20">
<Checkbox <Checkbox