translation key 'you' should be optional.

This commit is contained in:
m1k1o 2021-04-03 16:00:07 +02:00
parent 6c4cc0cc89
commit 8a0d0bac0c
2 changed files with 15 additions and 11 deletions

View file

@ -24,7 +24,7 @@
boundariesElement: 'body',
}"
>
<strong v-if="message.id === id">{{ $t('you') }}</strong>
<strong v-if="message.id === id && $te('you')">{{ $t('you') }}</strong>
<strong v-else>{{ member(message.id).displayname }}</strong>
{{ message.content }}
</div>