From 04db13462a34e8cd8299deb1bc08024b274305da Mon Sep 17 00:00:00 2001 From: root Date: Wed, 31 May 2023 18:53:02 +0530 Subject: [PATCH] Add Italian to the language list --- src/plugins/i18n.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/i18n.js b/src/plugins/i18n.js index 93a9e60..8ffb757 100644 --- a/src/plugins/i18n.js +++ b/src/plugins/i18n.js @@ -22,6 +22,7 @@ export const SUPPORTED_LANGUAGES = [ 'el', 'es', 'id', + 'it', 'zh-Hans', 'zh-Hant', 'cs', @@ -101,6 +102,7 @@ async function syncStylesPerLanguage (locale) { case 'bs': case 'uk': case 'ro': + case 'it': // Don't need to import fonts because Inter supports Latin and Cyrillic and is always loaded document.body.classList.remove(...document.body.classList) document.body.classList.add('default-font')