1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-09 03:20:24 +02:00

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:
fat115
2017-08-03 15:02:56 +02:00
parent 983574c253
commit 5ca1ed261e
71 changed files with 3310 additions and 577 deletions

View File

@ -7,6 +7,9 @@ local mname = "trunks"
abstract_trunks = {}
-- support for i18n
local S = plantlife_i18n.gettext
dofile(minetest.get_modpath("trunks").."/trunks_settings.txt")
dofile(minetest.get_modpath("trunks").."/generating.lua")
dofile(minetest.get_modpath("trunks").."/nodes.lua")
@ -14,4 +17,4 @@ dofile(minetest.get_modpath("trunks").."/crafting.lua")
-----------------------------------------------------------------------------------------------
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------