Split I18N stuff into its own submod.

This commit is contained in:
Diego Martínez
2017-01-29 20:12:02 -03:00
parent 010c07f23a
commit dc7b60c11f
36 changed files with 1694 additions and 435 deletions

View File

@ -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")
}