Merge refactor/i18n into develop

This commit is contained in:
Methapon Metanipat 2024-08-26 16:24:08 +07:00
parent 3da5bf9079
commit c681b19e39
99 changed files with 2192 additions and 2987 deletions

View file

@ -18,12 +18,12 @@ defineProps<{
name="mdi-account-outline"
style="background-color: var(--surface-3)"
/>
{{ $t(`branchAdminTitle`) }}
{{ $t(`branch.form.group.admin`) }}
</div>
<div class="col-12">
<template v-if="!admin">
<span>{{ $t('branchAdminNone') }}</span>
<span>{{ $t('general.noData') }}</span>
</template>
<template v-else>
<div class="row items-center">
@ -47,9 +47,9 @@ defineProps<{
<div class="col column q-pl-md">
<span>
{{
$i18n.locale === 'en-US'
? admin.firstNameEN + ' ' + admin.lastNameEN
: admin.firstName + ' ' + admin.lastName
$i18n.locale === 'eng'
? admin.firstNameEN || '-' + ' ' + admin.lastNameEN
: admin.firstName || '-' + ' ' + admin.lastName
}}
</span>
</div>