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">
<button
aria-label="Menu"
:aria-label="i18n.t('menu')"
class="button nav _button"
@click="drawerMenuShowing = true"
>
@ -120,11 +120,11 @@
><i class="ph-circle ph-fill"></i
></span>
</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>
</button>
<button
aria-label="Notifications"
:aria-label="i18n.t('notifications')"
class="button notifications _button"
@click="mainRouter.push('/my/notifications')"
>
@ -133,7 +133,7 @@
><i class="ph-circle ph-fill"></i
></span>
</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>
</button>
</div>