Merge pull request #947 from ONLYOFFICE/bugfix/fixed-settings-translations

Web: Files: fixed settings translations
This commit is contained in:
Nikita Gopienko 2022-10-25 14:36:59 +03:00 committed by GitHub
commit 927b314fe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,9 @@ export const LanguageTimeSettingsTooltip = ({
learnMore={learnMore}
save={save}
>
To make the parameters you set take effect click the
<div className="bold display-inline font-size"> {{ save }}</div>
button at the bottom of the section.
<Link
color={theme.client.settings.common.linkColorHelp}
className="display-block font-size"
@ -75,8 +77,11 @@ export const CustomTitlesTooltip = ({ t }) => {
from={from}
>
<div className="bold display-inline font-size">{{ welcomeText }}</div>
is a way to change the default portal title to be displayed on the
<div className="bold display-inline font-size"> {{ text }}</div>
of your portal. The same name is also used for the
<div className="bold display-inline font-size"> {{ from }}</div>
field of your portal email notifications.
</Trans>
</div>
<div className="font-size">
@ -85,14 +90,21 @@ export const CustomTitlesTooltip = ({ t }) => {
i18nKey="CustomTitlesSettingsTooltipDescription"
header={header}
>
Enter the name you like in the
<div className="bold display-inline font-size">{{ header }}</div>
field.
</Trans>
</div>
</StyledTooltip>
);
};
export const DNSSettingsTooltip = ({ t, theme, helpLink }) => {
export const DNSSettingsTooltip = ({
t,
theme,
helpLink,
organizationName,
}) => {
const text = t("Settings:DNSSettingsTooltip");
const learnMore = t("Common:LearnMore");
@ -105,6 +117,9 @@ export const DNSSettingsTooltip = ({ t, theme, helpLink }) => {
text={text}
learnMore={learnMore}
>
DNS Settings allow you to set an alternative URL address for your
{{ organizationName }} portal. Send your request to our support team,
and our specialists will help you with the settings.
<div className="display-inline font-size"> {{ text }}</div>
<Link
color={theme.client.settings.common.linkColorHelp}
@ -135,6 +150,8 @@ export const PortalRenamingTooltip = ({ t }) => {
text={text}
>
<div className="display-inline font-size"> {{ text }}</div>
Enter the part that will appear next to the
onlyoffice.com/onlyoffice.eu portal address.
</Trans>
</div>
<div className="font-size">
@ -145,7 +162,10 @@ export const PortalRenamingTooltip = ({ t }) => {
save={save}
>
<div className="bold display-inline font-size"> {{ pleaseNote }}</div>
: your old portal address will become available to new users once you
click the
<div className="bold display-inline font-size"> {{ save }}</div>
button.
</Trans>
</div>
</StyledTooltip>