Translate Event ComponentDetails

This commit is contained in:
philipp lang 2024-02-03 22:55:24 +01:00
parent 3f05f5544f
commit 8bf65ffb00
4 changed files with 12 additions and 4 deletions

View File

@ -7,8 +7,8 @@ class EventIndex extends EventManager
public function componentDetails()
{
return [
'name' => 'EventOverview Component',
'description' => 'No description provided yet...'
'name' => __('event_index_component_name'),
'description' => __('event_index_component_description'),
];
}

View File

@ -7,8 +7,8 @@ class EventRegister extends EventManager
public function componentDetails()
{
return [
'name' => 'EventRegister Component',
'description' => 'No description provided yet...'
'name' => __('event_register_component_name'),
'description' => __('event_register_component_description'),
];
}

View File

@ -5,5 +5,9 @@
"properties.index_page_title": "Seite für Übersicht",
"properties.single_page_title": "Seite für Einzelansicht",
"properties.register_page_title": "Seite zum anmelden",
"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.",
"properties.event_slug_title": "Veranstaltung slug"
}

View File

@ -6,6 +6,10 @@
"properties.single_page_title": "Page for single view",
"properties.register_page_title": "Page for registration",
"properties.event_slug_title": "Event slug",
"event_index_component_name": "Event overview",
"event_index_component_description": "Overview of all upcoming Adrema-Events",
"event_register_component_name": "Event-Registration",
"event_register_component_description": "Register for a single event.",
"errors.not_all_pages_set": "You didn't assign all pages. Please edit your components.",
"errors.page_not_found": "One page cannot be found. Event component cannot be rendered.",
"errors.slug_not_found": "You need to set a placeholder in page urls to set the event slug (\":slug\")",