From bf19fc2b282f5b6ca1812ee21a5af1354787f787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 24 Apr 2019 17:10:02 +0200 Subject: [PATCH] Added some translations --- webapp/locales/de.json | 4 ++++ webapp/locales/en.json | 6 ++++-- webapp/pages/post/_id/_slug/index.vue | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 3fac0310d..90a2cf997 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -114,6 +114,10 @@ }, "takeAction": { "name": "Aktiv werden" + }, + "comment": { + "submit": "Commentar Senden", + "submitted": "Commentar Gesendet" } }, "quotes": { diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 83e8c4eda..e909bbbf8 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -115,8 +115,10 @@ "takeAction": { "name": "Take action" }, - "submitComment": "Submit Comment", - "commentSubmitted": "Comment Submitted" + "comment": { + "submit": "Submit Comment", + "submitted": "Comment Submitted" + } }, "quotes": { "african": { diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index 29ad646f1..deec6b9f7 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -144,7 +144,7 @@ :disabled="disabled || errors" primary > - {{ $t('post.submitComment') }} + {{ $t('post.comment.submit') }} @@ -368,7 +368,7 @@ export default { this.addComment(res.data.CreateComment) this.loading = false this.disabled = false - this.$toast.success(this.$t('post.commentSubmitted')) + this.$toast.success(this.$t('post.comment.submitted')) }) .catch(err => { this.$toast.error(err.message)