1
0
의 미러 https://github.com/mt-mods/homedecor_modpack.git synced 2025-12-30 16:35:28 +01:00

fix intllib support and remove unnecessary checks of it

This commit is contained in:
Tim
2015-02-05 10:14:44 +01:00
부모 9f87c47ebe
커밋 24db06a0b0
3개의 변경된 파일3개의 추가작업 그리고 20개의 파일을 삭제

파일 보기

@@ -16,15 +16,9 @@ homedecor.debug = 0
homedecor.detail_level = 16
homedecor.modpath = minetest.get_modpath("homedecor")
homedecor.intllib_modpath = minetest.get_modpath("intllib")
-- Boilerplate to support localized strings if intllib mod is installed.
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s) return s end
end
local S = rawget(_G, "intllib") and intllib.Getter() or function(s) return s end
homedecor.gettext = S
-- debug