forked from verdnatura/salix-front
refactor: refs #8316 add new localization keys and update existing ones for invoiceOut components
This commit is contained in:
parent
0a7ac85729
commit
9d32f6af3b
|
@ -190,7 +190,10 @@ const getLocale = (label) => {
|
||||||
const globalLocale = `globals.params.${param}`;
|
const globalLocale = `globals.params.${param}`;
|
||||||
if (te(globalLocale)) return t(globalLocale);
|
if (te(globalLocale)) return t(globalLocale);
|
||||||
else if (te(t(`params.${param}`)));
|
else if (te(t(`params.${param}`)));
|
||||||
else return t(`${route.meta.moduleName.toLowerCase()}.params.${param}`);
|
else {
|
||||||
|
const camelCaseModuleName = route.meta.moduleName.charAt(0).toLowerCase() + route.meta.moduleName.slice(1);
|
||||||
|
return t(`${camelCaseModuleName}.params.${param}`);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -725,62 +725,6 @@ travel:
|
||||||
destination: Destination
|
destination: Destination
|
||||||
thermograph: Thermograph
|
thermograph: Thermograph
|
||||||
travelFileDescription: 'Travel id { travelId }'
|
travelFileDescription: 'Travel id { travelId }'
|
||||||
item:
|
|
||||||
descriptor:
|
|
||||||
buyer: Buyer
|
|
||||||
color: Color
|
|
||||||
category: Category
|
|
||||||
available: Available
|
|
||||||
warehouseText: 'Calculated on the warehouse of { warehouseName }'
|
|
||||||
itemDiary: Item diary
|
|
||||||
list:
|
|
||||||
id: Identifier
|
|
||||||
stems: Stems
|
|
||||||
category: Category
|
|
||||||
typeName: Type
|
|
||||||
isActive: Active
|
|
||||||
userName: Buyer
|
|
||||||
weightByPiece: Weight/Piece
|
|
||||||
stemMultiplier: Multiplier
|
|
||||||
fixedPrice:
|
|
||||||
itemFk: Item ID
|
|
||||||
groupingPrice: Grouping price
|
|
||||||
packingPrice: Packing price
|
|
||||||
hasMinPrice: Has min price
|
|
||||||
minPrice: Min price
|
|
||||||
started: Started
|
|
||||||
ended: Ended
|
|
||||||
create:
|
|
||||||
priority: Priority
|
|
||||||
buyRequest:
|
|
||||||
requester: Requester
|
|
||||||
requested: Requested
|
|
||||||
attender: Atender
|
|
||||||
achieved: Achieved
|
|
||||||
concept: Concept
|
|
||||||
summary:
|
|
||||||
otherData: Other data
|
|
||||||
tax: Tax
|
|
||||||
botanical: Botanical
|
|
||||||
barcode: Barcode
|
|
||||||
completeName: Complete name
|
|
||||||
family: Familiy
|
|
||||||
stems: Stems
|
|
||||||
multiplier: Multiplier
|
|
||||||
buyer: Buyer
|
|
||||||
doPhoto: Do photo
|
|
||||||
intrastatCode: Intrastat code
|
|
||||||
ref: Reference
|
|
||||||
relevance: Relevance
|
|
||||||
weight: Weight (gram)/stem
|
|
||||||
units: Units/box
|
|
||||||
expense: Expense
|
|
||||||
generic: Generic
|
|
||||||
recycledPlastic: Recycled plastic
|
|
||||||
nonRecycledPlastic: Non recycled plastic
|
|
||||||
minSalesQuantity: Min sales quantity
|
|
||||||
genus: Genus
|
|
||||||
specie: Specie
|
|
||||||
components:
|
components:
|
||||||
topbar: {}
|
topbar: {}
|
||||||
itemsFilterPanel:
|
itemsFilterPanel:
|
||||||
|
|
|
@ -721,62 +721,6 @@ travel:
|
||||||
destination: Destino
|
destination: Destino
|
||||||
thermograph: Termógrafo
|
thermograph: Termógrafo
|
||||||
travelFileDescription: 'Id envío { travelId }'
|
travelFileDescription: 'Id envío { travelId }'
|
||||||
item:
|
|
||||||
descriptor:
|
|
||||||
buyer: Comprador
|
|
||||||
color: Color
|
|
||||||
category: Categoría
|
|
||||||
available: Disponible
|
|
||||||
warehouseText: 'Calculado sobre el almacén de { warehouseName }'
|
|
||||||
itemDiary: Registro de compra-venta
|
|
||||||
list:
|
|
||||||
id: Identificador
|
|
||||||
stems: Tallos
|
|
||||||
category: Reino
|
|
||||||
typeName: Tipo
|
|
||||||
isActive: Activo
|
|
||||||
weightByPiece: Peso (gramos)/tallo
|
|
||||||
userName: Comprador
|
|
||||||
stemMultiplier: Multiplicador
|
|
||||||
fixedPrice:
|
|
||||||
itemFk: ID Artículo
|
|
||||||
groupingPrice: Precio grouping
|
|
||||||
packingPrice: Precio packing
|
|
||||||
hasMinPrice: Tiene precio mínimo
|
|
||||||
minPrice: Precio min
|
|
||||||
started: Inicio
|
|
||||||
ended: Fin
|
|
||||||
create:
|
|
||||||
priority: Prioridad
|
|
||||||
summary:
|
|
||||||
otherData: Otros datos
|
|
||||||
tax: IVA
|
|
||||||
botanical: Botánico
|
|
||||||
barcode: Código de barras
|
|
||||||
completeName: Nombre completo
|
|
||||||
family: Familia
|
|
||||||
stems: Tallos
|
|
||||||
multiplier: Multiplicador
|
|
||||||
buyer: Comprador
|
|
||||||
doPhoto: Hacer foto
|
|
||||||
intrastatCode: Código intrastat
|
|
||||||
ref: Referencia
|
|
||||||
relevance: Relevancia
|
|
||||||
weight: Peso (gramos)/tallo
|
|
||||||
units: Unidades/caja
|
|
||||||
expense: Gasto
|
|
||||||
generic: Genérico
|
|
||||||
recycledPlastic: Plástico reciclado
|
|
||||||
nonRecycledPlastic: Plástico no reciclado
|
|
||||||
minSalesQuantity: Cantidad mínima de venta
|
|
||||||
genus: Genus
|
|
||||||
specie: Specie
|
|
||||||
buyRequest:
|
|
||||||
requester: Solicitante
|
|
||||||
requested: Solicitado
|
|
||||||
attender: Comprador
|
|
||||||
achieved: Conseguido
|
|
||||||
concept: Concepto
|
|
||||||
components:
|
components:
|
||||||
topbar: {}
|
topbar: {}
|
||||||
itemsFilterPanel:
|
itemsFilterPanel:
|
||||||
|
|
|
@ -180,46 +180,46 @@ item:
|
||||||
intrastat: Intrastat
|
intrastat: Intrastat
|
||||||
origin: Origin
|
origin: Origin
|
||||||
buyRequest:
|
buyRequest:
|
||||||
ticketId: 'Ticket ID'
|
ticketId: Ticket ID
|
||||||
shipped: 'Shipped'
|
shipped: Shipped
|
||||||
requester: 'Requester'
|
requester: Requester
|
||||||
requested: 'Requested'
|
requested: Requested
|
||||||
price: 'Price'
|
price: Price
|
||||||
attender: 'Attender'
|
attender: Attender
|
||||||
item: 'Item'
|
item: Item
|
||||||
achieved: 'Achieved'
|
achieved: Achieved
|
||||||
concept: 'Concept'
|
concept: Concept
|
||||||
state: 'State'
|
state: State
|
||||||
summary:
|
summary:
|
||||||
basicData: 'Basic data'
|
basicData: Basic data
|
||||||
otherData: 'Other data'
|
otherData: Other data
|
||||||
description: 'Description'
|
description: Description
|
||||||
tax: 'Tax'
|
tax: Tax
|
||||||
tags: 'Tags'
|
tags: Tags
|
||||||
botanical: 'Botanical'
|
botanical: Botanical
|
||||||
barcode: 'Barcode'
|
barcode: Barcode
|
||||||
name: 'Nombre'
|
name: Name
|
||||||
completeName: 'Nombre completo'
|
completeName: Complete name
|
||||||
family: 'Familia'
|
family: Family
|
||||||
size: 'Medida'
|
size: Size
|
||||||
origin: 'Origen'
|
origin: Origin
|
||||||
stems: 'Tallos'
|
stems: Stems
|
||||||
multiplier: 'Multiplicador'
|
multiplier: Multiplier
|
||||||
buyer: 'Comprador'
|
buyer: Buyer
|
||||||
doPhoto: 'Do photo'
|
doPhoto: Do photo
|
||||||
intrastatCode: 'Código intrastat'
|
intrastatCode: Intrastat code
|
||||||
intrastat: 'Intrastat'
|
intrastat: 'Intrastat'
|
||||||
ref: 'Referencia'
|
ref: Reference
|
||||||
relevance: 'Relevancia'
|
relevance: Relevance
|
||||||
weight: 'Peso (gramos)/tallo'
|
weight: Weight (gram)/stem
|
||||||
units: 'Unidades/caja'
|
units: Units/box
|
||||||
expense: 'Gasto'
|
expense: Expense
|
||||||
generic: 'Genérico'
|
generic: Generic
|
||||||
recycledPlastic: 'Plástico reciclado'
|
recycledPlastic: Recycled plastic
|
||||||
nonRecycledPlastic: 'Plástico no reciclado'
|
nonRecycledPlastic: Non recycled plastic
|
||||||
minSalesQuantity: 'Cantidad mínima de venta'
|
minSalesQuantity: Min sales quantity
|
||||||
genus: 'Genus'
|
genus: Genus
|
||||||
specie: 'Specie'
|
specie: Specie
|
||||||
search: 'Search item'
|
search: 'Search item'
|
||||||
searchInfo: 'You can search by id'
|
searchInfo: 'You can search by id'
|
||||||
regularizeStock: Regularize stock
|
regularizeStock: Regularize stock
|
|
@ -73,9 +73,6 @@ itemTags:
|
||||||
addTag: Añadir etiqueta
|
addTag: Añadir etiqueta
|
||||||
tag: Etiqueta
|
tag: Etiqueta
|
||||||
value: Valor
|
value: Valor
|
||||||
searchbar:
|
|
||||||
label: Buscar artículo
|
|
||||||
info: Buscar por id de artículo
|
|
||||||
itemType:
|
itemType:
|
||||||
shared:
|
shared:
|
||||||
code: Código
|
code: Código
|
||||||
|
@ -108,9 +105,6 @@ item:
|
||||||
concept: Concepto
|
concept: Concepto
|
||||||
denyOptions: Denegado
|
denyOptions: Denegado
|
||||||
scopeDays: Días en adelante
|
scopeDays: Días en adelante
|
||||||
searchbar:
|
|
||||||
label: Buscar artículo
|
|
||||||
info: Puedes buscar por id
|
|
||||||
descriptor:
|
descriptor:
|
||||||
item: Artículo
|
item: Artículo
|
||||||
buyer: Comprador
|
buyer: Comprador
|
||||||
|
@ -182,35 +176,35 @@ item:
|
||||||
intrastat: Intrastat
|
intrastat: Intrastat
|
||||||
origin: Origen
|
origin: Origen
|
||||||
summary:
|
summary:
|
||||||
basicData: 'Datos básicos'
|
basicData: Datos básicos
|
||||||
otherData: 'Otros datos'
|
otherData: Otros datos
|
||||||
description: 'Descripción'
|
description: Descripción
|
||||||
tax: 'IVA'
|
tax: IVA
|
||||||
tags: 'Etiquetas'
|
tags: Etiquetas
|
||||||
botanical: 'Botánico'
|
botanical: Botánico
|
||||||
barcode: 'Código de barras'
|
barcode: Código de barras
|
||||||
name: 'Nombre'
|
name: Nombre
|
||||||
completeName: 'Nombre completo'
|
completeName: Nombre completo
|
||||||
family: 'Familia'
|
family: Familia
|
||||||
size: 'Medida'
|
size: Medida
|
||||||
origin: 'Origen'
|
origin: Origen
|
||||||
stems: 'Tallos'
|
stems: Tallos
|
||||||
multiplier: 'Multiplicador'
|
multiplier: Multiplicador
|
||||||
buyer: 'Comprador'
|
buyer: Comprador
|
||||||
doPhoto: 'Hacer foto'
|
doPhoto: Hacer foto
|
||||||
intrastatCode: 'Código intrastat'
|
intrastatCode: Código intrastat
|
||||||
intrastat: 'Intrastat'
|
intrastat: Intrastat
|
||||||
ref: 'Referencia'
|
ref: Referencia
|
||||||
relevance: 'Relevancia'
|
relevance: Relevancia
|
||||||
weight: 'Peso (gramos)/tallo'
|
weight: Peso (gramos)/tallo
|
||||||
units: 'Unidades/caja'
|
units: Unidades/caja
|
||||||
expense: 'Gasto'
|
expense: Gasto
|
||||||
generic: 'Genérico'
|
generic: Genérico
|
||||||
recycledPlastic: 'Plástico reciclado'
|
recycledPlastic: Plástico reciclado
|
||||||
nonRecycledPlastic: 'Plástico no reciclado'
|
nonRecycledPlastic: Plástico no reciclado
|
||||||
minSalesQuantity: 'Cantidad mínima de venta'
|
minSalesQuantity: Cantidad mínima de venta
|
||||||
genus: 'Genus'
|
genus: Genus
|
||||||
specie: 'Specie'
|
specie: Specie
|
||||||
regularizeStock: Regularizar stock
|
regularizeStock: Regularizar stock
|
||||||
buyRequest:
|
buyRequest:
|
||||||
ticketId: 'ID Ticket'
|
ticketId: 'ID Ticket'
|
||||||
|
@ -222,6 +216,6 @@ item:
|
||||||
item: 'Artículo'
|
item: 'Artículo'
|
||||||
achieved: 'Conseguido'
|
achieved: 'Conseguido'
|
||||||
concept: 'Concepto'
|
concept: 'Concepto'
|
||||||
state: 'Estado'
|
state: 'Estado'
|
||||||
search: 'Buscar artículo'
|
search: 'Buscar artículo'
|
||||||
searchInfo: 'Puedes buscar por id'
|
searchInfo: 'Puedes buscar por id'
|
|
@ -8,14 +8,14 @@ const itemCard = {
|
||||||
meta: {
|
meta: {
|
||||||
menu: [
|
menu: [
|
||||||
'ItemBasicData',
|
'ItemBasicData',
|
||||||
'ItemLog',
|
|
||||||
'ItemDiary',
|
|
||||||
'ItemTags',
|
'ItemTags',
|
||||||
|
'ItemLastEntries',
|
||||||
'ItemTax',
|
'ItemTax',
|
||||||
'ItemBotanical',
|
'ItemBotanical',
|
||||||
'ItemBarcode',
|
|
||||||
'ItemShelving',
|
'ItemShelving',
|
||||||
'ItemLastEntries',
|
'ItemBarcode',
|
||||||
|
'ItemDiary',
|
||||||
|
'ItemLog',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
@ -37,24 +37,6 @@ const itemCard = {
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Item/Card/ItemBasicData.vue'),
|
component: () => import('src/pages/Item/Card/ItemBasicData.vue'),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: 'log',
|
|
||||||
name: 'ItemLog',
|
|
||||||
meta: {
|
|
||||||
title: 'log',
|
|
||||||
icon: 'vn:History',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Item/Card/ItemLog.vue'),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: 'diary',
|
|
||||||
name: 'ItemDiary',
|
|
||||||
meta: {
|
|
||||||
title: 'diary',
|
|
||||||
icon: 'vn:transaction',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Item/Card/ItemDiary.vue'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: 'tags',
|
path: 'tags',
|
||||||
name: 'ItemTags',
|
name: 'ItemTags',
|
||||||
|
@ -64,6 +46,15 @@ const itemCard = {
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Item/Card/ItemTags.vue'),
|
component: () => import('src/pages/Item/Card/ItemTags.vue'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'last-entries',
|
||||||
|
name: 'ItemLastEntries',
|
||||||
|
meta: {
|
||||||
|
title: 'lastEntries',
|
||||||
|
icon: 'vn:regentry',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Item/Card/ItemLastEntries.vue'),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'tax',
|
path: 'tax',
|
||||||
name: 'ItemTax',
|
name: 'ItemTax',
|
||||||
|
@ -82,15 +73,6 @@ const itemCard = {
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Item/Card/ItemBotanical.vue'),
|
component: () => import('src/pages/Item/Card/ItemBotanical.vue'),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: 'barcode',
|
|
||||||
name: 'ItemBarcode',
|
|
||||||
meta: {
|
|
||||||
title: 'barcode',
|
|
||||||
icon: 'vn:barcode',
|
|
||||||
},
|
|
||||||
component: () => import('src/pages/Item/Card/ItemBarcode.vue'),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: 'shelving',
|
path: 'shelving',
|
||||||
name: 'ItemShelving',
|
name: 'ItemShelving',
|
||||||
|
@ -101,13 +83,31 @@ const itemCard = {
|
||||||
component: () => import('src/pages/Item/Card/ItemShelving.vue'),
|
component: () => import('src/pages/Item/Card/ItemShelving.vue'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'last-entries',
|
path: 'barcode',
|
||||||
name: 'ItemLastEntries',
|
name: 'ItemBarcode',
|
||||||
meta: {
|
meta: {
|
||||||
title: 'lastEntries',
|
title: 'barcode',
|
||||||
icon: 'vn:regentry',
|
icon: 'vn:barcode',
|
||||||
},
|
},
|
||||||
component: () => import('src/pages/Item/Card/ItemLastEntries.vue'),
|
component: () => import('src/pages/Item/Card/ItemBarcode.vue'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'diary',
|
||||||
|
name: 'ItemDiary',
|
||||||
|
meta: {
|
||||||
|
title: 'diary',
|
||||||
|
icon: 'vn:transaction',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Item/Card/ItemDiary.vue'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'log',
|
||||||
|
name: 'ItemLog',
|
||||||
|
meta: {
|
||||||
|
title: 'log',
|
||||||
|
icon: 'vn:History',
|
||||||
|
},
|
||||||
|
component: () => import('src/pages/Item/Card/ItemLog.vue'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue