diff --git a/fet2020/gallery/forms.py b/fet2020/gallery/forms.py index e700a312..7ffec40e 100644 --- a/fet2020/gallery/forms.py +++ b/fet2020/gallery/forms.py @@ -11,3 +11,15 @@ class AlbumAdminForm(forms.ModelForm): fields = "__all__" widgets = {"description": CKEditorUploadingWidget(config_name="default")} + + labels = { + "slug": _("Permalink"), + "description": _("Beschreibung"), + } + + help_texts = { + "folder_name": _("Füge den Ordnername (ohne Pfade) ein."), + "thumbnail": _( + "Füge den vollständigen Dateiname (ohne Pfade) ein, wenn dieser als Thumbnail verwendet werden soll." + ), + }