From b00b2941c7406413f08d0e4ff64888bad72cb53e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 3 Jan 2024 09:18:35 +0100 Subject: [PATCH] refs #6098 perf: define locale equivalences in i18n folder --- src/components/UserPanel.vue | 11 ++++++++--- src/i18n/index.js | 4 +++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index d02aa7c1f..e6251adc9 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -1,17 +1,18 @@ diff --git a/src/i18n/index.js b/src/i18n/index.js index 7344be49a..a375812df 100644 --- a/src/i18n/index.js +++ b/src/i18n/index.js @@ -1,6 +1,8 @@ import en from './en'; import es from './es'; - +export const localeEquivalence = { + 'en':'en-GB' +} export default { en: en, es: es,