mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-24 03:08:05 +11:00
14 lines
285 B
Lua
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
|