mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 14:33:26 +02:00
fix warnings and some reloading issues
This commit is contained in:
@@ -28,7 +28,7 @@ function Locales.init()
|
||||
Locales.setLocale(defaultLocaleName)
|
||||
Settings.set('locale', defaultLocaleName)
|
||||
end
|
||||
|
||||
--[[
|
||||
addEvent( function()
|
||||
localeComboBox = createWidget('ComboBox', rootWidget:recursiveGetChildById('rightButtonsPanel'))
|
||||
for key,value in pairs(installedLocales) do
|
||||
@@ -37,6 +37,7 @@ function Locales.init()
|
||||
localeComboBox:setCurrentOption(currentLocale.languageName)
|
||||
localeComboBox.onOptionChange = onLocaleComboBoxOptionChange
|
||||
end, false)
|
||||
]]--
|
||||
end
|
||||
|
||||
function Locales.terminate()
|
||||
|
Reference in New Issue
Block a user