1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-17 07:48:08 +11:00
Zorya-NEO/utils/installer/menus/langselect.lua
2020-06-05 19:45:08 -05:00

14 lines
285 B
Lua

function menu.langsetup()
local langselect = menu.create()
menu:add(menu.text("Language"))
local langs = menu.select {
{text = "English (US)", value = "en_US"}
}
langs:select(function(v)
langselect:destroy()
lang.load(v)
menu.bios()
end)
menu:add(langs)
menu:draw()
end