mirror of
https://github.com/mt-mods/biome_lib.git
synced 2025-06-29 14:50:49 +02:00
Compare commits
2 Commits
2018-11-09
...
2018-11-26
Author | SHA1 | Date | |
---|---|---|---|
6935e73994 | |||
ad12e97281 |
6
init.lua
6
init.lua
@ -34,8 +34,12 @@ biome_lib.queue_run_ratio = tonumber(minetest.settings:get("biome_lib_queue_run_
|
|||||||
|
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
local S
|
local S
|
||||||
if minetest.get_modpath("intllib") then
|
if minetest.global_exists("intllib") then
|
||||||
|
if intllib.make_gettext_pair then
|
||||||
|
S = intllib.make_gettext_pair()
|
||||||
|
else
|
||||||
S = intllib.Getter()
|
S = intllib.Getter()
|
||||||
|
end
|
||||||
else
|
else
|
||||||
S = function(s) return s end
|
S = function(s) return s end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user