fix(i18n,a11y): fix missing or incorrect translations in aria-label strings (#2837)

This commit is contained in:
TAKAHASHI Shuuji 2024-04-21 19:26:35 +09:00 committed by GitHub
parent 77f0e2c2f8
commit bd8cfc7b57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 10 deletions

View file

@ -8,7 +8,7 @@ const vAutoFocus = (el: HTMLElement) => el.focus()
<template>
<div my-8 px-3 sm:px-8 md:max-w-200 flex="~ col gap-4" relative>
<button v-auto-focus type="button" btn-action-icon absolute top--8 right-0 m1 aria-label="Close" @click="emit('close')">
<button v-auto-focus type="button" btn-action-icon absolute top--8 right-0 m1 :aria-label="$t('action.close')" @click="emit('close')">
<span i-ri:close-line />
</button>