0
0
Fork 0

refs #6321 feat: i18n improves

This commit is contained in:
Javier Segarra 2024-03-13 14:27:21 +01:00
parent 80b881edb5
commit 322c195175
5 changed files with 12 additions and 12 deletions

View File

@ -504,7 +504,7 @@ export default {
value: 'Negative', value: 'Negative',
itemFk: 'itemFk', itemFk: 'itemFk',
warehouseFk: 'warehouseFk', warehouseFk: 'warehouseFk',
producer: 'producer', producer: 'Producer',
category: 'category', category: 'category',
warehouse: 'warehouse', warehouse: 'warehouse',
lack: 'Negative', lack: 'Negative',

View File

@ -453,21 +453,21 @@ export default {
value:'Negativo', value:'Negativo',
itemFk: 'itemFk', itemFk: 'itemFk',
warehouseFk: 'warehouseFk', warehouseFk: 'warehouseFk',
producer: 'producer', producer: 'Producer',
category: 'category', category: 'category',
warehouse: 'warehouse', warehouse: 'warehouse',
lack: 'Negativo', lack: 'Negativo',
inkFk: 'inkFk', inkFk: 'Color',
timed: 'timed', timed: 'timed',
minTimed: 'minTimed', minTimed: 'minTimed',
detail:{ detail:{
itemFk:'Articulo', itemFk:'Articulo',
ticketFk:'Id_Ticket', ticketFk:'Id_Ticket',
code:'code', code:'code',
nickname:'nickname', nickname:'Usuario',
name:'name', name:'Nombre',
quantity:'Cantidad', quantity:'Cantidad',
alertLevel:'alertLevel', alertLevel:'Nivel de alerta',
alertLevelCode:'Estado de Alerta', alertLevelCode:'Estado de Alerta',
state:'Estado', state:'Estado',
peticionCompra:'Petición compra', peticionCompra:'Petición compra',

View File

@ -202,13 +202,13 @@ const columns = computed(() => [
}, },
{ {
name: 'code', name: 'code',
label: t('ticket.negative.detail.Code'), label: t('ticket.negative.detail.code'),
field: 'code', field: 'code',
align: 'left', align: 'left',
}, },
{ {
name: 'nickname', name: 'nickname',
label: t('ticket.negative.detail.Nickname'), label: t('ticket.negative.detail.nickname'),
field: 'nickname', field: 'nickname',
align: 'left', align: 'left',
}, },

View File

@ -40,7 +40,7 @@ const agencies = ref();
> >
<template #tags="{ tag, formatFn }"> <template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs"> <div class="q-gutter-x-xs">
<strong>{{ t(`params.${tag.label}`) }}: </strong> <strong>{{ t(`ticket.negative.${tag.label}`) }}: </strong>
<span>{{ formatFn(tag.value) }}</span> <span>{{ formatFn(tag.value) }}</span>
</div> </div>
</template> </template>
@ -68,7 +68,7 @@ const agencies = ref();
<QItem> <QItem>
<QItemSection> <QItemSection>
<VnInput <VnInput
v-model="params.color" v-model="params.inkFk"
:label="t('ticket.negative.colour')" :label="t('ticket.negative.colour')"
is-outlined is-outlined
/> />

View File

@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n';
import { useStateStore } from 'stores/useStateStore'; import { useStateStore } from 'stores/useStateStore';
import VnPaginate from 'components/ui/VnPaginate.vue'; import VnPaginate from 'components/ui/VnPaginate.vue';
import { useSession } from 'src/composables/useSession'; import { useSession } from 'src/composables/useSession';
import TicketFilter from 'pages/Ticket/Negative/TicketLackFilter.vue'; import TicketLackFilter from 'pages/Ticket/Negative/TicketLackFilter.vue';
import TicketDescriptorDialog from 'pages/Ticket/Negative/TicketLackDescriptorDialog.vue'; import TicketDescriptorDialog from 'pages/Ticket/Negative/TicketLackDescriptorDialog.vue';
import { useQuasar } from 'quasar'; import { useQuasar } from 'quasar';
const session = useSession(); const session = useSession();
@ -216,7 +216,7 @@ const columns = computed(() => [
</VnConfirm> --> </VnConfirm> -->
<QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above> <QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above>
<QScrollArea class="fit text-grey-8"> <QScrollArea class="fit text-grey-8">
<TicketFilter data-key="NegativeList" /> <TicketLackFilter data-key="NegativeList" />
</QScrollArea> </QScrollArea>
</QDrawer> </QDrawer>
</div> </div>