mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-23 18:58:06 +11:00
11 lines
220 B
Lua
11 lines
220 B
Lua
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 |