mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
StringSetting, gui.set_locale removed
This commit is contained in:
parent
6650e27737
commit
001617f6d9
7 changed files with 47 additions and 20 deletions
|
|
@ -12,7 +12,7 @@ function on_open()
|
|||
for _,k in ipairs(names) do
|
||||
panel:add(string.format(
|
||||
"<button onclick=%q padding='10'>%s</button>",
|
||||
string.format("gui.set_locale(%q) menu:back()", invlocales[k]), k
|
||||
string.format("core.set_setting('ui.language', %q) menu:back()", invlocales[k]), k
|
||||
))
|
||||
end
|
||||
panel:add("<button padding='10' onclick='menu:back()'>@Back</button>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue