add form in ContributionForm.vue

This commit is contained in:
ogerly 2022-07-07 12:02:31 +02:00
parent d8fb3608a2
commit fa0598c752
4 changed files with 40 additions and 3 deletions

View File

@ -75,6 +75,15 @@ const dateTimeFormats = {
hour: 'numeric',
minute: 'numeric',
},
monthShort: {
month: 'short',
},
month: {
month: 'long',
},
year: {
year: 'numeric',
},
},
de: {
short: {
@ -90,6 +99,15 @@ const dateTimeFormats = {
hour: 'numeric',
minute: 'numeric',
},
monthShort: {
month: 'short',
},
month: {
month: 'long',
},
year: {
year: 'numeric',
},
},
}

View File

@ -32,6 +32,10 @@
"writing":"Schreiben",
"myContributions":"Meine Beiträge"
},
"contribution": {
"activity":"Tätigkeit",
"submit":"Einreichen"
},
"contribution-link": {
"thanksYouWith": "dankt dir mit"
},
@ -182,7 +186,10 @@
"equal": "=",
"exclaim": "!",
"minus": "",
"pipe": "|"
"pipe": "|",
"divide": "/",
"equalTo":"<"
},
"message": {
"activateEmail": "Dein Konto wurde noch nicht aktiviert. Bitte überprüfe deine E-Mail und klicke den Aktivierungslink oder fordere einen neuen Aktivierungslink über die Password Reset Seite an.",
@ -275,6 +282,7 @@
"days": "Tage",
"hours": "Stunden",
"minutes": "Minuten",
"month": "Monat",
"months": "Monate",
"seconds": "Sekunden",
"years": "Jahr"

View File

@ -32,6 +32,10 @@
"writing":"Writing",
"myContributions":"My contributions"
},
"contribution": {
"activity":"Activity",
"submit":"Submit"
},
"contribution-link": {
"thanksYouWith": "thanks you with"
},
@ -182,7 +186,9 @@
"equal": "=",
"exclaim": "!",
"minus": "",
"pipe": "|"
"pipe": "|",
"divide": "/",
"equalTo":"<"
},
"message": {
"activateEmail": "Your account has not been activated yet. Please check your emails and click the activation link or order a new activation link over the password reset page.",
@ -275,6 +281,7 @@
"days": "Days",
"hours": "Hours",
"minutes": "Minutes",
"month": "Month",
"months": "Months",
"seconds": "Seconds",
"years": "Year"

View File

@ -3,7 +3,7 @@
<div>
<b-tabs content-class="mt-3" align="center">
<b-tab :title="$t('community.writing')" active>
<p>{{ $t('community.writing') }}</p>
<contribution-form />
</b-tab>
<b-tab :title="$t('community.myContributions')">
<p>{{ $t('community.myContributions') }}</p>
@ -16,7 +16,11 @@
</div>
</template>
<script>
import ContributionForm from '@/components/Contributions/ContributionForm.vue'
export default {
name: 'Community',
components: {
ContributionForm,
},
}
</script>