Merge pull request #124 from harvester/mergify/bp/release-harvester-v1.5/pr-121

The hints on the branding page is using the wrong product name (backport #121)
This commit is contained in:
Andy Lee 2025-02-11 11:45:16 +08:00 committed by GitHub
commit def9e1a24e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 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,14 @@ harvester:
pollingInterval: pollingInterval:
label: Polling Interval 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: 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