Add translations to deck.vue aria labels

This commit is contained in:
TalonTheDragon 2023-05-22 10:54:42 +02:00
parent 8806dc92f7
commit 1c275c9114

View File

@ -111,7 +111,7 @@
<div v-if="isMobile" class="buttons"> <div v-if="isMobile" class="buttons">
<button <button
aria-label="Menu" :aria-label="i18n.t('menu')"
class="button nav _button" class="button nav _button"
@click="drawerMenuShowing = true" @click="drawerMenuShowing = true"
> >
@ -120,11 +120,11 @@
><i class="ph-circle ph-fill"></i ><i class="ph-circle ph-fill"></i
></span> ></span>
</button> </button>
<button aria-label="Home" class="button home _button" @click="mainRouter.push('/')"> <button :aria-label="i18n.t('home')" class="button home _button" @click="mainRouter.push('/')">
<i class="ph-house ph-bold ph-lg"></i> <i class="ph-house ph-bold ph-lg"></i>
</button> </button>
<button <button
aria-label="Notifications" :aria-label="i18n.t('notifications')"
class="button notifications _button" class="button notifications _button"
@click="mainRouter.push('/my/notifications')" @click="mainRouter.push('/my/notifications')"
> >
@ -133,7 +133,7 @@
><i class="ph-circle ph-fill"></i ><i class="ph-circle ph-fill"></i
></span> ></span>
</button> </button>
<button aria-label="Post" class="button post _button" @click="os.post()"> <button :aria-label="i18n.t('note')" class="button post _button" @click="os.post()">
<i class="ph-pencil ph-bold ph-lg"></i> <i class="ph-pencil ph-bold ph-lg"></i>
</button> </button>
</div> </div>