fixed translation in action button

This commit is contained in:
2025-06-20 10:29:05 +02:00
parent ca9d3b1d08
commit b5114ac6fb
3 changed files with 11 additions and 7 deletions

View File

@ -37,7 +37,7 @@
:name="link.icon"
class="me-3"
/>
{{ link.label }}
{{ te(link.label) ? t(link.label) : link.label }}
</NuxtLinkLocale>
<button
@ -72,6 +72,8 @@ defineProps({
})
const id = useId()
const { t, te } = useI18n()
</script>
<style lang="css" scoped>