Translations

This commit is contained in:
Robert Schäfer 2019-03-14 01:51:14 +01:00
parent 48a85b4af3
commit c2d7002795
4 changed files with 10 additions and 4 deletions

View File

@ -64,7 +64,7 @@ describe('Comment.vue', () => {
it('translates a placeholder', () => {
const wrapper = Wrapper()
const calls = mocks.$t.mock.calls
const expected = [['comment.content.disabled-placeholder']]
const expected = [['comment.content.deleted-placeholder']]
expect(calls).toEqual(expect.arrayContaining(expected))
})

View File

@ -30,7 +30,7 @@
style="padding-left: 40px; font-weight: bold;"
color="soft"
>
<ds-icon name="ban" /> {{ this.$t('comment.content.disabled-placeholder') }}
<ds-icon name="ban" /> {{ this.$t('comment.content.deleted-placeholder') }}
</ds-text>
</div>
</template>

View File

@ -181,7 +181,10 @@
},
"comment": {
"edit": "Kommentar bearbeiten",
"delete": "Kommentar löschen"
"delete": "Kommentar löschen",
"content": {
"deleted-placeholder": "...gelöschter Kommentar"
}
},
"followButton": {
"follow": "Folgen",

View File

@ -181,7 +181,10 @@
},
"comment": {
"edit": "Edit Comment",
"delete": "Delete Comment"
"delete": "Delete Comment",
"content": {
"deleted-placeholder": "...deleted comment"
}
},
"followButton": {
"follow": "Follow",