From c60558420f291ca4ac225faab9de7f583d518b84 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 18 Apr 2024 12:38:43 +0200 Subject: [PATCH] fix: refs #6425 fixed vitest config to avoid testing problems --- src/pages/Customer/locale/en.yml | 4 ++-- src/pages/Customer/locale/es.yml | 4 ++-- src/pages/Entry/locale/en.yml | 8 ++++---- src/pages/Entry/locale/es.yml | 8 ++++---- src/pages/Travel/locale/en.yml | 8 ++++---- src/pages/Travel/locale/es.yml | 8 ++++---- vitest.config.js | 5 ++++- 7 files changed, 24 insertions(+), 21 deletions(-) diff --git a/src/pages/Customer/locale/en.yml b/src/pages/Customer/locale/en.yml index 67bfa6622..6eb7cfa85 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 ec1981257..8fed37092 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 diff --git a/src/pages/Entry/locale/en.yml b/src/pages/Entry/locale/en.yml index d52989ff9..1956140ed 100644 --- a/src/pages/Entry/locale/en.yml +++ b/src/pages/Entry/locale/en.yml @@ -1,8 +1,8 @@ entryList: list: - inventoryEntry: 'Inventory entry' - virtualEntry: 'Virtual entry' + inventoryEntry: Inventory entry + virtualEntry: Virtual entry entryFilter: filter: - search: 'General search' - reference: 'Reference' + search: General search + reference: Reference diff --git a/src/pages/Entry/locale/es.yml b/src/pages/Entry/locale/es.yml index 2dc1dfb3a..192d03542 100644 --- a/src/pages/Entry/locale/es.yml +++ b/src/pages/Entry/locale/es.yml @@ -1,8 +1,8 @@ entryList: list: - inventoryEntry: 'Es inventario' - virtualEntry: 'Es una redada' + inventoryEntry: Es inventario + virtualEntry: Es una redada entryFilter: filter: - search: 'Búsqueda general' - reference: 'Referencia' + search: Búsqueda general + reference: Referencia diff --git a/src/pages/Travel/locale/en.yml b/src/pages/Travel/locale/en.yml index 05ac98513..c67eddce0 100644 --- a/src/pages/Travel/locale/en.yml +++ b/src/pages/Travel/locale/en.yml @@ -1,6 +1,6 @@ travelFilter: filter: - warehouseOutFk: 'Warehouse Out' - warehouseInFk: 'Warehouse In' - agencyModeFk: 'Agency' - scopeDays: 'Days onward' + warehouseOutFk: Warehouse Out + warehouseInFk: Warehouse In + agencyModeFk: Agency + scopeDays: Days onward diff --git a/src/pages/Travel/locale/es.yml b/src/pages/Travel/locale/es.yml index 4fbed920b..8e958c074 100644 --- a/src/pages/Travel/locale/es.yml +++ b/src/pages/Travel/locale/es.yml @@ -1,6 +1,6 @@ travelFilter: filter: - warehouseInFk: 'Alm. entrada' - warehouseOutFk: 'Alm. salida' - agencyModeFk: 'Agencia' - scopeDays: 'Días adelante' + warehouseInFk: Alm. entrada + warehouseOutFk: Alm. salida + agencyModeFk: Agencia + scopeDays: Días adelante diff --git a/vitest.config.js b/vitest.config.js index 748bbfe0a..ca9f6c1fe 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -27,7 +27,10 @@ export default defineConfig({ sassVariables: 'src/quasar-variables.scss', }), VueI18nPlugin({ - include: path.resolve(__dirname, 'src/i18n/**'), + include: [ + path.resolve(__dirname, 'src/i18n/**'), + path.resolve(__dirname, 'src/pages/**/locale/**'), + ], }), jsconfigPaths(), ],