mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 15:55:26 +02:00
fixed translations
This commit is contained in:
parent
0d6501d391
commit
db83a8727e
@ -59,7 +59,7 @@ export default function AliasPreferencesForm({
|
|||||||
createMailReport: yup
|
createMailReport: yup
|
||||||
.mixed<boolean | null>()
|
.mixed<boolean | null>()
|
||||||
.oneOf([true, false, null])
|
.oneOf([true, false, null])
|
||||||
.label(t("relations.alias.settings.createMailReport.label")),
|
.label(t("relations.alias.settings.createMailReports.label")),
|
||||||
proxyImages: yup.mixed<boolean | null>().oneOf([true, false, null]),
|
proxyImages: yup.mixed<boolean | null>().oneOf([true, false, null]),
|
||||||
imageProxyFormat: yup
|
imageProxyFormat: yup
|
||||||
.mixed<ImageProxyFormatType>()
|
.mixed<ImageProxyFormatType>()
|
||||||
|
@ -51,7 +51,9 @@ export default function AliasesPreferencesForm(): ReactElement {
|
|||||||
|
|
||||||
const schema = yup.object().shape({
|
const schema = yup.object().shape({
|
||||||
removeTrackers: yup.boolean().label(t("relations.alias.settings.removeTrackers.label")),
|
removeTrackers: yup.boolean().label(t("relations.alias.settings.removeTrackers.label")),
|
||||||
createMailReport: yup.boolean().label(t("relations.alias.settings.createMailReport.label")),
|
createMailReport: yup
|
||||||
|
.boolean()
|
||||||
|
.label(t("relations.alias.settings.createMailReports.label")),
|
||||||
proxyImages: yup.boolean().label(t("relations.alias.settings.proxyImages.label")),
|
proxyImages: yup.boolean().label(t("relations.alias.settings.proxyImages.label")),
|
||||||
imageProxyFormat: yup
|
imageProxyFormat: yup
|
||||||
.mixed<ImageProxyFormatType>()
|
.mixed<ImageProxyFormatType>()
|
||||||
@ -180,7 +182,7 @@ export default function AliasesPreferencesForm(): ReactElement {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
labelPlacement="start"
|
labelPlacement="start"
|
||||||
label={t("relations.alias.settings.createMailReport.label")}
|
label={t("relations.alias.settings.createMailReports.label")}
|
||||||
/>
|
/>
|
||||||
<FormHelperText
|
<FormHelperText
|
||||||
error={Boolean(
|
error={Boolean(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user