diff --git a/frontend/src/components/Step1GraphBuild.vue b/frontend/src/components/Step1GraphBuild.vue index 687d1c7b..e5303006 100644 --- a/frontend/src/components/Step1GraphBuild.vue +++ b/frontend/src/components/Step1GraphBuild.vue @@ -31,7 +31,7 @@
- {{ selectedOntologyItem.itemType === 'entity' ? 'ENTITY' : 'RELATION' }} + {{ selectedOntologyItem.itemType === 'entity' ? $t('step1.labelEntity') : $t('step1.labelRelation') }} {{ selectedOntologyItem.name }}
@@ -41,7 +41,7 @@
- +
{{ attr.name }} @@ -53,7 +53,7 @@
- +
{{ ex }}
@@ -61,7 +61,7 @@
- +
{{ conn.source }} @@ -75,7 +75,7 @@
- GENERATED ENTITY TYPES + {{ $t('step1.labelEntityTypes') }}
- GENERATED RELATION TYPES + {{ $t('step1.labelRelationTypes') }}
{ try { loading.value = true currentPhase.value = 0 - ontologyProgress.value = { message: 'Uploading and analyzing docs...' } + ontologyProgress.value = { message: t('step1.analyzingDocs') } addLog('Starting ontology generation: Uploading files...') const formData = new FormData() diff --git a/locales/ca.json b/locales/ca.json index e445b8cb..96b1cb47 100644 --- a/locales/ca.json +++ b/locales/ca.json @@ -101,7 +101,14 @@ "creating": "Creant...", "enterEnvSetup": "Entra a la configuració de l'entorn", "createSimulationFailed": "Error en crear la simulació: {error}", - "createSimulationException": "Excepció en crear la simulació: {error}" + "createSimulationException": "Excepció en crear la simulació: {error}", + "labelEntityTypes": "TIPUS D'ENTITAT GENERATS", + "labelRelationTypes": "TIPUS DE RELACIÓ GENERATS", + "labelEntity": "ENTITAT", + "labelRelation": "RELACIÓ", + "labelAttributes": "ATRIBUTS", + "labelExamples": "EXEMPLES", + "labelConnections": "CONNEXIONS" }, "step2": { "simInstanceInit": "Inicialització de la instància de simulació", diff --git a/locales/en.json b/locales/en.json index f0f32ddc..768796ac 100644 --- a/locales/en.json +++ b/locales/en.json @@ -101,7 +101,14 @@ "creating": "Creating...", "enterEnvSetup": "Enter Environment Setup", "createSimulationFailed": "Failed to create simulation: {error}", - "createSimulationException": "Simulation creation error: {error}" + "createSimulationException": "Simulation creation error: {error}", + "labelEntityTypes": "GENERATED ENTITY TYPES", + "labelRelationTypes": "GENERATED RELATION TYPES", + "labelEntity": "ENTITY", + "labelRelation": "RELATION", + "labelAttributes": "ATTRIBUTES", + "labelExamples": "EXAMPLES", + "labelConnections": "CONNECTIONS" }, "step2": { "simInstanceInit": "Simulation Instance Initialization", diff --git a/locales/es.json b/locales/es.json index f2d4d915..11ede00a 100644 --- a/locales/es.json +++ b/locales/es.json @@ -101,7 +101,14 @@ "creating": "Creando...", "enterEnvSetup": "Entrar a configuración del entorno", "createSimulationFailed": "Error al crear simulación: {error}", - "createSimulationException": "Excepción al crear simulación: {error}" + "createSimulationException": "Excepción al crear simulación: {error}", + "labelEntityTypes": "TIPOS DE ENTIDAD GENERADOS", + "labelRelationTypes": "TIPOS DE RELACIÓN GENERADOS", + "labelEntity": "ENTIDAD", + "labelRelation": "RELACIÓN", + "labelAttributes": "ATRIBUTOS", + "labelExamples": "EJEMPLOS", + "labelConnections": "CONEXIONES" }, "step2": { "simInstanceInit": "Inicialización de instancia de simulación", diff --git a/locales/zh.json b/locales/zh.json index 21791b42..c17e414c 100644 --- a/locales/zh.json +++ b/locales/zh.json @@ -101,7 +101,14 @@ "creating": "创建中...", "enterEnvSetup": "进入环境搭建", "createSimulationFailed": "创建模拟失败: {error}", - "createSimulationException": "创建模拟异常: {error}" + "createSimulationException": "创建模拟异常: {error}", + "labelEntityTypes": "生成的实体类型", + "labelRelationTypes": "生成的关系类型", + "labelEntity": "实体", + "labelRelation": "关系", + "labelAttributes": "属性", + "labelExamples": "示例", + "labelConnections": "连接" }, "step2": { "simInstanceInit": "模拟实例初始化",