refactor: refs #7353 use global locales
gitea/salix-front/pipeline/pr-test This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-09-11 10:18:11 +02:00
parent 2b012d2de4
commit b559f2f18c
3 changed files with 23 additions and 19 deletions

View File

@ -278,6 +278,15 @@ globals:
createInvoiceIn: Create invoice in
myAccount: My account
noOne: No one
params:
search: General search
clientFk: Client id
salesPersonFk: Sales person
warehouseFk: Warehouse
provinceFk: Province
from: From
To: To
stateFk: State
errors:
statusUnauthorized: Access denied
statusInternalServerError: An internal server error has ocurred

View File

@ -282,6 +282,15 @@ globals:
createInvoiceIn: Crear factura recibida
myAccount: Mi cuenta
noOne: Nadie
params:
search: Búsqueda general
clientFk: Id cliente
salesPersonFk: Comercial
warehouseFk: Almacén
provinceFk: Provincia
from: Desde
To: Hasta
stateFk: Estado
errors:
statusUnauthorized: Acceso denegado
statusInternalServerError: Ha ocurrido un error interno del servidor

View File

@ -64,7 +64,7 @@ const handleScopeDays = (params, days, callback) => {
<QItem>
<QItemSection>
<VnInput
:label="t('params.clientFk')"
:label="t('globals.params.clientFk')"
v-model="params.clientFk"
is-outlined
/>
@ -105,7 +105,7 @@ const handleScopeDays = (params, days, callback) => {
outlined
dense
rounded
:label="t('params.salesPersonFk')"
:label="t('globals.params.salesPersonFk')"
v-model="params.salesPersonFk"
url="Workers/search"
:params="{ departmentCodes: ['VT'] }"
@ -158,7 +158,7 @@ const handleScopeDays = (params, days, callback) => {
outlined
dense
rounded
:label="t('params.stateFk')"
:label="t('globals.params.stateFk')"
v-model="params.stateFk"
url="States"
is-outlined
@ -184,7 +184,7 @@ const handleScopeDays = (params, days, callback) => {
outlined
dense
rounded
:label="t('params.warehouseFk')"
:label="t('globals.params.warehouseFk')"
v-model="params.warehouseFk"
:options="warehouses"
/>
@ -196,7 +196,7 @@ const handleScopeDays = (params, days, callback) => {
outlined
dense
rounded
:label="t('params.provinceFk')"
:label="t('globals.params.provinceFk')"
v-model="params.provinceFk"
url="Provinces"
/>
@ -235,22 +235,15 @@ const handleScopeDays = (params, days, callback) => {
<i18n>
en:
params:
clientFk: Client id
orderFk: Order id
scopeDays: Days onward
nickname: Nickname
salesPersonFk: Sales person
refFk: Invoice
agencyModeFk: Agency
stateFk: State
groupedStates: Grouped State
warehouseFk: Warehouse
provinceFk: Province
myTeam: My team
problems: With problems
pending: Pending
from: From
to: To
alertLevel: Grouped State
FREE: Free
DELIVERED: Delivered
@ -261,22 +254,15 @@ en:
es:
params:
clientFk: Id cliente
orderFk: Id cesta
scopeDays: Días en adelante
nickname: Nombre mostrado
salesPersonFk: Comercial
refFk: Factura
agencyModeFk: Agencia
stateFk: Estado
groupedStates: Estado agrupado
warehouseFk: Almacén
provinceFk: Provincia
myTeam: Mi equipo
problems: Con problemas
pending: Pendiente
from: Desde
To: Hasta
alertLevel: Estado agrupado
FREE: Libre
DELIVERED: Servido