mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-12-16 07:05:26 +01:00
Updated moretrees mod
- Centralized inttlib's gettext function - "OPTIMIZED ALL THE TEXTURES \:D/!!"
This commit is contained in:
@@ -45,12 +45,12 @@ end
|
||||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
S = function(s) return s end
|
||||
end
|
||||
moretrees.intllib = S
|
||||
|
||||
-- infinite stacks checking
|
||||
|
||||
|
||||
Reference in New Issue
Block a user