From 876eff21173dc6b9a6a915377fdefda3aa33adc1 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Tue, 20 Jul 2021 19:28:41 +0200 Subject: [PATCH] Add support for en-GB (#629) * Add support for en-GB Allows for British date format (native in vue-i18n) + potential spelling adaptations * Rename default English locale to American English --- frontend/src/plugins/vuetify.js | 1 + frontend/src/store/modules/language.js | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/plugins/vuetify.js b/frontend/src/plugins/vuetify.js index 85c19acd7082..6f54f8ad73ee 100644 --- a/frontend/src/plugins/vuetify.js +++ b/frontend/src/plugins/vuetify.js @@ -43,6 +43,7 @@ const vuetify = new Vuetify({ locales: { "de-DE": de, "en-US": en, + "en-GB": en, "es-ES": es, "fr-FR": fr, "it-IT": it, diff --git a/frontend/src/store/modules/language.js b/frontend/src/store/modules/language.js index 8928bd65aeb1..c9d4ea6c4815 100644 --- a/frontend/src/store/modules/language.js +++ b/frontend/src/store/modules/language.js @@ -2,9 +2,13 @@ const state = { allLangs: [ { - name: "English", + name: "American English", value: "en-US", }, + { + name: "British English", + value: "en-GB", + }, { name: "Deutsch (German)", value: "de-DE",