fix: en locale not working (#526)

This commit is contained in:
natural-harmonia-gropius
2023-04-25 15:39:00 +08:00
committed by GitHub
parent 55087ca3fa
commit cbbb40611e

View File

@@ -44,6 +44,8 @@ function make_locale()
lang = languages[i]
if (lang:match('.json$')) then
table_assign(translations, get_locale_from_json(lang))
elseif (lang == 'en') then
translations = {}
else
table_assign(translations, get_locale_from_json('~~/scripts/uosc_shared/intl/' .. lang:lower() .. '.json'))
end