feat(i18n): i18nize everything

This commit is contained in:
2026-01-30 22:58:07 +01:00
parent 861f76c55a
commit 8e7895ae59
16 changed files with 142 additions and 78 deletions

View File

@@ -56,19 +56,19 @@ defineOptions({ render: () => null });
<!-- date format may change based on the language (d/m/y is superior btw) -->
<NumberInput
:model-value="BIRTHDAY_MONTH"
title="Month"
:title="$t('settings.user.birthday.month')"
:x="1 * 16"
:disabled="true"
/>
<NumberInput
:model-value="BIRTHDAY_DAY"
title="Day"
:title="$t('settings.user.birthday.day')"
:x="5 * 16"
:disabled="true"
/>
<NumberInput
:model-value="BIRTHDAY_YEAR"
title="Day"
:title="$t('settings.user.birthday.year')"
:digits="4"
:x="9 * 16"
:disabled="true"
@@ -76,8 +76,8 @@ defineOptions({ render: () => null });
<CommonButtons
:y-offset="0"
b-label="Cancel"
a-label="Confirm"
:b-label="$t('common.cancel')"
:a-label="$t('common.confirm')"
@activate-b="handleActivateB"
@activate-a="handleActivateA"
/>

View File

@@ -135,8 +135,8 @@ const handleConfirm = () => {
<template>
<CommonButtons
:y-offset="0"
b-label="Cancel"
a-label="Confirm"
:b-label="$t('common.cancel')"
:a-label="$t('common.confirm')"
@activate-b="handleCancel"
@activate-a="handleConfirm"
/>

View File

@@ -253,8 +253,8 @@ defineOptions({ render: () => null });
<template>
<CommonButtons
:y-offset="confirmationModal.buttonsYOffset"
b-label="Quit"
:a-label="state === 'waiting' ? 'Start' : 'Restart'"
:b-label="$t('common.quit')"
:a-label="state === 'waiting' ? $t('common.start') : $t('common.restart')"
@activate-b="handleCancel"
@activate-a="handleConfirm"
/>

View File

@@ -56,8 +56,8 @@ defineOptions({ render: () => null });
<template>
<CommonButtons
:y-offset="0"
b-label="Cancel"
a-label="Confirm"
:b-label="$t('common.cancel')"
:a-label="$t('common.confirm')"
@activate-b="handleCancel"
@activate-a="handleConfirm"
/>