diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index 714fe3f31..22bd89675 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -230,7 +230,9 @@ function sanitizer(params) { const getLocale = (label) => { const param = label.split('.').at(-1); const globalLocale = `globals.params.${param}`; - return te(globalLocale) ? t(globalLocale) : t(`params.${param}`); + if (te(globalLocale)) return t(globalLocale); + else if (te(t(`params.${param}`))); + else return t(`${route.meta.moduleName}.params.${param}`); }; diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 622ef833b..e89bf3ba3 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -335,6 +335,12 @@ globals: from: From to: To supplierFk: Supplier + supplierRef: Supplier ref + serial: Serial + amount: Importe + awbCode: AWB + correctedFk: Rectified + correctingFk: Rectificative changePass: Change password deleteConfirmTitle: Delete selected elements changeState: Change state diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 20317aa49..e1080421d 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -339,6 +339,10 @@ globals: from: Desde to: Hasta supplierFk: Proveedor + supplierRef: Ref. proveedor + serial: Serie + amount: Importe + awbCode: AWB changePass: Cambiar contraseña deleteConfirmTitle: Eliminar los elementos seleccionados changeState: Cambiar estado diff --git a/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue b/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue index 209681b7c..d22ee5b16 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInBasicData.vue @@ -262,7 +262,7 @@ function deleteFile(dmsFk) { {