fix lint, fix locales

This commit is contained in:
ogerly 2023-04-25 22:11:25 +02:00
parent fad1ab212e
commit 2c5576f8a1
6 changed files with 30 additions and 32 deletions

View File

@ -52,11 +52,11 @@
{{ contentLength }}
<base-icon v-if="errors && errors.content" name="warning" />
</ds-chip>
<!-- Eventdata -->
<div v-if="creatEvent" class="eventDatas">
<hr>
<ds-space margin-top="x-small" />
<hr />
<ds-space margin-top="x-small" />
<ds-grid>
<ds-grid-item style="grid-row-end: span 3">
<!-- <label>Beginn</label> -->
@ -107,7 +107,11 @@
</div>
</ds-grid-item>
<ds-grid-item style="grid-row-end: span 3">
<ds-input model="eventLocationName" name="venue" :placeholder="$t('post.viewEvent.eventLocationName')" />
<ds-input
model="eventLocationName"
name="venue"
:placeholder="$t('post.viewEvent.eventLocationName')"
/>
<div class="chipbox">
<ds-chip size="base" :color="errors && errors.eventLocationName && 'danger'">
{{ formData.eventLocationName.length }}/{{ formSchema.eventLocationName.max }}
@ -126,8 +130,6 @@
/>
{{ $t('post.viewEvent.eventIsOnline') }}
</div>
</div>
<ds-space margin-top="x-small" />
<categories-select

View File

@ -155,7 +155,7 @@ export default {
},
ribbonText() {
if (this.post.pinned) return this.$t('post.pinned')
if (this.post.postType[0] === "Event") return this.$t('post.event')
if (this.post.postType[0] === 'Event') return this.$t('post.event')
return this.$t('post.name')
},
},

View File

@ -1,5 +1,5 @@
<template>
<aside class="ribbon" :class="typ === 'Event' ? 'eventBg': ''">
<aside class="ribbon" :class="typ === 'Event' ? 'eventBg' : ''">
<p>{{ text }}</p>
</aside>
</template>
@ -14,8 +14,8 @@ export default {
},
typ: {
type: String,
default: 'blue'
}
default: 'blue',
},
},
}
</script>
@ -51,7 +51,7 @@ export default {
background-color: $color-success-active;
&::before {
border-color: $color-success-active transparent transparent $color-success-active;
}
border-color: $color-success-active transparent transparent $color-success-active;
}
}
</style>

View File

@ -718,22 +718,19 @@
"takeAction": {
"name": "Aktiv werden"
},
"viewEvent": {
"eventEnd": "Ende",
"eventIsOnline": "Online Veranstaltung",
"eventLocationName": "Stadt",
"eventStart": "Beginn",
"eventVenue": "Veranstaltungsort",
"title": "Veranstaltung"
},
"viewPost": {
"forGroup": {
"title": "In der Gruppe „{name}“"
},
"title": "Beitrag"
},
"viewEvent": {
"forGroup": {
"title": "In der Gruppe „{name}“"
},
"title": "Veranstaltung",
"eventStart":"Beginn",
"eventEnd":"Ende",
"eventVenue":"Veranstaltungsort",
"eventLocationName":"Stadt",
"eventIsOnline":"Online Veranstaltung"
}
},
"profile": {

View File

@ -718,19 +718,19 @@
"takeAction": {
"name": "Take action"
},
"viewEvent": {
"eventEnd": "End",
"eventIsOnline": "Online Event",
"eventLocationName": "City",
"eventStart": "Start",
"eventVenue": "Venue",
"title": "Event"
},
"viewPost": {
"forGroup": {
"title": "In The Group “{name}”"
},
"title": "Post"
},
"viewEvent": {
"title": "Event",
"eventStart":"Start",
"eventEnd":"End",
"eventVenue":"Venue",
"eventLocationName":"City",
"eventIsOnline":"Online Event"
}
},
"profile": {

View File

@ -82,7 +82,6 @@
<ds-flex-item width="200px">Online Event:</ds-flex-item>
<ds-flex-item>{{ post.eventIsOnline }}</ds-flex-item>
</ds-flex>
</ds-space>
<!-- Categories -->
<div v-if="categoriesActive" class="categories">