mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🚸 Add German & English translations for custom CSS field
(cherry picked from commit 20e1cc3a1bae59ee401539e9de07f500a37fc7b4)
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user