0
0
Fork 0

move translations

This commit is contained in:
William Buezas 2024-04-29 17:39:37 -03:00
parent 1b619055eb
commit ccac3a54f9
3 changed files with 40 additions and 27 deletions

View File

@ -39,25 +39,25 @@ const columns = computed(() => [
field: 'itemFk',
},
{
label: t('Date'),
label: t('itemDiary.date'),
name: 'date',
field: 'shipped',
align: 'left',
},
{
label: t('Id'),
label: t('itemDiary.id'),
name: 'id',
align: 'left',
},
{
label: t('State'),
label: t('itemDiary.state'),
field: 'stateName',
name: 'state',
align: 'left',
format: (val) => dashIfEmpty(val),
},
{
label: t('Reference'),
label: t('itemDiary.reference'),
field: 'reference',
name: 'reference',
align: 'left',
@ -65,27 +65,27 @@ const columns = computed(() => [
},
{
label: t('Client'),
label: t('itemDiary.client'),
name: 'client',
align: 'left',
format: (val) => dashIfEmpty(val),
},
{
label: t('In'),
label: t('itemDiary.in'),
field: 'invalue',
name: 'in',
align: 'left',
format: (val) => dashIfEmpty(val),
},
{
label: t('Out'),
label: t('itemDiary.out'),
field: 'out',
name: 'out',
align: 'left',
format: (val) => dashIfEmpty(val),
},
{
label: t('Balance'),
label: t('itemDiary.balance'),
name: 'balance',
align: 'left',
},
@ -144,7 +144,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<QToolbar class="justify-end">
<div id="st-data" class="row">
<VnSelect
:label="t('Warehouse')"
:label="t('itemDiary.warehouse')"
:options="warehousesOptions"
hide-selected
option-label="name"
@ -155,14 +155,14 @@ onUnmounted(() => (stateStore.rightDrawer = false));
class="q-mr-lg"
/>
<QCheckbox
:label="t(`Show what's before the inventory`)"
:label="t('itemDiary.showBefore')"
v-model="showWhatsBeforeInventory"
@update:model-value="fetchItemBalances"
class="q-mr-lg"
/>
<VnInputDate
v-if="showWhatsBeforeInventory"
:label="t('Since')"
:label="t('itemDiary.since')"
dense
v-model="itemsBalanceFilter.where.date"
@update:model-value="fetchItemBalances"
@ -188,7 +188,9 @@ onUnmounted(() => (stateStore.rightDrawer = false));
icon="vn:claims"
dense
>
<QTooltip> {{ t('Claim') }}: {{ row.claimFk }} </QTooltip>
<QTooltip>
{{ t('itemDiary.claim') }}: {{ row.claimFk }}
</QTooltip>
</QBtn>
</QTd>
</template>
@ -273,18 +275,3 @@ onUnmounted(() => (stateStore.rightDrawer = false));
color: $positive;
}
</style>
<i18n>
es:
Date: Fecha
Id: Id
State: Estado
Reference: Referencia
Client: Cliente
In: Entrada
Out: Salida
Balance: Balance
Claim: Reclamación
Show what's before the inventory: Mostrar lo anterior al inventario
Since: Desde
</i18n>

View File

@ -0,0 +1,13 @@
itemDiary:
date: Date
id: Id
state: State
reference: Reference
client: Client
in: In
out: Out
balance: Balance
claim: Claim
showBefore: Show what's before the inventory
since: Since
warehouse: Warehouse

View File

@ -0,0 +1,13 @@
itemDiary:
date: Fecha
id: Id
state: Estado
reference: Referencia
client: Cliente
in: Entrada
out: Salida
balance: Balance
claim: Reclamación
showBefore: Mostrar lo anterior al inventario
since: Desde
warehouse: Almacén