forked from mtcontrib/plantlife_modpack
global i18n : add plantlife_i18n mod
idea taken from homedecor_modpack and its homedecor_i18n all translated mods have a new dependency : plantlife_i18n translations are stored in po/pot file : one file for all mods added french translation (almost complete) transfered de/es/tr/pt translations to corresponding .po file (only for some mods, unfortunately translations are incomplete)
This commit is contained in:
@ -1,2 +1,3 @@
|
||||
default
|
||||
biome_lib
|
||||
plantlife_i18n
|
||||
biome_lib
|
||||
|
@ -10,6 +10,8 @@ abstract_molehills = {}
|
||||
|
||||
dofile(minetest.get_modpath("molehills").."/molehills_settings.txt")
|
||||
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- NoDe
|
||||
-----------------------------------------------------------------------------------------------
|
||||
@ -22,7 +24,7 @@ local mh_cbox = {
|
||||
minetest.register_node("molehills:molehill",{
|
||||
drawtype = "mesh",
|
||||
mesh = "molehill_molehill.obj",
|
||||
description = "Mole Hill",
|
||||
description = S("Mole Hill"),
|
||||
inventory_image = "molehills_side.png",
|
||||
tiles = { "molehills_dirt.png" },
|
||||
paramtype = "light",
|
||||
@ -74,5 +76,5 @@ biome_lib:register_generate_plant({
|
||||
)
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
|
||||
print("[Mod] "..title.." ["..version.."] ["..mname.."]"..S("Loaded..."))
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user