mirror of
https://github.com/minetest-mods/intllib.git
synced 2025-05-04 09:40:29 +02:00
Take LANGUAGE
env var as-is.
This commit is contained in:
parent
17eb88812a
commit
289776c6dc
2
init.lua
2
init.lua
@ -114,7 +114,7 @@ function intllib.get_detected_languages()
|
||||
v = os.getenv("LANGUAGE")
|
||||
if v then
|
||||
for item in split(v, ":") do
|
||||
addlang(item)
|
||||
langs[#langs+1] = item
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user