mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-17 07:10:29 +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:
@ -6,6 +6,9 @@
|
||||
local current_mod_name = minetest.get_current_modname()
|
||||
|
||||
nature = {}
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
|
||||
nature.blossomqueue = {}
|
||||
nature.blossomqueue_max = 1000
|
||||
|
||||
@ -44,4 +47,4 @@ dofile(minetest.get_modpath(current_mod_name) .. "/config.lua")
|
||||
dofile(minetest.get_modpath(current_mod_name) .. "/global_function.lua")
|
||||
dofile(minetest.get_modpath(current_mod_name) .. "/blossom.lua")
|
||||
|
||||
minetest.log("info", "[Nature Classic] loaded!")
|
||||
minetest.log("info", S("[Nature Classic] loaded!"))
|
||||
|
Reference in New Issue
Block a user