mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Added translations for modal.
This commit is contained in:
parent
b2ab7e4301
commit
00e61e5978
@ -2,8 +2,8 @@
|
|||||||
<ds-modal
|
<ds-modal
|
||||||
:title="title"
|
:title="title"
|
||||||
:is-open="isOpen"
|
:is-open="isOpen"
|
||||||
cancel-label="Cancel"
|
:confirm-label="$t('report.submit')"
|
||||||
confirm-label="Send Report"
|
:cancel-label="$t('report.cancel')"
|
||||||
@close="close"
|
@close="close"
|
||||||
>
|
>
|
||||||
<p>Are you sure that you want to report the {{ data.context }} "<b>{{ data.name | truncate(30) }}</b>"?</p>
|
<p>Are you sure that you want to report the {{ data.context }} "<b>{{ data.name | truncate(30) }}</b>"?</p>
|
||||||
@ -17,7 +17,7 @@ export default {
|
|||||||
return this.$store.getters['modal/data'] || {}
|
return this.$store.getters['modal/data'] || {}
|
||||||
},
|
},
|
||||||
title() {
|
title() {
|
||||||
return `Report ${this.data.context}`
|
return this.$t(`report.${this.data.context}.title`)
|
||||||
},
|
},
|
||||||
isOpen() {
|
isOpen() {
|
||||||
return this.$store.getters['modal/open'] === 'report'
|
return this.$store.getters['modal/open'] === 'report'
|
||||||
|
|||||||
@ -90,6 +90,19 @@
|
|||||||
"name": "Aktiv werden"
|
"name": "Aktiv werden"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"report": {
|
||||||
|
"submit": "Meldung senden",
|
||||||
|
"cancel": "Abbrechen",
|
||||||
|
"user": {
|
||||||
|
"title": "Nutzer melden"
|
||||||
|
},
|
||||||
|
"contribution": {
|
||||||
|
"title": "Beitrag melden"
|
||||||
|
},
|
||||||
|
"comment": {
|
||||||
|
"title": "Kommentar melden"
|
||||||
|
}
|
||||||
|
},
|
||||||
"quotes": {
|
"quotes": {
|
||||||
"african": {
|
"african": {
|
||||||
"quote": "Viele kleine Leute, an vielen kleinen Orten, die viele kleine Dinge tun, werden das Antlitz dieser Welt verändern.",
|
"quote": "Viele kleine Leute, an vielen kleinen Orten, die viele kleine Dinge tun, werden das Antlitz dieser Welt verändern.",
|
||||||
|
|||||||
@ -90,6 +90,19 @@
|
|||||||
"name": "Take action"
|
"name": "Take action"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"report": {
|
||||||
|
"submit": "Send Report",
|
||||||
|
"cancel": "Cancel",
|
||||||
|
"user": {
|
||||||
|
"title": "Report User"
|
||||||
|
},
|
||||||
|
"contribution": {
|
||||||
|
"title": "Report Contribution"
|
||||||
|
},
|
||||||
|
"comment": {
|
||||||
|
"title": "Report Comment"
|
||||||
|
}
|
||||||
|
},
|
||||||
"quotes": {
|
"quotes": {
|
||||||
"african": {
|
"african": {
|
||||||
"quote": "Many small people in many small places do many small things, that can alter the face of the world.",
|
"quote": "Many small people in many small places do many small things, that can alter the face of the world.",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user