diff --git a/lang/de.json b/lang/de.json index 3a49e9b..b6b0ebe 100644 --- a/lang/de.json +++ b/lang/de.json @@ -1,15 +1,27 @@ { "setting_description": "App für DPSG-NaMi", - "base_url_label": "Base-URL", - "base_url_comment": "Die Domain (app_url), auf der deine Adrema läuft", + "settings.base_url_label": "Base-URL", + "settings.base_url_comment": "Die Domain (app_url), auf der deine Adrema läuft", + "settings.primary_color_label": "Primäre Farbe", + "settings.primary_color_comment": "Die primäre Farbe", + "settings.secondary_color_label": "Sekundäre Farbe", + "settings.secondary_color_comment": "Die sekundäre Farbe", + "settings.font_color_label": "Schriftfarbe", + "settings.font_color_comment": "Die Farbe von Schriften", + "settings.circle_color_label": "Kreisfarbe", + "settings.circle_color_comment": "Akzentfarbe für Kreise in Menüs", "properties.index_page_title": "Seite für Übersicht", "properties.single_page_title": "Seite für Einzelansicht", "properties.register_page_title": "Seite zum anmelden", + "properties.event_slug_title": "Veranstaltung slug", "event_index_component_name": "Veranstaltungs-Übersicht", "event_index_component_description": "Übersicht aller bevorstehenden Adrema-Veranstaltungen.", "event_register_component_name": "Veranstaltungs-Anmeldung", "event_register_component_description": "Für einzelne Veranstaltung anmelden.", "event_description_component_name": "Veranstaltungs-Einzelansicht", "event_description_component_description": "Einzelne Veranstaltung anzeigen", - "properties.event_slug_title": "Veranstaltung slug" + "errors.not_all_pages_set": "Du hast nicht alle Seiten zugewiesen. Bite bearbeite deine Komponenten.", + "errors.page_not_found": "Eine Seite kann nicht gefunden werden. Veranstaltungs-Komponente kann nicht gerendert werden.", + "errors.slug_not_found": "Du musst einen placeholder in den Seiten-URLs setzen (\":slug\")", + "errors.event_fetching_failed": "Fehler beim Abrufen von Veranstaltungen" } diff --git a/lang/en.json b/lang/en.json index 29e40e5..b8e58d3 100644 --- a/lang/en.json +++ b/lang/en.json @@ -1,7 +1,15 @@ { "setting_description": "App for DPSG-NaMi", - "base_url_label": "Base-URL", - "base_url_comment": "The domain (APP_URL) of the Adrema application.", + "settings.base_url_label": "Base-URL", + "settings.base_url_comment": "The domain (APP_URL) of the Adrema application.", + "settings.primary_color_label": "Primary color", + "settings.primary_color_comment": "The primary color", + "settings.secondary_color_label": "Secondary color", + "settings.secondary_color_comment": "The secondary color", + "settings.font_color_label": "Font color", + "settings.font_color_comment": "The color for fonts", + "settings.circle_color_label": "Circle color", + "settings.circle_color_comment": "Accent-color for circles in menus", "properties.index_page_title": "Page for overview", "properties.single_page_title": "Page for single view", "properties.register_page_title": "Page for registration", diff --git a/models/settings/fields.yaml b/models/settings/fields.yaml index f67cc21..508cbb3 100644 --- a/models/settings/fields.yaml +++ b/models/settings/fields.yaml @@ -4,25 +4,25 @@ fields: base_url: - label: base_url_label - comment: base_url_comment + label: settings.base_url_label + comment: settings.base_url_comment primary_color: - label: primary_color_label - comment: primary_color_comment + label: settings.primary_color_label + comment: settings.primary_color_comment type: colorpicker secondary_color: - label: secondary_color_label - comment: secondary_color_comment + label: settings.secondary_color_label + comment: settings.secondary_color_comment type: colorpicker font_color: - label: font_color_label - comment: font_color_comment + label: settings.font_color_label + comment: settings.font_color_comment type: colorpicker circle_color: - label: circle_color_label - comment: circle_color_comment + label: settings.circle_color_label + comment: settings.circle_color_comment type: colorpicker