0
0
Fork 0

Add more translations

This commit is contained in:
William Buezas 2024-04-23 09:10:28 -03:00
parent a3cc6ed95b
commit 81a630d6cd
1 changed files with 11 additions and 4 deletions

View File

@ -17,9 +17,9 @@ const props = defineProps({
});
const stateOptions = [
{ code: 'pending', name: t('Pending') },
{ code: 'accepted', name: t('Accepted') },
{ code: 'denied', name: t('Denied') },
{ code: 'pending', name: t('pending') },
{ code: 'accepted', name: t('accepted') },
{ code: 'denied', name: t('denied') },
];
const itemTypesOptions = ref([]);
@ -101,7 +101,8 @@ const decrement = (paramsObj, key) => {
<template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs">
<strong>{{ t(`params.${tag.label}`) }}: </strong>
<span>{{ formatFn(tag.value) }}</span>
<span v-if="tag.label !== 'state'">{{ formatFn(tag.value) }}</span>
<span v-else>{{ t(`${tag.value}`) }}</span>
</div>
</template>
<template #body="{ params, searchFn }">
@ -293,6 +294,9 @@ en:
mine: For me
state: State
dateFiltersTooltip: Cannot choose a range of dates and days onward at the same time
denied: Denied
accepted: Accepted
pending: Pending
es:
params:
@ -308,4 +312,7 @@ es:
mine: Para mi
state: Estado
dateFiltersTooltip: No se puede seleccionar un rango de fechas y días en adelante a la vez
denied: Denegada
accepted: Aceptada
pending: Pendiente
</i18n>