test(i18n): sync inventory dictionary contracts
This commit is contained in:
@@ -333,6 +333,10 @@ describe("i18n dictionaries", () => {
|
||||
nameRequired: "Name is required",
|
||||
categoryRequired: "Category is required",
|
||||
stockRequired: "Stock is required",
|
||||
trackingTypeRequired: "Tracking type is required",
|
||||
invalidTrackingType: "Invalid tracking type",
|
||||
statusRequired: "Status is required",
|
||||
invalidStatus: "Invalid status",
|
||||
itemRequired: "Item is required",
|
||||
},
|
||||
})
|
||||
@@ -403,6 +407,10 @@ describe("i18n dictionaries", () => {
|
||||
nameRequired: "El nombre es obligatorio",
|
||||
categoryRequired: "La categoría es obligatoria",
|
||||
stockRequired: "El stock es obligatorio",
|
||||
trackingTypeRequired: "El tipo de seguimiento es obligatorio",
|
||||
invalidTrackingType: "Tipo de seguimiento inválido",
|
||||
statusRequired: "El estado es obligatorio",
|
||||
invalidStatus: "Estado inválido",
|
||||
itemRequired: "El artículo es obligatorio",
|
||||
},
|
||||
})
|
||||
@@ -549,10 +557,17 @@ describe("i18n dictionaries", () => {
|
||||
item: "Item",
|
||||
category: "Category",
|
||||
serialNumber: "Serial Number",
|
||||
assetTag: "Asset Tag",
|
||||
manufacturer: "Manufacturer",
|
||||
model: "Model",
|
||||
purchaseDate: "Purchase Date",
|
||||
purchasePrice: "Purchase Price",
|
||||
warrantyEndsAt: "Warranty Ends At",
|
||||
status: "Status",
|
||||
actions: "Actions",
|
||||
},
|
||||
actions: {
|
||||
view: "View asset",
|
||||
edit: "Edit asset",
|
||||
},
|
||||
},
|
||||
@@ -568,6 +583,18 @@ describe("i18n dictionaries", () => {
|
||||
itemPlaceholder: "Select an item",
|
||||
serialNumberLabel: "Serial Number",
|
||||
serialNumberPlaceholder: "Serial number",
|
||||
assetTagLabel: "Asset Tag",
|
||||
assetTagPlaceholder: "Asset tag",
|
||||
manufacturerLabel: "Manufacturer",
|
||||
manufacturerPlaceholder: "Manufacturer",
|
||||
modelLabel: "Model",
|
||||
modelPlaceholder: "Model",
|
||||
purchaseDateLabel: "Purchase Date",
|
||||
purchaseDatePlaceholder: "YYYY-MM-DD",
|
||||
purchasePriceLabel: "Purchase Price",
|
||||
purchasePricePlaceholder: "0.00",
|
||||
warrantyEndsAtLabel: "Warranty Ends At",
|
||||
warrantyEndsAtPlaceholder: "YYYY-MM-DD",
|
||||
deliveryNoteLabel: "Delivery Note",
|
||||
deliveryNotePlaceholder: "Delivery note",
|
||||
statusLabel: "Status",
|
||||
@@ -577,14 +604,39 @@ describe("i18n dictionaries", () => {
|
||||
createSubmit: "Create Asset",
|
||||
updateSubmit: "Update Asset",
|
||||
},
|
||||
detail: {
|
||||
title: "Asset Details",
|
||||
notFound: "Asset not found",
|
||||
actions: {
|
||||
edit: "Edit asset",
|
||||
},
|
||||
labels: {
|
||||
item: "Item",
|
||||
serialNumber: "Serial Number",
|
||||
assetTag: "Asset Tag",
|
||||
manufacturer: "Manufacturer",
|
||||
model: "Model",
|
||||
purchaseDate: "Purchase Date",
|
||||
purchasePrice: "Purchase Price",
|
||||
warrantyEndsAt: "Warranty Ends At",
|
||||
deliveryNote: "Delivery Note",
|
||||
notes: "Notes",
|
||||
status: "Status",
|
||||
person: "Person",
|
||||
},
|
||||
fallback: {
|
||||
missingValue: "N/A",
|
||||
},
|
||||
},
|
||||
status: {
|
||||
AVAILABLE: "Available",
|
||||
ASSIGNED: "Assigned",
|
||||
RESERVED: "Reserved",
|
||||
IN_REPAIR: "In repair",
|
||||
BROKEN: "Broken",
|
||||
LOST: "Lost",
|
||||
STOLEN: "Stolen",
|
||||
DISPOSED: "Disposed",
|
||||
RETIRED: "Retired",
|
||||
},
|
||||
fallback: {
|
||||
unknownStatus: "Unknown status",
|
||||
@@ -611,6 +663,7 @@ describe("i18n dictionaries", () => {
|
||||
statusRequired: "Status is required",
|
||||
invalidCreateStatus: "Status must be Available or Assigned",
|
||||
invalidUpdateStatus: "Invalid status",
|
||||
personRequired: "Person is required",
|
||||
},
|
||||
})
|
||||
|
||||
@@ -623,10 +676,17 @@ describe("i18n dictionaries", () => {
|
||||
item: "Artículo",
|
||||
category: "Categoría",
|
||||
serialNumber: "Número de serie",
|
||||
assetTag: "Etiqueta",
|
||||
manufacturer: "Fabricante",
|
||||
model: "Modelo",
|
||||
purchaseDate: "Fecha de compra",
|
||||
purchasePrice: "Precio de compra",
|
||||
warrantyEndsAt: "Garantía hasta",
|
||||
status: "Estado",
|
||||
actions: "Acciones",
|
||||
},
|
||||
actions: {
|
||||
view: "Ver activo",
|
||||
edit: "Editar activo",
|
||||
},
|
||||
},
|
||||
@@ -642,6 +702,18 @@ describe("i18n dictionaries", () => {
|
||||
itemPlaceholder: "Selecciona un artículo",
|
||||
serialNumberLabel: "Número de serie",
|
||||
serialNumberPlaceholder: "Número de serie",
|
||||
assetTagLabel: "Etiqueta",
|
||||
assetTagPlaceholder: "Etiqueta",
|
||||
manufacturerLabel: "Fabricante",
|
||||
manufacturerPlaceholder: "Fabricante",
|
||||
modelLabel: "Modelo",
|
||||
modelPlaceholder: "Modelo",
|
||||
purchaseDateLabel: "Fecha de compra",
|
||||
purchaseDatePlaceholder: "AAAA-MM-DD",
|
||||
purchasePriceLabel: "Precio de compra",
|
||||
purchasePricePlaceholder: "0.00",
|
||||
warrantyEndsAtLabel: "Garantía hasta",
|
||||
warrantyEndsAtPlaceholder: "AAAA-MM-DD",
|
||||
deliveryNoteLabel: "Albarán",
|
||||
deliveryNotePlaceholder: "Albarán",
|
||||
statusLabel: "Estado",
|
||||
@@ -651,14 +723,39 @@ describe("i18n dictionaries", () => {
|
||||
createSubmit: "Crear activo",
|
||||
updateSubmit: "Actualizar activo",
|
||||
},
|
||||
detail: {
|
||||
title: "Detalles del activo",
|
||||
notFound: "Activo no encontrado",
|
||||
actions: {
|
||||
edit: "Editar activo",
|
||||
},
|
||||
labels: {
|
||||
item: "Artículo",
|
||||
serialNumber: "Número de serie",
|
||||
assetTag: "Etiqueta",
|
||||
manufacturer: "Fabricante",
|
||||
model: "Modelo",
|
||||
purchaseDate: "Fecha de compra",
|
||||
purchasePrice: "Precio de compra",
|
||||
warrantyEndsAt: "Garantía hasta",
|
||||
deliveryNote: "Albarán",
|
||||
notes: "Notas",
|
||||
status: "Estado",
|
||||
person: "Persona",
|
||||
},
|
||||
fallback: {
|
||||
missingValue: "N/D",
|
||||
},
|
||||
},
|
||||
status: {
|
||||
AVAILABLE: "Disponible",
|
||||
ASSIGNED: "Asignado",
|
||||
RESERVED: "Reservado",
|
||||
IN_REPAIR: "En reparación",
|
||||
BROKEN: "Roto",
|
||||
LOST: "Perdido",
|
||||
STOLEN: "Robado",
|
||||
DISPOSED: "Dado de baja",
|
||||
RETIRED: "Retirado",
|
||||
},
|
||||
fallback: {
|
||||
unknownStatus: "Estado desconocido",
|
||||
@@ -686,6 +783,7 @@ describe("i18n dictionaries", () => {
|
||||
statusRequired: "El estado es obligatorio",
|
||||
invalidCreateStatus: "El estado inicial debe ser Disponible o Asignado",
|
||||
invalidUpdateStatus: "Estado inválido",
|
||||
personRequired: "La persona es obligatoria",
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user