forked from nalc/homedecor_modpack
Split I18N stuff into its own submod.
This commit is contained in:
@ -9,15 +9,11 @@
|
||||
|
||||
local modpath = minetest.get_modpath("homedecor")
|
||||
|
||||
-- Load support for intllib.
|
||||
local S, NS = dofile(modpath.."/intllib.lua")
|
||||
local S = homedecor_i18n.gettext
|
||||
|
||||
homedecor = {
|
||||
modpath = modpath,
|
||||
|
||||
gettext = S,
|
||||
ngettext = NS,
|
||||
|
||||
-- infinite stacks
|
||||
expect_infinite_stacks = minetest.setting_getbool("creative_mode") and not minetest.get_modpath("unified_inventory")
|
||||
}
|
||||
|
Reference in New Issue
Block a user