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/strings.lua

11 lines
220 B
Lua
Raw Normal View History

2020-06-06 10:45:08 +10:00
local lang = {}
do
local _LANGINFO = {}
function lang.load(locale)
_LANGINFO = blt.deserialize(lzss_decompress(getfile("lang/"..locale..".blt.z")))
end
function lang.getstring(str)
return _LANGINFO[str]
end
end