add localation in toast

This commit is contained in:
ogerly 2023-01-19 15:24:54 +01:00
parent 89d5d3b3cb
commit 7349a9bdd1
3 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,8 @@
"contribution": {
"activity": "Tätigkeit",
"alert": {
"answerQuestion": "Bitte beantworte die Rückfrage!",
"answerQuestionToast": "Du hast eine Rückfrage auf einen Beitrag. Bitte antworte auf diese.",
"answerQuestion": "Bitte beantworte diese Rückfrage.",
"communityNoteList": "Hier findest du alle eingereichten und bestätigten Beiträge von allen Mitgliedern aus dieser Gemeinschaft.",
"confirm": "bestätigt",
"deleted": "gelöscht",

View File

@ -37,7 +37,8 @@
"contribution": {
"activity": "Activity",
"alert": {
"answerQuestion": "Please answer the question",
"answerQuestionToast": "You have a question about a post. Please reply to it.",
"answerQuestion": "Please answer the question.",
"communityNoteList": "Here you will find all submitted and confirmed contributions from all members of this community.",
"confirm": "confirmed",
"deleted": "deleted",

View File

@ -282,7 +282,7 @@ export default {
if (this.$route.hash !== '#my') {
this.$router.push({ path: '/community#my' })
}
this.toastInfo('Du hast eine Rückfrage auf eine Contribution. Bitte beantworte diese!')
this.toastInfo(this.$t('contribution.alert.answerQuestionToast'))
}
})
.catch((err) => {