diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js
index b1c8732ef..f7e0d780e 100644
--- a/src/i18n/en/index.js
+++ b/src/i18n/en/index.js
@@ -826,7 +826,7 @@ export default {
notifications: 'Notifications',
workerCreate: 'New worker',
department: 'Department',
- TraductionsVn: 'Traductions',
+ TranslationsVn: 'Translations',
},
list: {
name: 'Name',
diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js
index 264cdb550..cdbc55574 100644
--- a/src/i18n/es/index.js
+++ b/src/i18n/es/index.js
@@ -1,4 +1,4 @@
-import TraductionsVn from 'src/pages/Worker/TraductionsVn.vue';
+import TranslationsVn from 'src/pages/Worker/TranslationsVn.vue';
export default {
globals: {
@@ -819,6 +819,10 @@ export default {
hasToSendMail: 'Enviar fichadas por mail',
departmentRemoved: 'Departamento eliminado',
},
+ TranslationsVn: {
+ OriginalLanguage: 'Idioma Original',
+ SecondLanguage: 'Idioma Secundario',
+ },
worker: {
pageTitles: {
workers: 'Trabajadores',
@@ -828,7 +832,7 @@ export default {
notifications: 'Notificaciones',
workerCreate: 'Nuevo trabajador',
department: 'Departamentos',
- TraductionsVn: 'Traducciones',
+ TranslationsVn: 'Traducciones',
},
list: {
name: 'Nombre',
@@ -890,14 +894,7 @@ export default {
bankEntity: 'Swift / BIC',
},
imageNotFound: 'No se ha encontrado la imagen',
- },
- TraductionsVn: {
- pageTitles: {
- TraductionsVn: 'Traducciones',
- },
- OriginalLanguage: 'Idioma Original',
- SecondLanguage: 'Idioma Secundario',
- },
+
wagon: {
pageTitles: {
wagons: 'Vagones',
diff --git a/src/pages/Worker/TraductionsVn.vue b/src/pages/Worker/TraductionsVn.vue
deleted file mode 100644
index fe07a6978..000000000
--- a/src/pages/Worker/TraductionsVn.vue
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/pages/Worker/TranslationsVn.vue b/src/pages/Worker/TranslationsVn.vue
new file mode 100644
index 000000000..83e0ec098
--- /dev/null
+++ b/src/pages/Worker/TranslationsVn.vue
@@ -0,0 +1,104 @@
+
+
+
+ (langs = data)" auto-load />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/router/modules/index.js b/src/router/modules/index.js
index bf7e46b00..d5895a9f8 100644
--- a/src/router/modules/index.js
+++ b/src/router/modules/index.js
@@ -22,6 +22,7 @@ import Account from './account';
import Monitor from './monitor';
import MailAlias from './mailAlias';
import Role from './role';
+import TranslationsVn from './translationsVn.js';
export default [
Item,
@@ -48,4 +49,5 @@ export default [
MailAlias,
Monitor,
Role,
+ TranslationsVn,
];
diff --git a/src/router/modules/translationsVn.js b/src/router/modules/translationsVn.js
new file mode 100644
index 000000000..cbc01c1aa
--- /dev/null
+++ b/src/router/modules/translationsVn.js
@@ -0,0 +1,16 @@
+import { RouterView } from 'vue-router';
+
+export default {
+ path: '/translations',
+ name: 'Translations',
+ meta: {
+ title: 'translations',
+ icon: 'history_edu',
+ moduleName: 'Translations',
+ },
+ component: RouterView,
+ menus: {
+ main: [],
+ card: [],
+ },
+};
diff --git a/src/router/modules/worker.js b/src/router/modules/worker.js
index 00c8403f0..89c15efd8 100644
--- a/src/router/modules/worker.js
+++ b/src/router/modules/worker.js
@@ -12,7 +12,7 @@ export default {
component: RouterView,
redirect: { name: 'WorkerMain' },
menus: {
- main: ['WorkerList', 'WorkerDepartment', 'TraductionsVn'],
+ main: ['WorkerList', 'WorkerDepartment', 'TranslationsVn'],
card: [
'WorkerBasicData',
'WorkerNotes',
@@ -55,13 +55,13 @@ export default {
component: () => import('src/pages/Worker/WorkerDepartment.vue'),
},
{
- path: 'traductionsVn',
- name: 'TraductionsVn',
+ path: 'translations',
+ name: 'TranslationsVn',
meta: {
- title: 'TraductionsVn',
+ title: 'translations',
icon: 'history_edu',
},
- component: () => import('src/pages/Worker/TraductionsVn.vue'),
+ component: () => import('src/pages/Worker/TranslationsVn.vue'),
},
{
path: 'create',
diff --git a/src/router/routes.js b/src/router/routes.js
index cced308b5..b5aa6cb4a 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -22,6 +22,7 @@ import zone from 'src/router/modules/zone';
import account from './modules/account';
import monitor from 'src/router/modules/monitor';
import mailAlias from './modules/mailAlias';
+import translationsVn from './modules/translationsVn';
const routes = [
{
@@ -97,6 +98,7 @@ const routes = [
account,
role,
mailAlias,
+ translationsVn,
{
path: '/:catchAll(.*)*',
name: 'NotFound',