From 6053d42442b9e903af264433563acdc56b96864c Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 7 Jun 2024 11:09:46 +0200 Subject: [PATCH] fix: descriptor and i18n --- src/pages/Account/Alias/Card/AliasDescriptor.vue | 2 +- src/pages/Account/locale/en.yml | 9 +++++++++ src/pages/Account/locale/es.yml | 9 +++++++++ src/router/modules/index.js | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/pages/Account/Alias/Card/AliasDescriptor.vue b/src/pages/Account/Alias/Card/AliasDescriptor.vue index bc174aa0e..f821aaf2f 100644 --- a/src/pages/Account/Alias/Card/AliasDescriptor.vue +++ b/src/pages/Account/Alias/Card/AliasDescriptor.vue @@ -64,7 +64,7 @@ const removeAlias = () => { ref="descriptor" url="MailAliases" :filter="filter" - module="Account" + module="Alias" @on-fetch="setData" data-key="aliasData" :title="data.title" diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index d6360d316..babedae70 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -47,7 +47,16 @@ role: name: Name description: Description id: Id +mailAlias: + pageTitles: + aliasUsers: Users + search: Search mail alias + searchInfo: Search alias by id or name + alias: Alias + description: Description + id: Id newAlias: New alias + name: Name isPublic: Public ldap: enableSync: Enable synchronization diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index 0aa39752f..36125f361 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -58,7 +58,16 @@ role: name: Nombre description: Descripción id: Id +mailAlias: + pageTitles: + aliasUsers: Usuarios + search: Buscar alias de correo + searchInfo: Buscar alias por id o nombre + alias: Alias + description: Descripción + id: Id newAlias: Nuevo alias + name: Nombre isPublic: Público ldap: enableSync: Habilitar sincronización diff --git a/src/router/modules/index.js b/src/router/modules/index.js index 78d4d94cc..fb1bdc466 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -20,6 +20,7 @@ import ItemType from './itemType'; import Zone from './zone'; import Account from './account'; import Monitor from './monitor'; +import MailAlias from './mailAlias'; export default [ Item, @@ -43,5 +44,6 @@ export default [ ItemType, Zone, Account, + MailAlias, Monitor, ];