#7323 use global locale #618

Merged
carlossa merged 1 commits from 7323-warmfix-i18nTag into test 2024-08-13 11:20:16 +00:00
3 changed files with 3 additions and 6 deletions
src
components
i18n/locale

View File

@ -164,7 +164,7 @@ const isEmployee = computed(() => useRole().isEmployee());
class="q-mt-sm q-px-md"
:to="`/worker/${user.id}`"
color="primary"
:label="t('My account')"
:label="t('globals.myAccount')"
dense
/>
<div class="text-subtitle1 q-mt-md">
@ -270,7 +270,3 @@ const isEmployee = computed(() => useRole().isEmployee());
}
}
</style>
<i18n>
es:
My account: Mi cuenta
</i18n>

View File

@ -263,6 +263,7 @@ globals:
title: Unsaved changes will be lost
subtitle: Are you sure exit without saving?
createInvoiceIn: Create invoice in
myAccount: My account
errors:
statusUnauthorized: Access denied
statusInternalServerError: An internal server error has ocurred

View File

@ -265,7 +265,7 @@ globals:
title: Los cambios que no haya guardado se perderán
subtitle: ¿Seguro que quiere salir sin guardar?
createInvoiceIn: Crear factura recibida
myAccount: Mi cuenta
errors:
statusUnauthorized: Acceso denegado
statusInternalServerError: Ha ocurrido un error interno del servidor