212 lines
9.0 KiB
TypeScript
212 lines
9.0 KiB
TypeScript
import { inventoryEnglish, inventorySpanish } from "./inventory-i18n";
|
|
import { relationshipsEnglish, relationshipsSpanish } from "./relationship-i18n";
|
|
import { supportEnglish, supportSpanish } from "./support-i18n";
|
|
import { workstationsEnglish, workstationsSpanish } from "./workstation-i18n";
|
|
export const assetsSpanish = {
|
|
support: supportSpanish,
|
|
...inventorySpanish,
|
|
...workstationsSpanish,
|
|
...relationshipsSpanish,
|
|
yes: "Sí",
|
|
no: "No",
|
|
title: "Catálogo de activos",
|
|
companyTitle: "Catálogo de activos",
|
|
introduction: "Define las características y plantillas que utilizarás al registrar activos.",
|
|
companyIntroduction: "Utiliza las definiciones globales y añade las que necesite esta compañía.",
|
|
fields: "Campos",
|
|
templates: "Plantillas",
|
|
newField: "Nuevo campo",
|
|
editField: "Editar campo",
|
|
newTemplate: "Nueva plantilla",
|
|
editTemplate: "Editar plantilla",
|
|
name: "Nombre",
|
|
description: "Descripción (opcional)",
|
|
type: "Tipo de dato",
|
|
unit: "Unidad (opcional)",
|
|
choices: "Valores de la lista",
|
|
choicesHelp:
|
|
"Escribe un valor por línea. Los valores existentes se conservan; puedes añadir otros.",
|
|
text: "Texto",
|
|
number: "Número",
|
|
date: "Fecha",
|
|
boolean: "Sí / No",
|
|
choice: "Lista de valores",
|
|
active: "Activo",
|
|
inactive: "Inactivo",
|
|
activate: "Activar",
|
|
deactivate: "Desactivar",
|
|
inherited: "Configuración global",
|
|
overridden: "Personalizado en esta compañía",
|
|
reset: "Usar configuración global",
|
|
builtin: "De serie",
|
|
global: "Global",
|
|
own: "De la compañía",
|
|
custom: "Personalizado",
|
|
origin: "Origen",
|
|
actions: "Acciones",
|
|
edit: "Editar",
|
|
copy: "Crear copia",
|
|
copyName: "{{name}} (copia)",
|
|
fieldCount: "{{count}} campos",
|
|
search: "Buscar",
|
|
empty: "No hay resultados.",
|
|
loading: "Cargando catálogo…",
|
|
retry: "Reintentar",
|
|
save: "Guardar",
|
|
saving: "Guardando…",
|
|
cancel: "Cancelar",
|
|
selectField: "Añadir un campo a la plantilla",
|
|
choose: "Selecciona un campo",
|
|
addField: "Nuevo campo",
|
|
required: "Obligatorio",
|
|
chooseType: "Selecciona un tipo",
|
|
view: "Ver",
|
|
close: "Cerrar",
|
|
viewDefinition: "{{name}}",
|
|
optional: "Opcional",
|
|
remove: "Retirar campo: {{name}}",
|
|
noFields: "Añade al menos un campo. Todos son opcionales inicialmente.",
|
|
protected:
|
|
"Las definiciones de serie están protegidas. Puedes cambiar su disponibilidad o crear una copia de una plantilla.",
|
|
helpTitle: "¿Qué es y para qué sirve?",
|
|
examplesLabel: "Ver ejemplos y recomendaciones",
|
|
fieldDescription:
|
|
"Un campo describe una característica que podrás rellenar en un activo. Puedes reutilizarlo en varias plantillas.",
|
|
fieldExamples:
|
|
"Ejemplos: Procesador (texto), Pulgadas (número), Fin de garantía (fecha), PoE (sí/no) o Estado de batería (lista).",
|
|
fieldGuidance:
|
|
"Elige una unidad si ayuda, por ejemplo GB. No guardes contraseñas ni secretos. El tipo de dato queda fijo después del alta.",
|
|
templateDescription:
|
|
"Una plantilla reúne los campos que se mostrarán para un tipo de activo. No es un equipo concreto ni una marca o modelo comercial.",
|
|
templateExamples:
|
|
"Monitor: pulgadas, resolución y conexiones. Portátil: procesador, memoria RAM y almacenamiento.",
|
|
templateGuidance:
|
|
"Las características son opcionales por defecto. Marca como obligatorio solo lo que siempre se conozca. Retirar un campo de una plantilla no elimina el campo del catálogo.",
|
|
globalHelp: "Ámbito global: disponible para todas las compañías.",
|
|
companyHelp:
|
|
"Ámbito de compañía: estas adiciones y cambios de disponibilidad solo afectan a esta compañía.",
|
|
disabledField: "Campo inactivo: se conserva en esta plantilla.",
|
|
disabledFieldsNotice:
|
|
"Esta plantilla contiene campos inactivos. Puedes activarlos en el catálogo antes de utilizarla.",
|
|
quickNotice: "El campo se guardará aunque después canceles la plantilla.",
|
|
errors: {
|
|
RELATION_DIRECTION_FIXED: "La dirección de una relación no se puede cambiar.",
|
|
INVALID_REQUEST: "Revisa los datos del formulario.",
|
|
INVALID_CHOICES:
|
|
"Una lista necesita valores únicos y no vacíos. Los demás tipos no admiten valores de lista.",
|
|
INVALID_FIELDS: "La plantilla necesita campos distintos y válidos.",
|
|
NAME_EXISTS: "Ya existe una definición de este tipo con ese nombre.",
|
|
FIELD_UNAVAILABLE: "Solo puedes añadir campos activos del catálogo global o de esta compañía.",
|
|
FIELD_TYPE_FIXED:
|
|
"El tipo de dato no se puede cambiar ni se pueden eliminar valores existentes de una lista.",
|
|
BUILTIN_PROTECTED: "Las definiciones de serie no se pueden modificar.",
|
|
DEFINITION_NOT_FOUND: "La definición no está disponible en este ámbito.",
|
|
COMPANY_NOT_FOUND: "No se ha encontrado la compañía.",
|
|
INTERNAL_ERROR: "No se ha podido completar la operación.",
|
|
FORBIDDEN: "La sesión no permite esta operación. Vuelve a iniciar sesión.",
|
|
UNAUTHENTICATED: "Vuelve a iniciar sesión.",
|
|
},
|
|
};
|
|
export const assetsEnglish = {
|
|
support: supportEnglish,
|
|
...inventoryEnglish,
|
|
...workstationsEnglish,
|
|
...relationshipsEnglish,
|
|
yes: "Yes",
|
|
no: "No",
|
|
title: "Asset catalog",
|
|
companyTitle: "Asset catalog",
|
|
introduction: "Define the characteristics and templates used when registering assets.",
|
|
companyIntroduction: "Use global definitions and add those needed by this company.",
|
|
fields: "Fields",
|
|
templates: "Templates",
|
|
newField: "New field",
|
|
editField: "Edit field",
|
|
newTemplate: "New template",
|
|
editTemplate: "Edit template",
|
|
name: "Name",
|
|
description: "Description (optional)",
|
|
type: "Data type",
|
|
unit: "Unit (optional)",
|
|
choices: "List values",
|
|
choicesHelp: "Enter one value per line. Existing values are retained; you can add others.",
|
|
text: "Text",
|
|
number: "Number",
|
|
date: "Date",
|
|
boolean: "Yes / No",
|
|
choice: "List of values",
|
|
active: "Active",
|
|
inactive: "Inactive",
|
|
activate: "Activate",
|
|
deactivate: "Deactivate",
|
|
inherited: "Global configuration",
|
|
overridden: "Customized for this company",
|
|
reset: "Use global configuration",
|
|
builtin: "Built in",
|
|
global: "Global",
|
|
own: "Company",
|
|
custom: "Custom",
|
|
origin: "Origin",
|
|
actions: "Actions",
|
|
edit: "Edit",
|
|
copy: "Create copy",
|
|
copyName: "{{name}} (copy)",
|
|
fieldCount: "{{count}} fields",
|
|
search: "Search",
|
|
empty: "No results.",
|
|
loading: "Loading catalog…",
|
|
retry: "Retry",
|
|
save: "Save",
|
|
saving: "Saving…",
|
|
cancel: "Cancel",
|
|
selectField: "Add a field to the template",
|
|
choose: "Select a field",
|
|
addField: "New field",
|
|
required: "Required",
|
|
chooseType: "Select a type",
|
|
view: "View",
|
|
close: "Close",
|
|
viewDefinition: "{{name}}",
|
|
optional: "Optional",
|
|
remove: "Remove field: {{name}}",
|
|
noFields: "Add at least one field. All fields are initially optional.",
|
|
protected:
|
|
"Built-in definitions are protected. You can change their availability or create a template copy.",
|
|
helpTitle: "What is it for?",
|
|
examplesLabel: "Show examples and guidance",
|
|
fieldDescription:
|
|
"A field describes an asset characteristic. You can reuse it in several templates.",
|
|
fieldExamples:
|
|
"Examples: Processor (text), Screen size (number), Warranty expiry (date), PoE (yes/no) or Battery status (list).",
|
|
fieldGuidance:
|
|
"Choose a useful unit, such as GB. Never store passwords or secrets. The data type is fixed after creation.",
|
|
templateDescription:
|
|
"A template groups the fields displayed for an asset type. It is not a specific device or a commercial brand or model.",
|
|
templateExamples:
|
|
"Monitor: screen size, resolution and connections. Laptop: processor, RAM and storage.",
|
|
templateGuidance:
|
|
"Characteristics are optional by default. Require only information that is always known. Removing a template field does not delete its catalog definition.",
|
|
globalHelp: "Global scope: available to all companies.",
|
|
companyHelp: "Company scope: additions and availability changes affect this company only.",
|
|
disabledField: "Inactive field: retained in this template.",
|
|
disabledFieldsNotice:
|
|
"This template contains inactive fields. You can activate them in the catalog before using it.",
|
|
quickNotice: "The field remains saved if you later cancel the template.",
|
|
errors: {
|
|
RELATION_DIRECTION_FIXED: "Relationship direction cannot be changed.",
|
|
INVALID_REQUEST: "Check the form data.",
|
|
INVALID_CHOICES:
|
|
"A list needs unique non-empty values. Other data types do not accept list values.",
|
|
INVALID_FIELDS: "The template needs distinct valid fields.",
|
|
NAME_EXISTS: "A definition of this type already has this name.",
|
|
FIELD_UNAVAILABLE: "Only active global or company fields can be added.",
|
|
FIELD_TYPE_FIXED: "The data type cannot change and existing list values cannot be removed.",
|
|
BUILTIN_PROTECTED: "Built-in definitions cannot be edited.",
|
|
DEFINITION_NOT_FOUND: "This definition is unavailable in this scope.",
|
|
COMPANY_NOT_FOUND: "Company not found.",
|
|
INTERNAL_ERROR: "The operation could not be completed.",
|
|
FORBIDDEN: "Your session does not allow this operation. Sign in again.",
|
|
UNAUTHENTICATED: "Sign in again.",
|
|
},
|
|
};
|