🚸 Add German & English translations for custom CSS field

(cherry picked from commit 20e1cc3a1bae59ee401539e9de07f500a37fc7b4)
This commit is contained in:
Florian Fritz
2022-08-30 15:04:41 +02:00
parent 87016eb51f
commit 4db35406a0
3 changed files with 12 additions and 4 deletions

View File

@@ -15,6 +15,10 @@
"label": "Hintergrund", "label": "Hintergrund",
"placeholder": "/img/background.png" "placeholder": "/img/background.png"
}, },
"customCSS": {
"label": "Benutzerdefiniertes CSS",
"placeholder": "Benutzerdefiniertes CSS wird als letztes ausgeführt"
},
"buttons": { "buttons": {
"submit": "Absenden" "submit": "Absenden"
} }

View File

@@ -15,6 +15,10 @@
"label": "Background", "label": "Background",
"placeholder": "/img/background.png" "placeholder": "/img/background.png"
}, },
"customCSS": {
"label": "Custom CSS",
"placeholder": "Custom CSS will be executed last"
},
"buttons": { "buttons": {
"submit": "Submit" "submit": "Submit"
} }

View File

@@ -67,8 +67,8 @@ export default function TitleChanger() {
/> />
<Textarea <Textarea
minRows={5} minRows={5}
label="Custom CSS" label={t('customCSS.label')}
placeholder="Your CSS will be executed last" placeholder={t('customCSS.placeholder')}
{...form.getInputProps('customCSS')} {...form.getInputProps('customCSS')}
/> />
<Button type="submit">{t('buttons.submit')}</Button> <Button type="submit">{t('buttons.submit')}</Button>