sidebarlogo localization

This commit is contained in:
piuvas 2024-09-22 15:28:10 -03:00
parent 5eedbe153e
commit d839c1eee1
No known key found for this signature in database
GPG key ID: 82743F52454C621D
2 changed files with 4 additions and 1 deletions

View file

@ -1452,6 +1452,8 @@ _serverRules:
_serverSettings: _serverSettings:
iconUrl: "Icon URL" iconUrl: "Icon URL"
appIconDescription: "Specifies the icon to use when {host} is displayed as an app." appIconDescription: "Specifies the icon to use when {host} is displayed as an app."
sidebarLogoDescription: "Specifies the logo to use instead of the regular icon in high definition, dynamic-width scenarios."
sidebarLogoUsageExample: "E.g. In the sidebar, to visitors and in the \"About\" page."
appIconUsageExample: "E.g. As PWA, or when displayed as a home screen bookmark on a phone" appIconUsageExample: "E.g. As PWA, or when displayed as a home screen bookmark on a phone"
appIconStyleRecommendation: "As the icon may be cropped to a square or circle, an icon with colored margin around the content is recommended." appIconStyleRecommendation: "As the icon may be cropped to a square or circle, an icon with colored margin around the content is recommended."
appIconResolutionMustBe: "The minimum resolution is {resolution}." appIconResolutionMustBe: "The minimum resolution is {resolution}."

View file

@ -19,7 +19,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #prefix><i class="ti ti-link"></i></template> <template #prefix><i class="ti ti-link"></i></template>
<template #label>{{ i18n.ts._serverSettings.iconUrl }} (Sidebar/Logo)</template> <template #label>{{ i18n.ts._serverSettings.iconUrl }} (Sidebar/Logo)</template>
<template #caption> <template #caption>
<div>{{ i18n.tsx._serverSettings.sidebarLogoIconDescriptionhost }}</div> <div>{{ i18n.ts._serverSettings.sidebarLogoDescription }}</div>
<div>({{ i18n.ts._serverSettings.sidebarLogoUsageExample }})</div>
</template> </template>
</MkInput> </MkInput>