Add Italian to the language list

This commit is contained in:
root
2023-05-31 18:53:02 +05:30
parent 88c2c29a99
commit 04db13462a
+2
View File
@@ -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')