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,7 +1,8 @@
|
||||
default
|
||||
biome_lib
|
||||
plantlife_i18n
|
||||
bushes?
|
||||
ferns?
|
||||
moretrees?
|
||||
trees?
|
||||
trunks?
|
||||
trunks?
|
||||
|
@ -6,18 +6,21 @@ local mname = "woodsoils" -- former "forestsoils"
|
||||
|
||||
abstract_woodsoils = {}
|
||||
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
|
||||
dofile(minetest.get_modpath("woodsoils").."/nodes.lua")
|
||||
dofile(minetest.get_modpath("woodsoils").."/generating.lua")
|
||||
|
||||
-- felt like playing a bit :D
|
||||
--[[print(" _____ __")
|
||||
--[[print(" _____ __")
|
||||
print("_/ ____\\___________ ____ _______/ |_")
|
||||
print("\\ __\\/ _ \\_ __ \\_/ __ \\ / ___/\\ __\\")
|
||||
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
|
||||
print(" |__| \\____/|__| \\___ >____ > |__|")
|
||||
print(" | | ( <_> ) | \\/\\ ___/ \\___ \\ | |")
|
||||
print(" |__| \\____/|__| \\___ >____ > |__|")
|
||||
print(" \\/ \\/")
|
||||
|
||||
print(" .__.__")
|
||||
print(" .__.__")
|
||||
print(" __________ |__| | ______")
|
||||
print(" / ___/ _ \\| | | / ___/")
|
||||
print(" \\___ ( <_> ) | |__\\___ \\")
|
||||
@ -26,4 +29,4 @@ print(" \\/ \\/")]]
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
print("[Mod] "..title.." ["..version.."] ["..mname.."] Loaded...")
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
@ -1,10 +1,13 @@
|
||||
-- support for i18n
|
||||
local S = plantlife_i18n.gettext
|
||||
|
||||
-- nodes
|
||||
|
||||
minetest.register_node("woodsoils:dirt_with_leaves_1", {
|
||||
description = "Forest Soil 1",
|
||||
description = S("Forest Soil 1"),
|
||||
tiles = {
|
||||
"default_dirt.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^woodsoils_ground_cover_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
@ -19,10 +22,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_1", {
|
||||
})
|
||||
|
||||
minetest.register_node("woodsoils:dirt_with_leaves_2", {
|
||||
description = "Forest Soil 2",
|
||||
description = S("Forest Soil 2"),
|
||||
tiles = {
|
||||
"woodsoils_ground.png",
|
||||
"default_dirt.png",
|
||||
"woodsoils_ground.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^woodsoils_ground_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
@ -37,10 +40,10 @@ minetest.register_node("woodsoils:dirt_with_leaves_2", {
|
||||
})
|
||||
|
||||
minetest.register_node("woodsoils:grass_with_leaves_1", {
|
||||
description = "Forest Soil 3",
|
||||
description = S("Forest Soil 3"),
|
||||
tiles = {
|
||||
"default_grass.png^woodsoils_ground_cover2.png",
|
||||
"default_dirt.png",
|
||||
"default_grass.png^woodsoils_ground_cover2.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side2.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
@ -55,10 +58,10 @@ minetest.register_node("woodsoils:grass_with_leaves_1", {
|
||||
})
|
||||
|
||||
minetest.register_node("woodsoils:grass_with_leaves_2", {
|
||||
description = "Forest Soil 4",
|
||||
description = S("Forest Soil 4"),
|
||||
tiles = {
|
||||
"default_grass.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_grass.png^woodsoils_ground_cover.png",
|
||||
"default_dirt.png",
|
||||
"default_dirt.png^default_grass_side.png^woodsoils_ground_cover_side.png"},
|
||||
is_ground_content = true,
|
||||
groups = {
|
||||
|
Reference in New Issue
Block a user