options: set default language as current language
This commit is contained in:
parent
fb29ae65b3
commit
1c51b35112
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ function OptionsManager:getTranslationDefaultData()
|
||||||
|
|
||||||
if fileinfo ~= nil then
|
if fileinfo ~= nil then
|
||||||
lang = require(TRANSLATION_PATH)
|
lang = require(TRANSLATION_PATH)
|
||||||
lang.current = self.default
|
lang.current = lang.default or "en"
|
||||||
lang.path = TRANSLATION_PATH
|
lang.path = TRANSLATION_PATH
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue