fix: en
locale not working (#526)
This commit is contained in:

committed by
GitHub

parent
55087ca3fa
commit
cbbb40611e
@@ -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
|
||||
|
Reference in New Issue
Block a user