diff --git a/src/i18n/index.js b/src/i18n/index.js index a0b4c44bd..aa25fcc14 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -1,10 +1,8 @@ const files = import.meta.glob(`./locale/*.yml`); -console.log('files: ', files); const modules = import.meta.glob(`../pages/**/locale/*.yml`); const translations = {}; - for (const file in files) { const lang = file.split('/').at(2).split('.')[0]; @@ -18,7 +16,6 @@ for (const file in files) { if (!module.endsWith(actualLang)) continue; modules[module]().then((t) => { Object.assign(translations[lang], t.default); - console.log(' modules[module].default: ', t.default); }) } }); diff --git a/src/pages/Customer/locale/en.yml b/src/pages/Customer/locale/en.yml index 6eb7cfa85..67bfa6622 100644 --- a/src/pages/Customer/locale/en.yml +++ b/src/pages/Customer/locale/en.yml @@ -1,4 +1,4 @@ customerFilter: filter: - name: Name - socialName: Social name + name: 'Name' + socialName: 'Social name' diff --git a/src/pages/Customer/locale/es.yml b/src/pages/Customer/locale/es.yml index 8fed37092..ec1981257 100644 --- a/src/pages/Customer/locale/es.yml +++ b/src/pages/Customer/locale/es.yml @@ -1,4 +1,4 @@ customerFilter: filter: - name: Nombre - socialName: Razón Social + name: 'Nombre' + socialName: 'Razón Social'