forked from BRETT/BRETT
i18n implemented
This commit is contained in:
@@ -69,7 +69,7 @@ function onKeydown(event: KeyboardEvent) {
|
||||
v-model="model"
|
||||
:placeholder="props.placeholder"
|
||||
class="min-h-32 pb-9"
|
||||
aria-label="Kommentar"
|
||||
:aria-label="$t('comments.commentAria')"
|
||||
aria-autocomplete="list"
|
||||
:aria-expanded="open"
|
||||
:aria-controls="open ? listId : undefined"
|
||||
@@ -92,7 +92,7 @@ function onKeydown(event: KeyboardEvent) {
|
||||
@close-auto-focus.prevent
|
||||
@interact-outside="event => { if (event.target === textarea) event.preventDefault() }"
|
||||
>
|
||||
<div :id="listId" role="listbox" aria-label="Benutzer erwähnen">
|
||||
<div :id="listId" role="listbox" :aria-label="$t('comments.mentionAria')">
|
||||
<button
|
||||
v-for="(user, index) in suggestions"
|
||||
:id="`${listId}-${index}`"
|
||||
|
||||
Reference in New Issue
Block a user