1
0
mirror of https://github.com/Adorable-Catgirl/Zorya-NEO.git synced 2024-11-15 14:58:07 +11:00
Zorya-NEO/utils/installer/menus/langselect.lua

14 lines
285 B
Lua
Raw Normal View History

2020-06-06 10:45:08 +10:00
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