added transalations for UI texts

This commit is contained in:
2026-02-14 07:34:04 +01:00
parent 3010a66d59
commit 9b2f2c4e91
24 changed files with 681 additions and 118 deletions

View File

@ -1,11 +1,16 @@
<script setup lang="ts">
const tabs = [
{ to: { name: 'today' }, label: 'Dnes' },
{ to: { name: 'meals' }, label: 'Jedlá' },
{ to: { name: 'ingredients' }, label: 'Suroviny' },
{ to: { name: 'stats' }, label: 'Stats' },
{ to: { name: 'settings' }, label: 'Viac' },
]
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
const tabs = computed(() => [
{ to: { name: 'today' }, label: t('nav.today') },
{ to: { name: 'meals' }, label: t('nav.meals') },
{ to: { name: 'ingredients' }, label: t('nav.ingredients') },
{ to: { name: 'stats' }, label: t('nav.stats') },
{ to: { name: 'settings' }, label: t('nav.more') },
])
</script>
<template>