Fix localization of edit events

Co-authored-by: ogerly <fridolin@tutanota.com>
This commit is contained in:
elweyn 2023-06-05 17:54:37 +02:00
parent b8b49e283b
commit 734891e93d
3 changed files with 5 additions and 3 deletions

View File

@ -705,7 +705,8 @@
"forGroup": {
"title": "Für die Gruppe „{name}“"
},
"title": "Bearbeite deinen Beitrag"
"title": "Bearbeite deinen Beitrag",
"event": "Bearbeite deine Veranstaltung"
},
"event": "Veranstaltung",
"menu": {

View File

@ -705,7 +705,8 @@
"forGroup": {
"title": "For The Group “{name}”"
},
"title": "Edit Your Post"
"title": "Edit Your Post",
"event": "Edit Your Event"
},
"event": "Event",
"menu": {

View File

@ -1,7 +1,7 @@
<template>
<div>
<ds-space margin="small">
<ds-heading tag="h1">{{ $t('post.editPost.title') }}</ds-heading>
<ds-heading tag="h1">{{ contribution && contribution.postType[0] === 'Event' ? $t('post.editPost.event') : $t('post.editPost.title') }}</ds-heading>
<ds-heading v-if="contribution && contribution.group" tag="h2">
{{ $t('post.editPost.forGroup.title', { name: contribution.group.name }) }}
</ds-heading>