diff --git a/bushes/depends.txt b/bushes/depends.txt index f82a423..6628c82 100644 --- a/bushes/depends.txt +++ b/bushes/depends.txt @@ -1,4 +1,5 @@ default biome_lib +plantlife_i18n stonage? sumpf? diff --git a/bushes/init.lua b/bushes/init.lua index 3dc9801..70db2ec 100644 --- a/bushes/init.lua +++ b/bushes/init.lua @@ -5,10 +5,12 @@ -- Branch textures created by Neuromancer. -- Licence for Code and Non-Bush leaf code is WTFPL. +-- support for i18n +local S = plantlife_i18n.gettext abstract_bushes = {} minetest.register_node("bushes:youngtree2_bottom", { - description = "Young Tree 2 (bottom)", + description = S("Young Tree 2 (bottom)"), drawtype="nodebox", tiles = {"bushes_youngtree2trunk.png"}, inventory_image = "bushes_youngtree2trunk_inv.png", @@ -33,7 +35,7 @@ for i in pairs(BushBranchCenter) do local Num = BushBranchCenter[i][1] local TexNum = BushBranchCenter[i][2] minetest.register_node("bushes:bushbranches"..Num, { - description = "Bush Branches "..Num, + description = S("Bush Branches @1", Num), drawtype = "nodebox", tiles = { "bushes_leaves_"..TexNum..".png", @@ -70,7 +72,7 @@ for i in pairs(BushBranchSide) do local Num = BushBranchSide[i][1] local TexNum = BushBranchSide[i][2] minetest.register_node("bushes:bushbranches"..Num, { - description = "Bush Branches "..Num, + description = S("Bush Branches @1", Num), drawtype = "nodebox", tiles = { --[[top]] "bushes_leaves_"..TexNum..".png", @@ -112,7 +114,7 @@ local BushLeafNode = { {1}, {2}} for i in pairs(BushLeafNode) do local Num = BushLeafNode[i][1] minetest.register_node("bushes:BushLeaves"..Num, { - description = "Bush Leaves "..Num, + description = S("Bush Leaves @1", Num), drawtype = "allfaces_optional", tiles = {"bushes_leaves_"..Num..".png"}, paramtype = "light", diff --git a/bushes_classic/cooking.lua b/bushes_classic/cooking.lua index 154207d..a8cb580 100644 --- a/bushes_classic/cooking.lua +++ b/bushes_classic/cooking.lua @@ -1,4 +1,5 @@ -local S = biome_lib.intllib +-- support for i18n +local S = plantlife_i18n.gettext -- Basket @@ -27,10 +28,9 @@ minetest.register_craft({ }) for i, berry in ipairs(bushes_classic.bushes) do - local desc = bushes_classic.bushes_descriptions[i] minetest.register_craftitem(":bushes:"..berry.."_pie_raw", { - description = S("Raw "..desc.." pie"), + description = bushes_classic.bushes_descriptions[i][2], inventory_image = "bushes_"..berry.."_pie_raw.png", on_use = minetest.item_eat(4), }) @@ -44,7 +44,7 @@ for i, berry in ipairs(bushes_classic.bushes) do if berry == "strawberry" and minetest.registered_nodes["farming_plus:strawberry"] then minetest.register_craftitem(":farming_plus:strawberry_item", { - description = S("Strawberry"), + description = bushes_classic.bushes_descriptions[i][1], inventory_image = "bushes_"..berry..".png", on_use = minetest.item_eat(2), groups = {berry=1, strawberry=1} @@ -53,7 +53,7 @@ for i, berry in ipairs(bushes_classic.bushes) do elseif berry == "blueberry" and minetest.registered_items["farming:blueberries"] then minetest.register_craftitem(":farming:blueberries", { - description = S("Blueberry"), + description = bushes_classic.bushes_descriptions[i][1], inventory_image = "bushes_"..berry..".png", on_use = minetest.item_eat(1), groups = {berry=1, blueberry=1} @@ -62,7 +62,7 @@ for i, berry in ipairs(bushes_classic.bushes) do elseif berry == "raspberry" and minetest.registered_items["farming:raspberries"] then minetest.register_craftitem(":farming:raspberries", { - description = S("Raspberry"), + description = bushes_classic.bushes_descriptions[i][1], inventory_image = "bushes_"..berry..".png", on_use = minetest.item_eat(1), groups = {berry=1, raspberry=1} @@ -71,7 +71,7 @@ for i, berry in ipairs(bushes_classic.bushes) do else minetest.register_craftitem(":bushes:"..berry, { - description = desc, + description = bushes_classic.bushes_descriptions[i][1], inventory_image = "bushes_"..berry..".png", groups = {berry = 1, [berry] = 1}, on_use = minetest.item_eat(1), @@ -90,7 +90,7 @@ for i, berry in ipairs(bushes_classic.bushes) do -- Cooked pie minetest.register_craftitem(":bushes:"..berry.."_pie_cooked", { - description = S("Cooked "..desc.." pie"), + description = bushes_classic.bushes_descriptions[i][3], inventory_image = "bushes_"..berry.."_pie_cooked.png", on_use = minetest.item_eat(6), }) @@ -105,7 +105,7 @@ for i, berry in ipairs(bushes_classic.bushes) do -- slice of pie minetest.register_craftitem(":bushes:"..berry.."_pie_slice", { - description = S("Slice of "..desc.." pie"), + description = bushes_classic.bushes_descriptions[i][4], inventory_image = "bushes_"..berry.."_pie_slice.png", on_use = minetest.item_eat(1), }) @@ -136,5 +136,3 @@ minetest.register_craft({ { "group:berry", "group:berry", "group:berry" }, }, }) - - diff --git a/bushes_classic/depends.txt b/bushes_classic/depends.txt index 16347c6..12276f6 100644 --- a/bushes_classic/depends.txt +++ b/bushes_classic/depends.txt @@ -1,3 +1,4 @@ biome_lib +plantlife_i18n farming? farming_plus? diff --git a/bushes_classic/init.lua b/bushes_classic/init.lua index e882a83..109fe30 100644 --- a/bushes_classic/init.lua +++ b/bushes_classic/init.lua @@ -3,12 +3,13 @@ -- -- License: WTFPL -local S = biome_lib.intllib - bushes_classic = {} +-- support for i18n +local S = plantlife_i18n.gettext + bushes_classic.bushes = { - "strawberry", + "strawberry", "blackberry", "blueberry", "raspberry", @@ -17,12 +18,12 @@ bushes_classic.bushes = { } bushes_classic.bushes_descriptions = { - "Strawberry", - "Blackberry", - "Blueberry", - "Raspberry", - "Gooseberry", - "Mixed Berry" + {S("Strawberry"), S("Raw Strawberry pie"), S("Cooked Strawberry pie"), S("Slice of Strawberry pie"), S("Basket with Strawberry pies"), S("Strawberry Bush")}, + {S("Blackberry"), S("Raw Blackberry pie"), S("Cooked Blackberry pie"), S("Slice of Blackberry pie"), S("Basket with Blackberry pies"), S("Blackberry Bush")}, + {S("Blueberry"), S("Raw Blueberry pie"), S("Cooked Blueberry pie"), S("Slice of Blueberry pie"), S("Basket with Blueberry pies"), S("Blueberry Bush")}, + {S("Raspberry"), S("Raw Raspberry pie"), S("Cooked Raspberry pie"), S("Slice of Raspberry pie"), S("Basket with Raspberry pies"), S("Raspberry Bush")}, + {S("Gooseberry"), S("Raw Gooseberry pie"), S("Cooked Gooseberry pie"), S("Slice of Gooseberry pie"), S("Basket with Gooseberry pies"), S("Gooseberry Bush")}, + {S("Mixed Berry"), S("Raw Mixed Berry pie"), S("Cooked Mixed Berry pie"), S("Slice of Mixed Berry pie"), S("Basket with Mixed Berry pies"), S("Currently fruitless Bush")} } bushes_classic.spawn_list = {} diff --git a/bushes_classic/locale/de.txt b/bushes_classic/locale/de.txt deleted file mode 100644 index 3724274..0000000 --- a/bushes_classic/locale/de.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Translation by Xanthin - -Strawberry = Erdbeere -Blackberry = Brombeere -Blueberry = Blaubeere -Raspberry = Himbeere -Gooseberry = Stachelbeere -Mixed Berry = Beerenmix -Basket with Strawberry Pies = Korb mit Erdbeertorten -Basket with Blackberry Pies = Korb mit Brombeertorten -Basket with Blueberry Pies = Korb mit Blaubeertorten -Basket with Raspberry Pies = Korb mit Himbeertorten -Basket with Gooseberry Pies = Korb mit Stachelbeertorten -Basket with Mixed Berry Pies = Korb mit Beerenmixtorten -currently fruitless = zur Zeit fruechteloser -Strawberry Bush = Erdbeerbusch -Blackberry Bush = Brombeerbusch -Blueberry Bush = Blaubeerbusch -Raspberry Bush = Himbeerbusch -Gooseberry Bush = Stachelbeerbusch -Mixed Berry Bush = Beerenmixbusch -Basket = Korb -Sugar = Zucker -Raw Strawberry pie = Rohe Erdbeertorte -Raw Blackberry pie = Rohe Brombeertorte -Raw Blueberry pie = Rohe Blaubeertorte -Raw Raspberry pie = Rohe Himbeertorte -Raw Gooseberry pie = Rohe Stachelbeertorte -Raw Mixed Berry pie = Rohe Beerenmixtorte -Cooked Strawberry pie = Erdbeertorte -Cooked Blackberry pie = Brombeertorte -Cooked Blueberry pie = Blaubeertorte -Cooked Raspberry pie = Himbeertorte -Cooked Gooseberry pie = Stachelbeertorte -Cooked Mixed Berry pie = Beerenmixtorte -Slice of Strawberry pie = Erdbeertortenstueck -Slice of Blackberry pie = Brombeertortenstueck -Slice of Blueberry pie = Blaubeertortenstueck -Slice of Raspberry pie = Himbeertortenstueck -Slice of Gooseberry pie = Stachelbeertortenstueck -Slice of Mixed Berry pie = Beerenmixtortenstueck - -[Bushes] Loaded. = [Bushes] Geladen. diff --git a/bushes_classic/locale/fr.txt b/bushes_classic/locale/fr.txt deleted file mode 100644 index ce80613..0000000 --- a/bushes_classic/locale/fr.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Template - -Strawberry = Fraise -Blackberry = Mûre -Blueberry = Myrtille -Raspberry = Framboise -Gooseberry = Groseille -Mixed Berry = Mélange de baies -Basket with Strawberry Pies = Panier de tartes aux fraises -Basket with Blackberry Pies = Panier de tartes aux mûres -Basket with Blueberry Pies = Panier de tartes aux myrtilles -Basket with Raspberry Pies = Panier de tartes aux framboises -Basket with Gooseberry Pies = Panier de tartes aux groseilles -Basket with Mixed Berry Pies = Panier de tartes au mélange de baies -currently fruitless = actuellement sans fruit -Strawberry Bush = Buisson à fraise -Blackberry Bush = Buisson à mûre -Blueberry Bush = Buisson à myrtille -Raspberry Bush = Buisson à framboise -Gooseberry Bush = Buisson à groseille -Mixed Berry Bush = Buisson de baies mélangées -Basket = Panier -Sugar = Sucre -Raw Strawberry pie = Tarte crue aux fraises -Raw Blackberry pie = Tarte crue aux mûres -Raw Blueberry pie = Tarte crue aux myrtilles -Raw Raspberry pie = Tarte crue aux framboises -Raw Gooseberry pie = Tarte crue aux groseilles -Raw Mixed Berry pie = Tarte crue au mélange de baies -Cooked Strawberry pie = Tarte cuite aux fraises -Cooked Blackberry pie = Tarte cuite aux mûres -Cooked Blueberry pie = Tarte cuite aux myrtilles -Cooked Raspberry pie = Tarte cuite aux framboises -Cooked Gooseberry pie = Tarte cuite aux groseilles -Cooked Mixed Berry pie = Tarte cuite au mélange de baies -Slice of Strawberry pie = Part de tarte aux fraises -Slice of Blackberry pie = Part de tarte aux mûres -Slice of Blueberry pie = Part de tarte aux myrtilles -Slice of Raspberry pie = Part de tarts aux framboises -Slice of Gooseberry pie = Part de tarte aux groseilles -Slice of Mixed Berry pie = Part de tarte au mélange de baies - -[Bushes] Loaded. = [Buissons] Chargés. diff --git a/bushes_classic/locale/template.txt b/bushes_classic/locale/template.txt deleted file mode 100644 index 6c35312..0000000 --- a/bushes_classic/locale/template.txt +++ /dev/null @@ -1,43 +0,0 @@ -# Template - -Strawberry = -Blackberry = -Blueberry = -Raspberry = -Gooseberry = -Mixed Berry = -Basket with Strawberry Pies = -Basket with Blackberry Pies = -Basket with Blueberry Pies = -Basket with Raspberry Pies = -Basket with Gooseberry Pies = -Basket with Mixed Berry Pies = -currently fruitless = -Strawberry Bush = -Blackberry Bush = -Blueberry Bush = -Raspberry Bush = -Gooseberry Bush = -Mixed Berry Bush = -Basket = -Sugar = -Raw Strawberry pie = -Raw Blackberry pie = -Raw Blueberry pie = -Raw Raspberry pie = -Raw Gooseberry pie = -Raw Mixed Berry pie = -Cooked Strawberry pie = -Cooked Blackberry pie = -Cooked Blueberry pie = -Cooked Raspberry pie = -Cooked Gooseberry pie = -Cooked Mixed Berry pie = -Slice of Strawberry pie = -Slice of Blackberry pie = -Slice of Blueberry pie = -Slice of Raspberry pie = -Slice of Gooseberry pie = -Slice of Mixed Berry pie = - -[Bushes] Loaded. = diff --git a/bushes_classic/locale/tr.txt b/bushes_classic/locale/tr.txt deleted file mode 100644 index 0472921..0000000 --- a/bushes_classic/locale/tr.txt +++ /dev/null @@ -1,44 +0,0 @@ -# Turkish translation -# mahmutelmas06@hotmail.com - -Strawberry = Çilek -Blackberry = Böğürtlen -Blueberry = Yaban mersini -Raspberry = Ahududu -Gooseberry = BektaÅŸi üzümü -Mixed Berry = Dut -Basket with Strawberry Pies = Çilekli pasta sepeti -Basket with Blackberry Pies = Böğürtlenli pasta sepeti -Basket with Blueberry Pies = Yaban mersini pastalı sepet -Basket with Raspberry Pies = Ahududulu pasta sepeti -Basket with Gooseberry Pies = BektaÅŸi üzümlü pasta sepeti -Basket with Mixed Berry Pies = Dutlu pasta sepeti -currently fruitless = ÅŸu anda meyvesiz -Strawberry Bush = Çilek fidanı -Blackberry Bush = Böğürtlen fidanı -Blueberry Bush = Yaban mersini fidanı -Raspberry Bush = Ahududu fidanı -Gooseberry Bush = BektaÅŸi üzümü fidanı -Mixed Berry Bush = Dut fidanı -Basket = Sepet -Sugar = Åžeker -Raw Strawberry pie = Çilekli çiÄŸ pasta -Raw Blackberry pie = Böğürtlenli çiÄŸ pasta -Raw Blueberry pie = Yaban mersinli çiÄŸ pasta -Raw Raspberry pie = Ahududulu çiÄŸ pasta -Raw Gooseberry pie = BektaÅŸi üzümlü çiÄŸ pasta -Raw Mixed Berry pie = Dutlu çiÄŸ pasta -Cooked Strawberry pie = PiÅŸmiÅŸ çilekli pasta -Cooked Blackberry pie = PiÅŸmiÅŸ böğürtlenli pasta -Cooked Blueberry pie = PiÅŸmiÅŸ yaban mersinli pasta -Cooked Raspberry pie = PiÅŸmiÅŸ ahududulu pasta -Cooked Gooseberry pie = PiÅŸmiÅŸ bektaÅŸi üzümlü pasta -Cooked Mixed Berry pie = PiÅŸmiÅŸ dutlu pasta -Slice of Strawberry pie = Çilekli pasta dilimi -Slice of Blackberry pie = Böğürtlenli pasta dilimi -Slice of Blueberry pie = Yaban mersinli pasta dilimi -Slice of Raspberry pie = Ahududulu pasta dilimi -Slice of Gooseberry pie = BektaÅŸi üzümlü pasta dilimi -Slice of Mixed Berry pie = Dutlu pasta dilimi - -[Bushes] Loaded. = [Bushes] yüklendi. diff --git a/bushes_classic/nodes.lua b/bushes_classic/nodes.lua index 352e2a9..bf15596 100644 --- a/bushes_classic/nodes.lua +++ b/bushes_classic/nodes.lua @@ -1,4 +1,5 @@ -local S = biome_lib.intllib +-- support for i18n +local S = plantlife_i18n.gettext plantlife_bushes = {} @@ -11,7 +12,7 @@ plantlife_bushes.after_dig_node = function(pos, oldnode, oldmetadata, digger) -- find out which bush type we are dealing with local bush_name = "" local can_harvest = false - + if oldnode.name == "bushes:fruitless_bush" then -- this bush has not grown fruits yet (but will eventually) bush_name = oldmetadata.fields.bush_type @@ -146,10 +147,8 @@ minetest.register_abm({ for i, bush_name in ipairs(bushes_classic.bushes) do - local desc = bushes_classic.bushes_descriptions[i] - minetest.register_node(":bushes:basket_"..bush_name, { - description = S("Basket with "..desc.." Pies"), + description = bushes_classic.bushes_descriptions[i][5], drawtype = "mesh", mesh = "bushes_basket_full.obj", tiles = { @@ -167,7 +166,6 @@ for i, bush_name in ipairs(bushes_classic.bushes) do local groups = {snappy = 3, bush = 1, flammable = 2, attached_node=1} if bush_name == "mixed_berry" then bush_name = "fruitless"; - desc = S("currently fruitless"); texture_top = "bushes_fruitless_bush_top.png" texture_bottom = "bushes_fruitless_bush_bottom.png" groups.not_in_creative_inventory = 1 @@ -177,7 +175,7 @@ for i, bush_name in ipairs(bushes_classic.bushes) do end minetest.register_node(":bushes:" .. bush_name .. "_bush", { - description = S(desc.." Bush"), + description = bushes_classic.bushes_descriptions[i][6], drawtype = "mesh", mesh = "bushes_bush.obj", tiles = {"bushes_bush_"..bush_name..".png"}, @@ -210,5 +208,3 @@ minetest.register_node(":bushes:basket_empty", { paramtype2 = "facedir", groups = { dig_immediate = 3 }, }) - - diff --git a/cavestuff/depends.txt b/cavestuff/depends.txt index 3a7daa1..d46eade 100644 --- a/cavestuff/depends.txt +++ b/cavestuff/depends.txt @@ -1,2 +1,2 @@ default - +plantlife_i18n diff --git a/cavestuff/init.lua b/cavestuff/init.lua index f2bed1a..ad8b9f4 100644 --- a/cavestuff/init.lua +++ b/cavestuff/init.lua @@ -4,6 +4,9 @@ local version = "0.0.3" local mname = "cavestuff" ----------------------------------------------------------------------------------------------- +-- support for i18n +local S = plantlife_i18n.gettext + dofile(minetest.get_modpath("cavestuff").."/nodes.lua") dofile(minetest.get_modpath("cavestuff").."/mapgen.lua") diff --git a/cavestuff/nodes.lua b/cavestuff/nodes.lua index dc537cf..6d919b9 100644 --- a/cavestuff/nodes.lua +++ b/cavestuff/nodes.lua @@ -1,3 +1,6 @@ +-- support for i18n +local S = plantlife_i18n.gettext + --Rocks local cbox = { @@ -6,7 +9,7 @@ local cbox = { } minetest.register_node("cavestuff:pebble_1",{ - description = "Pebble", + description = S("Pebble"), drawtype = "mesh", mesh = "cavestuff_pebble.obj", tiles = {"undergrowth_pebble.png"}, @@ -39,7 +42,7 @@ minetest.register_node("cavestuff:pebble_2",{ }) minetest.register_node("cavestuff:desert_pebble_1",{ - description = "Desert Pebble", + description = S("Desert Pebble"), drawtype = "mesh", mesh = "cavestuff_pebble.obj", tiles = {"default_desert_stone.png"}, @@ -76,7 +79,7 @@ minetest.register_node("cavestuff:stalactite_1",{ drawtype="nodebox", tiles = {"undergrowth_pebble.png"}, groups = {cracky=3,attached_node=1}, - description = "Stalactite", + description = S("Stalactite"), paramtype = "light", paramtype2 = "wallmounted", node_box = { @@ -88,10 +91,10 @@ minetest.register_node("cavestuff:stalactite_1",{ {-0.037500,-0.837500,0.037500,0.037500,0.500000,-0.025000}, } }, - + on_place = function(itemstack, placer, pointed_thing) local pt = pointed_thing - if minetest.get_node(pt.under).name=="default:stone" + if minetest.get_node(pt.under).name=="default:stone" and minetest.get_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}).name=="air" and minetest.get_node({x=pt.under.x, y=pt.under.y-2, z=pt.under.z}).name=="air" then minetest.set_node({x=pt.under.x, y=pt.under.y-1, z=pt.under.z}, {name="cavestuff:stalactite_"..math.random(1,3)}) @@ -140,6 +143,3 @@ minetest.register_node("cavestuff:stalactite_3",{ }) --Stalagmites - - - diff --git a/dryplants/depends.txt b/dryplants/depends.txt index 059033e..39305fb 100644 --- a/dryplants/depends.txt +++ b/dryplants/depends.txt @@ -1,3 +1,4 @@ default biome_lib +plantlife_i18n farming? diff --git a/dryplants/init.lua b/dryplants/init.lua index e6baa7a..fac599c 100644 --- a/dryplants/init.lua +++ b/dryplants/init.lua @@ -7,13 +7,16 @@ local mname = "dryplants" -- textures & ideas partly by Neuromancer -- License (everything): WTFPL --- Contains code from: default, farming +-- Contains code from: default, farming -- Looked at code from: darkage, sickle, stairs -- Dependencies: default, farming, biome_lib --- Supports: +-- Supports: ----------------------------------------------------------------------------------------------- abstract_dryplants = {} +-- support for i18n +local S = plantlife_i18n.gettext + dofile(minetest.get_modpath("dryplants").."/crafting.lua") dofile(minetest.get_modpath("dryplants").."/settings.txt") dofile(minetest.get_modpath("dryplants").."/reed.lua") @@ -111,7 +114,7 @@ local function sickle_on_use(itemstack, user, pointed_thing, uses) end -- the tool minetest.register_tool("dryplants:sickle", { - description = "Sickle", + description = S("Sickle"), inventory_image = "dryplants_sickle.png", on_use = function(itemstack, user, pointed_thing) return sickle_on_use(itemstack, user, pointed_thing, 220) @@ -122,7 +125,7 @@ minetest.register_tool("dryplants:sickle", { -- Cut Grass ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:grass", { - description = "Cut Grass", + description = S("Cut Grass"), inventory_image = "dryplants_grass.png", wield_image = "dryplants_grass.png", paramtype = "light", @@ -153,7 +156,7 @@ minetest.register_abm({ -- Hay ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:hay", { - description = "Hay", + description = S("Hay"), inventory_image = "dryplants_hay.png", wield_image = "dryplants_hay.png", paramtype = "light", @@ -172,7 +175,7 @@ minetest.register_node("dryplants:hay", { -- Short Grass ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:grass_short", { - description = "Short Grass", + description = S("Short Grass"), tiles = {"default_grass.png^dryplants_grass_short.png", "default_dirt.png", "default_dirt.png^default_grass_side.png^dryplants_grass_short_side.png"}, is_ground_content = true, groups = {crumbly=3,soil=1,not_in_creative_inventory=1}, @@ -190,11 +193,11 @@ minetest.register_abm({ interval = GRASS_REGROWING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle chance = 100/GRASS_REGROWING_CHANCE, action = function(pos) - -- Only become dirt with grass if no cut grass or hay lies on top - local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}) - if above.name ~= "dryplants:grass" and above.name ~= "dryplants:hay" then + -- Only become dirt with grass if no cut grass or hay lies on top + local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z}) + if above.name ~= "dryplants:grass" and above.name ~= "dryplants:hay" then minetest.set_node(pos, {name="default:dirt_with_grass"}) - end + end end, }) diff --git a/dryplants/juncus.lua b/dryplants/juncus.lua index bfbf23c..4a16ebc 100644 --- a/dryplants/juncus.lua +++ b/dryplants/juncus.lua @@ -6,9 +6,12 @@ -- License (everything): WTFPL -- Contains code from: biome_lib --- Looked at code from: default +-- Looked at code from: default ----------------------------------------------------------------------------------------------- +-- support for i18n +local S = plantlife_i18n.gettext + abstract_dryplants.grow_juncus = function(pos) local juncus_type = math.random(2,3) local right_here = {x=pos.x, y=pos.y+1, z=pos.z} @@ -23,9 +26,9 @@ abstract_dryplants.grow_juncus = function(pos) end minetest.register_node("dryplants:juncus", { - description = "Juncus", + description = S("Juncus"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"dryplants_juncus_03.png"}, inventory_image = "dryplants_juncus_inv.png", @@ -45,8 +48,8 @@ minetest.register_node("dryplants:juncus", { }, on_place = function(itemstack, placer, pointed_thing) local playername = placer:get_player_name() - if minetest.is_protected(pointed_thing.above, playername) or - minetest.is_protected(pointed_thing.under, playername) then + if minetest.is_protected(pointed_thing.above, playername) or + minetest.is_protected(pointed_thing.under, playername) then minetest.chat_send_player(playername, "Someone else owns that spot.") return end @@ -65,9 +68,9 @@ minetest.register_node("dryplants:juncus", { end, }) minetest.register_node("dryplants:juncus_02", { - description = "Juncus", + description = S("Juncus"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"dryplants_juncus_02.png"}, walkable = false, @@ -92,7 +95,7 @@ minetest.register_node("dryplants:juncus_02", { -- near water or swamp biome_lib:register_generate_plant({ surface = { - "default:dirt_with_grass", + "default:dirt_with_grass", --"default:desert_sand", --"default:sand", "stoneage:grass_with_silex", @@ -113,7 +116,7 @@ biome_lib:register_generate_plant({ -- at dunes/beach biome_lib:register_generate_plant({ surface = { - --"default:dirt_with_grass", + --"default:dirt_with_grass", --"default:desert_sand", "default:sand", --"stoneage:grass_with_silex", diff --git a/dryplants/reed.lua b/dryplants/reed.lua index 6f29028..db7d937 100644 --- a/dryplants/reed.lua +++ b/dryplants/reed.lua @@ -4,8 +4,11 @@ -- by Mossmanikin -- License (everything): WTFPL -- Looked at code from: darkage, default, stairs --- Dependencies: default +-- Dependencies: default ----------------------------------------------------------------------------------------------- +-- support for i18n +local S = plantlife_i18n.gettext + minetest.register_alias("stairs:stair_wetreed", "dryplants:wetreed_roof") minetest.register_alias("stairs:slab_wetreed", "dryplants:wetreed_slab") minetest.register_alias("stairs:stair_reed", "dryplants:reed_roof") @@ -16,7 +19,7 @@ minetest.register_alias("stairs:slab_reed", "dryplants:reed_slab") -- Wet Reed ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:wetreed", { - description = "Wet Reed", + description = S("Wet Reed"), paramtype = "light", paramtype2 = "facedir", tiles = {"dryplants_reed_wet.png"}, @@ -28,7 +31,7 @@ minetest.register_node("dryplants:wetreed", { -- Wet Reed Slab ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:wetreed_slab", { - description = "Wet Reed Slab", + description = S("Wet Reed Slab"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -49,7 +52,7 @@ minetest.register_node("dryplants:wetreed_slab", { -- Wet Reed Roof ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:wetreed_roof", { - description = "Wet Reed Roof", + description = S("Wet Reed Roof"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -93,7 +96,7 @@ if AUTO_ROOF_CORNER == true then interval = 1, chance = 1, action = function(pos) - + local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z }) local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z }) local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1}) @@ -106,7 +109,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner, param2=0}) end - + if ((node_north.name == roof and node_north.param2 == 1) or (node_north.name == corner and node_north.param2 == 2)) and ((node_east.name == roof and node_east.param2 == 0) @@ -114,7 +117,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner, param2=1}) end - + if ((node_east.name == roof and node_east.param2 == 2) or (node_east.name == corner and node_east.param2 == 3)) and ((node_south.name == roof and node_south.param2 == 1) @@ -122,7 +125,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner, param2=2}) end - + if ((node_south.name == roof and node_south.param2 == 3) or (node_south.name == corner and node_south.param2 == 0)) and ((node_west.name == roof and node_west.param2 == 2) @@ -138,7 +141,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner_2, param2=0}) end - + if ((node_north.name == roof and node_north.param2 == 3) or (node_north.name == corner_2 and node_north.param2 == 2)) and ((node_east.name == roof and node_east.param2 == 2) @@ -146,7 +149,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner_2, param2=1}) end - + if ((node_east.name == roof and node_east.param2 == 0) or (node_east.name == corner_2 and node_east.param2 == 3)) and ((node_south.name == roof and node_south.param2 == 3) @@ -154,7 +157,7 @@ if AUTO_ROOF_CORNER == true then then minetest.set_node(pos, {name=corner_2, param2=2}) end - + if ((node_south.name == roof and node_south.param2 == 1) or (node_south.name == corner_2 and node_south.param2 == 0)) and ((node_west.name == roof and node_west.param2 == 0) @@ -172,7 +175,7 @@ end -- Wet Reed Roof Corner ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:wetreed_roof_corner", { - description = "Wet Reed Roof Corner", + description = S("Wet Reed Roof Corner"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -202,7 +205,7 @@ minetest.register_node("dryplants:wetreed_roof_corner", { -- Wet Reed Roof Corner 2 ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:wetreed_roof_corner_2", { - description = "Wet Reed Roof Corner 2", + description = S("Wet Reed Roof Corner 2"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -227,7 +230,7 @@ minetest.register_node("dryplants:wetreed_roof_corner_2", { groups = {snappy=3, flammable=2}, sounds = default.node_sound_leaves_defaults(), }) - + ----------------------------------------------------------------------------------------------- -- Wet Reed becomes (dry) Reed over time ----------------------------------------------------------------------------------------------- @@ -262,7 +265,7 @@ end -- Reed ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reed", { - description = "Reed", + description = S("Reed"), paramtype = "light", paramtype2 = "facedir", tiles = {"dryplants_reed.png"}, @@ -274,7 +277,7 @@ minetest.register_node("dryplants:reed", { -- Reed Slab ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reed_slab", { - description = "Reed Slab", + description = S("Reed Slab"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -295,7 +298,7 @@ minetest.register_node("dryplants:reed_slab", { -- Reed Roof ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reed_roof", { - description = "Reed Roof", + description = S("Reed Roof"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -323,7 +326,7 @@ minetest.register_node("dryplants:reed_roof", { -- Reed Roof Corner ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reed_roof_corner", { - description = "Reed Roof Corner", + description = S("Reed Roof Corner"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -353,7 +356,7 @@ minetest.register_node("dryplants:reed_roof_corner", { -- Reed Roof Corner 2 ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reed_roof_corner_2", { - description = "Reed Roof Corner 2", + description = S("Reed Roof Corner 2"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", diff --git a/dryplants/reedmace.lua b/dryplants/reedmace.lua index 9547c7a..c34231f 100644 --- a/dryplants/reedmace.lua +++ b/dryplants/reedmace.lua @@ -6,7 +6,7 @@ -- License (everything): WTFPL -- Contains code from: biome_lib --- Looked at code from: default, trees +-- Looked at code from: default, trees ----------------------------------------------------------------------------------------------- -- NOTES (from wikipedia, some of this might get implemented) @@ -18,6 +18,9 @@ -- Typha stems and leaves can be used to make paper -- The seed hairs were used by some Native American groups as tinder for starting fires +-- support for i18n +local S = plantlife_i18n.gettext + ----------------------------------------------------------------------------------------------- -- REEDMACE SHAPES ----------------------------------------------------------------------------------------------- @@ -70,7 +73,7 @@ abstract_dryplants.grow_reedmace_water = function(pos) minetest.set_node(pos_02, {name="dryplants:reedmace_height_3_spikes"}) else minetest.set_node(pos_02, {name="dryplants:reedmace_height_3"}) - end + end end end end @@ -79,7 +82,7 @@ end -- REEDMACE SPIKES ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_spikes", { - description = "Reedmace", + description = S("Reedmace"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace_spikes.png"}, @@ -101,7 +104,7 @@ minetest.register_node("dryplants:reedmace_spikes", { -- REEDMACE height: 1 ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_top", { - description = "Reedmace, height: 1", + description = S("Reedmace, height: 1"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace_top.png"}, @@ -123,9 +126,9 @@ minetest.register_node("dryplants:reedmace_top", { -- REEDMACE height: 2 ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_height_2", { - description = "Reedmace, height: 2", + description = S("Reedmace, height: 2"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"dryplants_reedmace_height_2.png"}, inventory_image = "dryplants_reedmace_top.png", @@ -146,9 +149,9 @@ minetest.register_node("dryplants:reedmace_height_2", { -- REEDMACE height: 3 ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_height_3", { - description = "Reedmace, height: 3", + description = S("Reedmace, height: 3"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"dryplants_reedmace_height_3.png"}, inventory_image = "dryplants_reedmace_top.png", @@ -169,9 +172,9 @@ minetest.register_node("dryplants:reedmace_height_3", { -- REEDMACE height: 3 & Spikes ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_height_3_spikes", { - description = "Reedmace, height: 3 & Spikes", + description = S("Reedmace, height: 3 & Spikes"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"dryplants_reedmace_height_3_spikes.png"}, inventory_image = "dryplants_reedmace_top.png", @@ -192,7 +195,7 @@ minetest.register_node("dryplants:reedmace_height_3_spikes", { -- REEDMACE STEMS ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace", { - description = "Reedmace", + description = S("Reedmace"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace.png"}, @@ -212,8 +215,8 @@ minetest.register_node("dryplants:reedmace", { after_destruct = function(pos,oldnode) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) if node.name == "dryplants:reedmace_top" - or node.name == "dryplants:reedmace_spikes" then - minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) + or node.name == "dryplants:reedmace_spikes" then + minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.add_item(pos,"dryplants:reedmace_sapling") end end, @@ -222,7 +225,7 @@ minetest.register_node("dryplants:reedmace", { -- REEDMACE BOTTOM ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_bottom", { - description = "Reedmace", + description = S("Reedmace"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace_bottom.png"}, @@ -241,10 +244,10 @@ minetest.register_node("dryplants:reedmace_bottom", { }, after_destruct = function(pos,oldnode) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) - if node.name == "dryplants:reedmace" + if node.name == "dryplants:reedmace" or node.name == "dryplants:reedmace_top" - or node.name == "dryplants:reedmace_spikes" then - minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) + or node.name == "dryplants:reedmace_spikes" then + minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.add_item(pos,"dryplants:reedmace_sapling") end end, @@ -253,7 +256,7 @@ minetest.register_node("dryplants:reedmace_bottom", { -- REEDMACE "SAPLING" (the drop from the above) ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_sapling", { - description = "Reedmace", + description = S("Reedmace"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace_sapling.png"}, @@ -293,7 +296,7 @@ minetest.register_abm({ -- REEDMACE WATER (for entity) ----------------------------------------------------------------------------------------------- minetest.register_node("dryplants:reedmace_water", { - description = "Reedmace", + description = S("Reedmace"), drawtype = "plantlike", paramtype = "light", tiles = {"dryplants_reedmace_water.png"}, @@ -348,7 +351,7 @@ minetest.register_entity("dryplants:reedmace_water_entity",{ -- near water or swamp biome_lib:register_generate_plant({ surface = { - "default:dirt_with_grass", + "default:dirt_with_grass", "default:desert_sand", "stoneage:grass_with_silex", "sumpf:peat", @@ -370,7 +373,7 @@ biome_lib:register_generate_plant({ biome_lib:register_generate_plant({ surface = { "default:dirt", - "default:dirt_with_grass", + "default:dirt_with_grass", --"default:desert_sand", --"stoneage:grass_with_silex", "stoneage:sand_with_silex", diff --git a/ferns/crafting.lua b/ferns/crafting.lua index 8d8b3ed..7a74579 100644 --- a/ferns/crafting.lua +++ b/ferns/crafting.lua @@ -1,8 +1,10 @@ +-- support for i18n +local S = plantlife_i18n.gettext ----------------------------------------------------------------------------------------------- -- Ferns - Crafting 0.0.5 ----------------------------------------------------------------------------------------------- -- (by Mossmanikin) --- License (everything): WTFPL +-- License (everything): WTFPL ----------------------------------------------------------------------------------------------- minetest.register_craft({ type = "shapeless", @@ -27,7 +29,7 @@ minetest.register_craft({ minetest.register_alias("archaeplantae:fiddlehead", "ferns:fiddlehead") minetest.register_craftitem("ferns:fiddlehead", { - description = "Fiddlehead", + description = S("Fiddlehead"), inventory_image = "ferns_fiddlehead.png", on_use = minetest.item_eat(-1), -- slightly poisonous when raw }) @@ -38,7 +40,7 @@ minetest.register_craft({ cooktime = 1, }) minetest.register_craftitem("ferns:fiddlehead_roasted", { - description = "Roasted Fiddlehead", + description = S("Roasted Fiddlehead"), inventory_image = "ferns_fiddlehead_roasted.png", on_use = minetest.item_eat(1), -- edible when cooked }) @@ -48,7 +50,7 @@ minetest.register_craftitem("ferns:fiddlehead_roasted", { minetest.register_alias("archaeplantae:ferntuber", "ferns:ferntuber") minetest.register_craftitem("ferns:ferntuber", { - description = "Fern Tuber", + description = S("Fern Tuber"), inventory_image = "ferns_ferntuber.png", }) minetest.register_craft({ @@ -61,7 +63,7 @@ minetest.register_craft({ minetest.register_alias("archaeplantae:ferntuber_roasted", "ferns:ferntuber_roasted") minetest.register_craftitem("ferns:ferntuber_roasted", { - description = "Roasted Fern Tuber", + description = S("Roasted Fern Tuber"), inventory_image = "ferns_ferntuber_roasted.png", on_use = minetest.item_eat(3), }) @@ -101,4 +103,3 @@ minetest.register_craft({ output = "farming:hoe_wood", recipe = {"farming:hoe_wood","group:horsetail","farming:string","default:stick"}, })]] - diff --git a/ferns/depends.txt b/ferns/depends.txt index 9d994c0..6790d9e 100644 --- a/ferns/depends.txt +++ b/ferns/depends.txt @@ -1,2 +1,3 @@ default -biome_lib \ No newline at end of file +biome_lib +plantlife_i18n diff --git a/ferns/fern.lua b/ferns/fern.lua index 51cac8f..ed0bd71 100644 --- a/ferns/fern.lua +++ b/ferns/fern.lua @@ -6,7 +6,7 @@ -- Contains code from: biome_lib -- Looked at code from: default, flowers, painting, trees -- Dependencies: biome_lib --- Supports: dryplants, stoneage, sumpf +-- Supports: dryplants, stoneage, sumpf ----------------------------------------------------------------------------------------------- -- some inspiration from here -- https://en.wikipedia.org/wiki/Athyrium_yokoscense @@ -15,6 +15,9 @@ assert(abstract_ferns.config.enable_lady_fern == true) +-- support for i18n +local S = plantlife_i18n.gettext + -- Maintain backward compatibilty minetest.register_alias("archaeplantae:fern", "ferns:fern_03") minetest.register_alias("archaeplantae:fern_mid", "ferns:fern_02") @@ -25,8 +28,8 @@ local nodenames = {} local function create_nodes() local images = { "ferns_fern.png", "ferns_fern_mid.png", "ferns_fern_big.png" } - local vscales = { 1, 2, 2.2 } - local descs = { "Lady-fern (Athyrium)", nil, nil } + local vscales = { 1, math.sqrt(8), math.sqrt(11) } + local descs = { S("Lady-fern (Athyrium)"), nil, nil } for i = 1, 3 do local node_on_place = nil @@ -40,7 +43,7 @@ local function create_nodes() end nodenames[i] = "ferns:fern_"..string.format("%02d", i) minetest.register_node(nodenames[i], { - description = descs[i] or ("Lady-fern (Athyrium) " .. string.format("%02d", i)), + description = descs[i] or (S("Lady-fern (Athyrium)").." " .. string.format("%02d", i)), inventory_image = "ferns_fern.png", drawtype = "plantlike", visual_scale = vscales[i], @@ -91,8 +94,8 @@ if abstract_ferns.config.lady_ferns_near_tree == true then plantlife_limit = -0.9, humidity_max = -1.0, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C (too hot?) - temp_min = 0.75, -- -12 °C + temp_max = -0.5, -- 55 °C (too hot?) + temp_min = 0.75, -- -12 °C random_facedir = { 0, 179 }, }, nodenames @@ -118,8 +121,8 @@ if abstract_ferns.config.lady_ferns_near_rock == true then plantlife_limit = -0.9, humidity_max = -1.0, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C (too hot?) - temp_min = 0.75, -- -12 °C + temp_max = -0.5, -- 55 °C (too hot?) + temp_min = 0.75, -- -12 °C random_facedir = { 0, 179 }, }, nodenames @@ -156,8 +159,8 @@ if abstract_ferns.config.lady_ferns_near_ores == true then -- this one causes a plantlife_limit = -0.9, humidity_max = -1.0, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C (too hot?) - temp_min = 0.75, -- -12 °C + temp_max = -0.5, -- 55 °C (too hot?) + temp_min = 0.75, -- -12 °C random_facedir = { 0, 179 }, }, nodenames @@ -187,8 +190,8 @@ if abstract_ferns.config.lady_ferns_in_groups == true then -- this one is meant plantlife_limit = -0.9, humidity_max = -1.0, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C (too hot?) - temp_min = 0.75, -- -12 °C + temp_max = -0.5, -- 55 °C (too hot?) + temp_min = 0.75, -- -12 °C random_facedir = { 0, 179 }, }, nodenames diff --git a/ferns/gianttreefern.lua b/ferns/gianttreefern.lua index bc6516b..c746194 100644 --- a/ferns/gianttreefern.lua +++ b/ferns/gianttreefern.lua @@ -5,11 +5,13 @@ -- License (everything): WTFPL -- Contains code from: biome_lib -- Looked at code from: 4seasons, default --- Supports: vines +-- Supports: vines ----------------------------------------------------------------------------------------------- assert(abstract_ferns.config.enable_giant_treefern == true) +-- support for i18n +local S = plantlife_i18n.gettext -- lot of code, lot to load abstract_ferns.grow_giant_tree_fern = function(pos) @@ -21,7 +23,7 @@ abstract_ferns.grow_giant_tree_fern = function(pos) end local size = math.random(12,16) -- min of range must be >= 4 - + local leafchecks = { { direction = 3, @@ -61,32 +63,39 @@ abstract_ferns.grow_giant_tree_fern = function(pos) } } + local brk = false for i = 1, size-3 do + if minetest.get_node({x = pos.x, y = pos.y + i, z = pos.z}).name ~= "air" then + brk = true + break + end minetest.set_node({x = pos.x, y = pos.y + i, z = pos.z}, {name="ferns:fern_trunk_big"}) end - minetest.set_node({x = pos.x, y = pos.y + size-2, z = pos.z}, {name="ferns:fern_trunk_big_top"}) - minetest.set_node({x = pos.x, y = pos.y + size-1, z = pos.z}, {name="ferns:tree_fern_leaves_giant"}) + if not brk then + minetest.set_node({x = pos.x, y = pos.y + size-2, z = pos.z}, {name="ferns:fern_trunk_big_top"}) + minetest.set_node({x = pos.x, y = pos.y + size-1, z = pos.z}, {name="ferns:tree_fern_leaves_giant"}) - -- all the checking for air below is to prevent some ugly bugs (incomplete trunks of neighbouring trees), it's a bit slower, but worth the result + -- all the checking for air below is to prevent some ugly bugs (incomplete trunks of neighbouring trees), it's a bit slower, but worth the result - -- assert(#leafchecks == 4) - for i = 1, 4 do - local positions = leafchecks[i].positions - local rot = leafchecks[i].direction - local endpos = 4 -- If the loop below adds all intermediate leaves then the "terminating" leaf will be at positions[4] - -- assert(#positions == 4) - -- add leaves so long as the destination nodes are air - for j = 1, 3 do - if minetest.get_node(positions[j]).name == "air" then - minetest.set_node(positions[j], {name="ferns:tree_fern_leave_big"}) - else - endpos = j - break + -- assert(#leafchecks == 4) + for i = 1, 4 do + local positions = leafchecks[i].positions + local rot = leafchecks[i].direction + local endpos = 4 -- If the loop below adds all intermediate leaves then the "terminating" leaf will be at positions[4] + -- assert(#positions == 4) + -- add leaves so long as the destination nodes are air + for j = 1, 3 do + if minetest.get_node(positions[j]).name == "air" then + minetest.set_node(positions[j], {name="ferns:tree_fern_leave_big"}) + else + endpos = j + break + end + end + -- add the terminating leaf if required and possible + if endpos == 4 and minetest.get_node(positions[endpos]).name == "air" then + minetest.set_node(positions[endpos], {name="ferns:tree_fern_leave_big_end", param2=rot}) end - end - -- add the terminating leaf if required and possible - if endpos == 4 and minetest.get_node(positions[endpos]).name == "air" then - minetest.set_node(positions[endpos], {name="ferns:tree_fern_leave_big_end", param2=rot}) end end end @@ -95,9 +104,9 @@ end -- GIANT TREE FERN LEAVES ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:tree_fern_leaves_giant", { - description = "Tree Fern Crown (Dicksonia)", + description = S("Tree Fern Crown (Dicksonia)"), drawtype = "plantlike", - visual_scale = math.sqrt(8), + visual_scale = math.sqrt(11), wield_scale = {x=0.175, y=0.175, z=0.175}, paramtype = "light", tiles = {"ferns_fern_tree_giant.png"}, @@ -137,7 +146,7 @@ minetest.register_node("ferns:tree_fern_leaves_giant", { -- GIANT TREE FERN LEAVE PART ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:tree_fern_leave_big", { - description = "Giant Tree Fern Leaves", + description = S("Giant Tree Fern Leaves"), drawtype = "raillike", paramtype = "light", tiles = { @@ -158,7 +167,7 @@ minetest.register_node("ferns:tree_fern_leave_big", { -- GIANT TREE FERN LEAVE END ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:tree_fern_leave_big_end", { - description = "Giant Tree Fern Leave End", + description = S("Giant Tree Fern Leave End"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -187,7 +196,7 @@ minetest.register_node("ferns:tree_fern_leave_big_end", { -- GIANT TREE FERN TRUNK TOP ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:fern_trunk_big_top", { - description = "Giant Fern Trunk", + description = S("Giant Fern Trunk"), drawtype = "nodebox", paramtype = "light", tiles = { @@ -224,7 +233,7 @@ minetest.register_node("ferns:fern_trunk_big_top", { -- GIANT TREE FERN TRUNK ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:fern_trunk_big", { - description = "Giant Fern Trunk", + description = S("Giant Fern Trunk"), drawtype = "nodebox", paramtype = "light", tiles = { @@ -244,8 +253,8 @@ minetest.register_node("ferns:fern_trunk_big", { sounds = default.node_sound_wood_defaults(), after_destruct = function(pos,oldnode) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) - if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then - minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) + if node.name == "ferns:fern_trunk_big" or node.name == "ferns:fern_trunk_big_top" then + minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.add_item(pos,"ferns:fern_trunk_big") end end, @@ -255,7 +264,7 @@ minetest.register_node("ferns:fern_trunk_big", { -- GIANT TREE FERN SAPLING ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:sapling_giant_tree_fern", { - description = "Giant Tree Fern Sapling", + description = S("Giant Tree Fern Sapling"), drawtype = "plantlike", paramtype = "light", tiles = {"ferns_sapling_tree_fern_giant.png"}, diff --git a/ferns/horsetail.lua b/ferns/horsetail.lua index b87f1f9..16d1c90 100644 --- a/ferns/horsetail.lua +++ b/ferns/horsetail.lua @@ -6,11 +6,13 @@ -- Contains code from: biome_lib -- Looked at code from: default, flowers, trees -- Dependencies: biome_lib --- Supports: dryplants, stoneage, sumpf +-- Supports: dryplants, stoneage, sumpf ----------------------------------------------------------------------------------------------- assert(abstract_ferns.config.enable_horsetails == true) +-- support for i18n +local S = plantlife_i18n.gettext ----------------------------------------------------------------------------------------------- -- HORSETAIL (EQUISETUM) ----------------------------------------------------------------------------------------------- @@ -33,13 +35,13 @@ local function create_nodes() local node_drop = "ferns:horsetail_04" if i == 1 then - node_desc = "Young Horsetail (Equisetum)" + node_desc = S("Young Horsetail (Equisetum)") node_on_use = minetest.item_eat(1) -- young ones edible https://en.wikipedia.org/wiki/Equisetum node_drop = node_name elseif i == 4 then - node_desc = "Horsetail (Equisetum)" + node_desc = S("Horsetail (Equisetum)") else - node_desc = "Horsetail (Equisetum) ".. string.format("%02d", i) + node_desc = S("Horsetail (Equisetum)").." ".. string.format("%02d", i) end node_names[i] = node_name @@ -125,8 +127,8 @@ if abstract_ferns.config.enable_horsetails_on_grass == true then near_nodes_count = 1, plantlife_limit = -0.9, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C - temp_min = 0.53, -- 0 °C, dies back in winter + temp_max = -0.5, -- 55 °C + temp_min = 0.53, -- 0 °C, dies back in winter --random_facedir = { 0, 179 }, }, node_names @@ -147,8 +149,8 @@ if abstract_ferns.config.enable_horsetails_on_stones == true then min_elevation = 1, -- above sea level plantlife_limit = -0.9, humidity_min = 0.4, - temp_max = -0.5, -- 55 °C - temp_min = 0.53, -- 0 °C, dies back in winter + temp_max = -0.5, -- 55 °C + temp_min = 0.53, -- 0 °C, dies back in winter --random_facedir = { 0, 179 }, }, node_names diff --git a/ferns/init.lua b/ferns/init.lua index b629d5d..6e7dcac 100644 --- a/ferns/init.lua +++ b/ferns/init.lua @@ -4,11 +4,14 @@ local version = "0.2.0" local mname = "ferns" -- former "archaeplantae" ----------------------------------------------------------------------------------------------- -- (by Mossmanikin) --- License (everything): WTFPL +-- License (everything): WTFPL ----------------------------------------------------------------------------------------------- abstract_ferns = {} +-- support for i18n +local S = plantlife_i18n.gettext + dofile(minetest.get_modpath("ferns").."/settings.lua") if abstract_ferns.config.enable_lady_fern == true then diff --git a/ferns/treefern.lua b/ferns/treefern.lua index 4ba502b..db4bc37 100644 --- a/ferns/treefern.lua +++ b/ferns/treefern.lua @@ -4,9 +4,12 @@ -- by Mossmanikin -- License (everything): WTFPL -- Contains code from: biome_lib --- Looked at code from: default , trees +-- Looked at code from: default , trees ----------------------------------------------------------------------------------------------- +-- support for i18n +local S = plantlife_i18n.gettext + assert(abstract_ferns.config.enable_treefern == true) abstract_ferns.grow_tree_fern = function(pos) @@ -17,24 +20,33 @@ abstract_ferns.grow_tree_fern = function(pos) and minetest.get_node(pos_01).name ~= "default:junglegrass" then return end - + local size = math.random(1, 4) + math.random(1, 4) if (size > 5) then size = 10 - size end size = size + 1 local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)] - + local i = 1 - while (i < size-1) do - if minetest.get_node({x = pos.x, y = pos.y + i + 1, z = pos.z}).name ~= "air" then + local brk = false + while (i < size) do + print(minetest.get_node({x = pos.x, y = pos.y + i, z = pos.z}).name) + if minetest.get_node({x = pos.x, y = pos.y + i, z = pos.z}).name ~= "air" then + brk = true + print("break!") break end + print("set trunk node at:") + print(dump({x = pos.x, y = pos.y + i, z = pos.z})) minetest.set_node({x = pos.x, y = pos.y + i, z = pos.z}, { name = "ferns:fern_trunk" }) i = i + 1 end - - minetest.set_node({x = pos.x, y = pos.y + i, z = pos.z}, { name = crown }) + if not brk then + print("set crown node at:") + print(dump({x = pos.x, y = pos.y + i, z = pos.z})) + minetest.set_node({x = pos.x, y = pos.y + i - 1, z = pos.z}, { name = crown }) + end end ----------------------------------------------------------------------------------------------- @@ -44,9 +56,9 @@ end -- TODO: Both of these nodes look the same? minetest.register_node("ferns:tree_fern_leaves", { - description = "Tree Fern Crown (Dicksonia)", + description = S("Tree Fern Crown (Dicksonia)"), drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", paramtype2 = "facedir", --tiles = {"[combine:32x32:0,0=top_left.png:0,16=bottom_left.png:16,0=top_right.png:16,16=bottom_right.png"}, @@ -80,7 +92,7 @@ minetest.register_node("ferns:tree_fern_leaves", { }) minetest.register_node("ferns:tree_fern_leaves_02", { drawtype = "plantlike", - visual_scale = 2, + visual_scale = math.sqrt(8), paramtype = "light", tiles = {"ferns_fern_big.png"}, walkable = false, @@ -113,7 +125,7 @@ minetest.register_node("ferns:tree_fern_leaves_02", { -- FERN TRUNK ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:fern_trunk", { - description = "Fern Trunk (Dicksonia)", + description = S("Fern Trunk (Dicksonia)"), drawtype = "nodebox", paramtype = "light", tiles = { @@ -133,8 +145,8 @@ minetest.register_node("ferns:fern_trunk", { sounds = default.node_sound_wood_defaults(), after_destruct = function(pos,oldnode) local node = minetest.get_node({x=pos.x,y=pos.y+1,z=pos.z}) - if node.name == "ferns:fern_trunk" then - minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) + if node.name == "ferns:fern_trunk" then + minetest.dig_node({x=pos.x,y=pos.y+1,z=pos.z}) minetest.add_item(pos,"ferns:fern_trunk") end end, @@ -144,7 +156,7 @@ minetest.register_node("ferns:fern_trunk", { -- TREE FERN SAPLING ----------------------------------------------------------------------------------------------- minetest.register_node("ferns:sapling_tree_fern", { - description = "Tree Fern Sapling (Dicksonia)", + description = S("Tree Fern Sapling (Dicksonia)"), drawtype = "plantlike", paramtype = "light", paramtype2 = "facedir", diff --git a/flowers_plus/depends.txt b/flowers_plus/depends.txt index 425a7b9..0c1af97 100644 --- a/flowers_plus/depends.txt +++ b/flowers_plus/depends.txt @@ -1,3 +1,4 @@ biome_lib +plantlife_i18n farming? flowers? diff --git a/flowers_plus/init.lua b/flowers_plus/init.lua index a80778a..910d304 100644 --- a/flowers_plus/init.lua +++ b/flowers_plus/init.lua @@ -1,4 +1,5 @@ -local S = biome_lib.intllib +-- support for i18n +local S = plantlife_i18n.gettext -- This file supplies a few additional plants and some related crafts -- for the plantlife modpack. Last revision: 2013-04-24 @@ -42,7 +43,7 @@ for i in ipairs(lilies_list) do minetest.register_node(":flowers:waterlily"..deg1, { description = S("Waterlily"), drawtype = "nodebox", - tiles = { + tiles = { "flowers_waterlily"..deg2..".png", "flowers_waterlily"..deg2..".png^[transformFY" }, @@ -80,7 +81,7 @@ for i in ipairs(lilies_list) do if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then if under_node.name ~= "default:water_source" then place_pos = pt.under - elseif top_node.name ~= "default:water_source" + elseif top_node.name ~= "default:water_source" and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then place_pos = top_pos else @@ -139,11 +140,11 @@ for i in ipairs(algae_list) do num = "_"..algae_list[i][1] algae_groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 } end - + minetest.register_node(":flowers:seaweed"..num, { description = S("Seaweed"), drawtype = "nodebox", - tiles = { + tiles = { "flowers_seaweed"..num..".png", "flowers_seaweed"..num..".png^[transformFY" }, @@ -162,9 +163,9 @@ for i in ipairs(algae_list) do node_box = { type = "fixed", fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 }, - }, + }, buildable_to = true, - + liquids_pointable = true, drop = "flowers:seaweed", on_place = function(itemstack, placer, pointed_thing) @@ -180,7 +181,7 @@ for i in ipairs(algae_list) do if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then if under_node.name ~= "default:water_source" then place_pos = pt.under - elseif top_node.name ~= "default:water_source" + elseif top_node.name ~= "default:water_source" and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then place_pos = top_pos else @@ -227,12 +228,12 @@ local box = { } local sunflower_drop = "farming:seed_wheat" -if minetest.registered_items["farming:seed_spelt"] then +if minetest.registered_items["farming:seed_spelt"] then sunflower_drop = "farming:seed_spelt" end minetest.register_node(":flowers:sunflower", { - description = "Sunflower", + description = S("Sunflower"), drawtype = "mesh", paramtype = "light", paramtype2 = "facedir", @@ -291,7 +292,7 @@ flowers_plus.grow_waterlily = function(pos) if lilies_list[i][1] ~= nil then ext = "_"..lilies_list[i][1] end - + if chance == num then minetest.set_node(right_here, {name="flowers:waterlily"..ext, param2=math.random(0,3)}) end @@ -469,7 +470,7 @@ biome_lib:spawn_on_surfaces({ -- cotton wads -> string (can be crafted into wool blocks) -- potted cotton plants -> potted white dandelions -minetest.register_alias("flowers:cotton_plant", "farming:cotton_8") +minetest.register_alias("flowers:cotton_plant", "farming:cotton_8") minetest.register_alias("flowers:flower_cotton", "farming:cotton_8") minetest.register_alias("flowers:flower_cotton_pot", "flowers:potted_dandelion_white") minetest.register_alias("flowers:potted_cotton_plant", "flowers:potted_dandelion_white") diff --git a/flowers_plus/locale/de.txt b/flowers_plus/locale/de.txt deleted file mode 100644 index 5195be7..0000000 --- a/flowers_plus/locale/de.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Translation by Xanthin - -Waterlily = Seerose -Seaweed = Seetang -Potted Rose = Eingetopfte Rose -Potted Tulip = Eingetopfte Tulpe -Potted Yellow Dandelion = Eingetopfter Loewenzahn -Potted White Dandelion = Eingetopfte Pusteblume -Potted Blue Geranium = Eingetopfte blaue Geranie -Potted Viola = Eingetopftes Veilchen -Flower Pot = Blumentopf - -[Flowers] Loaded. = [Flowers] Geladen. diff --git a/flowers_plus/locale/fr.txt b/flowers_plus/locale/fr.txt deleted file mode 100644 index c4f4737..0000000 --- a/flowers_plus/locale/fr.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Template - -Waterlily = Nénuphar -Seaweed = Algues -Potted Rose = Rose en pot -Potted Tulip = Tulipe en pot -Potted Yellow Dandelion = Pissenlit jaune en pot -Potted White Dandelion = Pissenlit blanc en pot -Potted Blue Geranium = Géranium bleu en pot -Potted Viola = Violette en pot -Flower Pot = Fleurs en pot - -[Flowers] Loaded. = [Fleurs] Chargées. diff --git a/flowers_plus/locale/template.txt b/flowers_plus/locale/template.txt deleted file mode 100644 index 42ac830..0000000 --- a/flowers_plus/locale/template.txt +++ /dev/null @@ -1,13 +0,0 @@ -# Template - -Waterlily = -Seaweed = -Potted Rose = -Potted Tulip = -Potted Yellow Dandelion = -Potted White Dandelion = -Potted Blue Geranium = -Potted Viola = -Flower Pot = - -[Flowers] Loaded. = diff --git a/flowers_plus/textures/tr.txt b/flowers_plus/textures/tr.txt deleted file mode 100644 index 9e6372e..0000000 --- a/flowers_plus/textures/tr.txt +++ /dev/null @@ -1,14 +0,0 @@ -# Turkish translation -# mahmutelmas06@hotmail.com - -Waterlily = Nilüfer -Seaweed = Deniz yosunu -Potted Rose = Saksı gülü -Potted Tulip = Saksı lalesi -Potted Yellow Dandelion = Sarı hindiba -Potted White Dandelion = Beyaz hindiba -Potted Blue Geranium = Mavi hindiba -Potted Viola = Saksı MenekÅŸesi -Flower Pot = Saksı - -[Flowers] Loaded. = [Flowers] yüklendi. diff --git a/molehills/depends.txt b/molehills/depends.txt index 4e35179..239cddc 100644 --- a/molehills/depends.txt +++ b/molehills/depends.txt @@ -1,2 +1,3 @@ default -biome_lib \ No newline at end of file +plantlife_i18n +biome_lib diff --git a/molehills/init.lua b/molehills/init.lua index d0a1941..f04dded 100644 --- a/molehills/init.lua +++ b/molehills/init.lua @@ -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...")) ----------------------------------------------------------------------------------------------- diff --git a/nature_classic/blossom.lua b/nature_classic/blossom.lua index 62947b5..8bb68e0 100644 --- a/nature_classic/blossom.lua +++ b/nature_classic/blossom.lua @@ -1,3 +1,5 @@ +-- support for i18n +local S = plantlife_i18n.gettext -- Blossoms and such local function spawn_apple_under(pos) @@ -12,15 +14,21 @@ local function spawn_apple_under(pos) end minetest.register_node(":"..nature.blossom_node, { - description = "Apple blossoms", + description = S("Apple blossoms"), drawtype = "allfaces_optional", tiles = nature.blossom_textures, paramtype = "light", - groups = { snappy = 3, leafdecay = 3, flammable = 2, leafdecay = 3 }, + groups = nature.blossom_groups, sounds = default.node_sound_leaves_defaults(), waving = 1 }) +default.register_leafdecay({ + trunks = { nature.blossom_trunk }, + leaves = { nature.blossom_node, nature.blossom_leaves }, + radius = nature.blossom_decay, +}) + minetest.register_craft({ type = "fuel", recipe = nature.blossom_node, diff --git a/nature_classic/depends.txt b/nature_classic/depends.txt index 1246684..ad4030f 100644 --- a/nature_classic/depends.txt +++ b/nature_classic/depends.txt @@ -1,2 +1,3 @@ default +plantlife_i18n moretrees? diff --git a/nature_classic/init.lua b/nature_classic/init.lua index 47fd9bf..1135175 100644 --- a/nature_classic/init.lua +++ b/nature_classic/init.lua @@ -6,17 +6,26 @@ local current_mod_name = minetest.get_current_modname() nature = {} +-- support for i18n +local S = plantlife_i18n.gettext + nature.blossomqueue = {} nature.blossomqueue_max = 1000 +nature.blossom_decay = 2 +nature.blossom_trunk = "default:tree" nature.blossom_node = "nature:blossom" nature.blossom_leaves = "default:leaves" nature.blossom_textures = { "default_leaves.png^nature_blossom.png" } +nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2 } if minetest.get_modpath("moretrees") then + nature.blossom_decay = moretrees.leafdecay_radius + nature.blossom_trunk = "moretrees:apple_tree_trunk" nature.blossom_node = "moretrees:apple_blossoms" nature.blossom_leaves = "moretrees:apple_tree_leaves" nature.blossom_textures = { "moretrees_apple_tree_leaves.png^nature_blossom.png" } + nature.blossom_groups = { snappy = 3, leafdecay = 1, leaves = 1, flammable = 2, moretrees_leaves = 1 }, minetest.register_alias("nature:blossom", "default:leaves") end @@ -38,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!")) diff --git a/plantlife_i18n/depends.txt b/plantlife_i18n/depends.txt new file mode 100644 index 0000000..77e8d97 --- /dev/null +++ b/plantlife_i18n/depends.txt @@ -0,0 +1 @@ +intllib? diff --git a/plantlife_i18n/init.lua b/plantlife_i18n/init.lua new file mode 100644 index 0000000..e999029 --- /dev/null +++ b/plantlife_i18n/init.lua @@ -0,0 +1,7 @@ + +-- This file intentionally left blank. + +plantlife_i18n = { } + +local MP = minetest.get_modpath(minetest.get_current_modname()) +plantlife_i18n.gettext, plantlife_i18n.ngettext = dofile(MP.."/intllib.lua") diff --git a/plantlife_i18n/intllib.lua b/plantlife_i18n/intllib.lua new file mode 100644 index 0000000..6669d72 --- /dev/null +++ b/plantlife_i18n/intllib.lua @@ -0,0 +1,45 @@ + +-- Fallback functions for when `intllib` is not installed. +-- Code released under Unlicense . + +-- Get the latest version of this file at: +-- https://raw.githubusercontent.com/minetest-mods/intllib/master/lib/intllib.lua + +local function format(str, ...) + local args = { ... } + local function repl(escape, open, num, close) + if escape == "" then + local replacement = tostring(args[tonumber(num)]) + if open == "" then + replacement = replacement..close + end + return replacement + else + return "@"..open..num..close + end + end + return (str:gsub("(@?)@(%(?)(%d+)(%)?)", repl)) +end + +local gettext, ngettext +if minetest.get_modpath("intllib") then + if intllib.make_gettext_pair then + -- New method using gettext. + gettext, ngettext = intllib.make_gettext_pair() + else + -- Old method using text files. + gettext = intllib.Getter() + end +end + +-- Fill in missing functions. + +gettext = gettext or function(msgid, ...) + return format(msgid, ...) +end + +ngettext = ngettext or function(msgid, msgid_plural, n, ...) + return format(n==1 and msgid or msgid_plural, ...) +end + +return gettext, ngettext diff --git a/plantlife_i18n/locale/de.po b/plantlife_i18n/locale/de.po new file mode 100644 index 0000000..ff761e4 --- /dev/null +++ b/plantlife_i18n/locale/de.po @@ -0,0 +1,488 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 11:09+0200\n" +"PO-Revision-Date: 2017-08-03 11:32+0200\n" +"Last-Translator: Xanthin\n" +"Language-Team: \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.12\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "Zucker" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "Korb mit Erdbeertorten" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "Erdbeertorte" + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "Rohe Erdbeertorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "Erdbeertortenstueck" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "Erdbeere" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "Erdbeerbusch" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "Korb mit Brombeertorten" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "Brombeere" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "Brombeerbusch" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "Brombeertorte" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "Rohe Brombeertorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "Brombeertortenstueck" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "Korb mit Blaubeertorten" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "Blaubeere" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "Blaubeerbusch" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "Blaubeertorte" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "Rohe Blaubeertorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "Blaubeertortenstueck" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "Korb mit Himbeertorten" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "Himbeertorte" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "Himbeere" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "Himbeerbusch" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "Rohe Himbeertorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "Himbeertortenstueck" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "Korb mit Stachelbeertorten" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "Stachelbeertorte" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "Stachelbeere" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "Stachelbeerbusch" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "Rohe Stachelbeertorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "Stachelbeertortenstueck" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "Korb mit Beerenmixtorten" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "Beerenmixtorte" + +#: ../bushes_classic/init.lua +#, fuzzy +msgid "Currently fruitless Bush" +msgstr "zur Zeit fruechteloser" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "Beerenmix" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "Rohe Beerenmixtorte" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "Beerenmixtortenstueck" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "[Bushes] Geladen." + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "Korb" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "Seerose" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "Seetang" + +#: ../flowers_plus/init.lua +msgid "Sunflower" +msgstr "Sonnenblume" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "[Flowers] Geladen." + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "" + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "Giftefeu (Saemling)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "Giftefeu (Sproessling)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "Giftefeu (Kletterpflanze)" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "[Poison Ivy] Geladen." + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "" + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "" diff --git a/plantlife_i18n/locale/es.po b/plantlife_i18n/locale/es.po new file mode 100644 index 0000000..7ff371d --- /dev/null +++ b/plantlife_i18n/locale/es.po @@ -0,0 +1,488 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 11:34+0200\n" +"PO-Revision-Date: 2017-08-03 11:41+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.12\n" +"Last-Translator: Carlos Barraza \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "Azúcar" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "Cesta con Pasteles de Frutilla" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "Pastel de Frutilla Cocido" + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "Pastel de Frutilla Crudo" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "Rebanada de Pastel de Frutilla" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "Frutilla" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "Arbusto de Frutilla" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "Cesta con Pasteles de Mora" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "Mora" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "Arbusto de Mora" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "Pastel de Mora Cocido" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "Pastel de Mora Crudo" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "Rebanada de Pastel de Mora" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "Cesta con Pasteles de Arándano" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "Arándano" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "Arbusto de Arándano" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "Pastel de Arándano Cocido" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "Pastel de Arándano Crudo" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "Rebanada de Pastel de Arándano" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "Cesta con Pasteles de Frambuesa" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "Pastel de Frambuesa Cocido" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "Frambuesa" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "Arbusto de Frambuesa" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "Pastel de Frambuesa Crudo" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "Rebanada de Pastel de Frambuesa" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "Cesta con Pasteles de Grosella" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "Pastel de Grosella Cocido" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "Grosella" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "Arbusto de Grosella" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "Pastel de Grosella Crudo" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "Rebanada de Pastel de Grosella" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "Cesta con Pasteles de Mezcla de Baya" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "Pastel de Mezcla de Bayas Cocido" + +#: ../bushes_classic/init.lua +#, fuzzy +msgid "Currently fruitless Bush" +msgstr "Arbusto actualmente infructuoso" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "Mezcla de Baya" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "Pastel de Mezcla de Bayas Cruda" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "Rebanada de Pastel de Mezcla de Bayas" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "[Bushes] Cargado." + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "Cesta" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "Lirio de agua" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "Algas marinas" + +#: ../flowers_plus/init.lua +msgid "Sunflower" +msgstr "Girasol" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "[Flowers] Cargado." + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "" + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "Hiedra venenosa (retoño)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "Hiedra venenosa (brotes)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "Hiedra venenosa (planta trepadora)" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "[Poison Ivy] Cargado." + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "" + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "" diff --git a/plantlife_i18n/locale/fr.po b/plantlife_i18n/locale/fr.po new file mode 100644 index 0000000..d5734b3 --- /dev/null +++ b/plantlife_i18n/locale/fr.po @@ -0,0 +1,487 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 11:09+0200\n" +"PO-Revision-Date: 2017-08-03 11:18+0200\n" +"Last-Translator: fat115 \n" +"Language-Team: \n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.12\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "Arbuste 2 (bas)" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "Branches de buisson @1" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "Feuilles de buisson @1" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "Sucre" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "Panier de tartes aux fraises" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "Tarte aux fraises (cuite)" + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "Tarte aux fraises (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "Part de tarte aux fraises" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "Fraises" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "Buisson de fraises" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "Panier de tartes aux fraises" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "Mûres" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "Buisson de mûres" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "Tarte aux mûres (cuite)" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "Tarte aux mûres (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "Part de tarte aux mûres" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "Panier de tartes aux mûres" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "Myrtilles" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "Buisson de myrtilles" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "Tarte aux myrtilles (cuite)" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "Tarte aux myrtilles (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "Part de tarte aux myrtilles" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "Panier de tartes aux framboises" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "Tarte aux framboises (cuite)" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "Framboises" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "Buisson de framboises" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "Tarte aux framboises (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "Part de tarts aux framboises" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "Panier de tartes aux groseilles" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "Tarte aux groseilles (cuite)" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "Groseilles" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "Buisson de groseilles" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "Tarte aux groseilles (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "Part de tarte aux groseilles" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "Panier de tartes aux fruits rouges" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "Tarte aux fruits rouges (cuite)" + +#: ../bushes_classic/init.lua +msgid "Currently fruitless Bush" +msgstr "Buisson sans fruits pour l'instant" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "Fruits rouges" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "Tarte aux fruits rouges (crue)" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "Part de tarte aux fruits rouges" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "[Bushes] chargé." + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "Panier" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "Caillou" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "Caillou du désert" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "Stalactite" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "Faucille" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "Herbe coupée" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "Foin" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "Herbes courtes" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "Joncs" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "Bloc de roseau humide" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "Dalle en roseau humide" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "Toit en roseau humide" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "Angle de toit en roseau humide" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "Angle de toit en roseau humide 2" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "Roseau" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "Dalle en roseau" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "Toit en roseau" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "Angle de toit en roseau" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "Angle de toit en roseau 2" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "Roseau" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "Roseau, 1 de hauteur" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "Roseau, 2 de hauteur" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "Roseau, 3 de hauteur" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "Roseau, 3 de hauteur avec panicules" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "Crosse de fougère" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "Crosse de fougère rôtie" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "Tubercule de fougère" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "Tubercule de fougère rôti" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "Fougère (Athyrium)" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "Fougère en couronne (Dicksonia)" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "Feuilles de fougère géante" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "Feuilles de fougère géante (extrémité)" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "Tronc de fougère géante" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "Pousse de fougère géante" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "Pousse de prêle (Equisetum)" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "Prêle (Equisetum)" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "Tronc de fougère en couronne (Dicksonia)" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "Pousse de fougère en couronne (Dicksonia)" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "Nénuphar" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "Algues" + +#: ../flowers_plus/init.lua +msgid "Sunflower" +msgstr "Tournesol" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "[Flowers] chargé." + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "Taupinière" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "chargé." + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "Fleurs de pommier" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "[Nature Classic] chargé.!" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "Sumac vénéneux (semis)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "Sumac vénéneux (pousse)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "Sumac vénéneux (grimpant)" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "[Poison Ivy] chargé." + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "Brindille" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "Mousse" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "Mousse et champignons" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "Bloc de brindilles" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "Dalle en brindilles" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "Toit de brindilles" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "Angle de toit de brindilles 1" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "Angle de toit de brindilles 2" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "(racine)" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "Plantes grimpantes" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "Extrémité de" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "[Vines] chargé." + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "Corde" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "Cisailles" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "Racines" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "Lianes" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "Lianes de saule" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "Humus forestier 1" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "Humus forestier 2" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "Humus forestier 3" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "Humus forestier 4" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "Bambou jeune" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "Arbuste 2 (milieu)" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "Arbuste (haut)" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "Arbuste (milieu)" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "Arbuste (bas)" diff --git a/plantlife_i18n/locale/pt.po b/plantlife_i18n/locale/pt.po new file mode 100644 index 0000000..3ef8e22 --- /dev/null +++ b/plantlife_i18n/locale/pt.po @@ -0,0 +1,487 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 14:07+0200\n" +"PO-Revision-Date: 2017-08-03 14:08+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.12\n" +"Last-Translator: fat115 \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: pt\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Currently fruitless Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "" + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Sunflower" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "" + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "" + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "Hera venenosa (plantilha)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "Hera venenosa (brotando)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "Hera venenosa (planta trepadeira)" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "[Poison Ivy] Carregado" + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "" + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "" diff --git a/plantlife_i18n/locale/template.pot b/plantlife_i18n/locale/template.pot new file mode 100644 index 0000000..ef7027c --- /dev/null +++ b/plantlife_i18n/locale/template.pot @@ -0,0 +1,486 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 11:09+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Currently fruitless Bush" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "" + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Sunflower" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "" + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "" + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "" + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "" diff --git a/plantlife_i18n/locale/tr.po b/plantlife_i18n/locale/tr.po new file mode 100644 index 0000000..db4a919 --- /dev/null +++ b/plantlife_i18n/locale/tr.po @@ -0,0 +1,489 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-08-03 11:43+0200\n" +"PO-Revision-Date: 2017-08-03 11:51+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.12\n" +"Last-Translator: mahmutelmas06@hotmail.com\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: tr\n" + +#: ../bushes/init.lua +msgid "Young Tree 2 (bottom)" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Branches @1" +msgstr "" + +#: ../bushes/init.lua +msgid "Bush Leaves @1" +msgstr "" + +#: ../bushes_classic/cooking.lua +msgid "Sugar" +msgstr "Åžeker" + +#: ../bushes_classic/init.lua +msgid "Basket with Strawberry pies" +msgstr "Çilekli pasta sepeti" + +#: ../bushes_classic/init.lua +msgid "Cooked Strawberry pie" +msgstr "PiÅŸmiÅŸ çilekli pasta " + +#: ../bushes_classic/init.lua +msgid "Raw Strawberry pie" +msgstr "Çilekli çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Strawberry pie" +msgstr "Çilekli pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "Strawberry" +msgstr "Çilek" + +#: ../bushes_classic/init.lua +msgid "Strawberry Bush" +msgstr "Çilek fidanı" + +#: ../bushes_classic/init.lua +msgid "Basket with Blackberry pies" +msgstr "Böğürtlenli pasta sepeti" + +#: ../bushes_classic/init.lua +msgid "Blackberry" +msgstr "Böğürtlen" + +#: ../bushes_classic/init.lua +msgid "Blackberry Bush" +msgstr "Böğürtlen fidanı" + +#: ../bushes_classic/init.lua +msgid "Cooked Blackberry pie" +msgstr "PiÅŸmiÅŸ böğürtlenli pasta" + +#: ../bushes_classic/init.lua +msgid "Raw Blackberry pie" +msgstr "Böğürtlenli çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Blackberry pie" +msgstr "Böğürtlenli pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "Basket with Blueberry pies" +msgstr "Yaban mersini pastalı sepet" + +#: ../bushes_classic/init.lua +msgid "Blueberry" +msgstr "Yaban mersini" + +#: ../bushes_classic/init.lua +msgid "Blueberry Bush" +msgstr "Yaban mersini fidanı" + +#: ../bushes_classic/init.lua +msgid "Cooked Blueberry pie" +msgstr "PiÅŸmiÅŸ yaban mersinli pasta" + +#: ../bushes_classic/init.lua +msgid "Raw Blueberry pie" +msgstr "Yaban mersinli çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Blueberry pie" +msgstr "Yaban mersinli pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "Basket with Raspberry pies" +msgstr "Ahududulu pasta sepeti" + +#: ../bushes_classic/init.lua +msgid "Cooked Raspberry pie" +msgstr "PiÅŸmiÅŸ ahududulu pasta" + +#: ../bushes_classic/init.lua +msgid "Raspberry" +msgstr "Ahududu" + +#: ../bushes_classic/init.lua +msgid "Raspberry Bush" +msgstr "Ahududu fidanı" + +#: ../bushes_classic/init.lua +msgid "Raw Raspberry pie" +msgstr "Ahududulu çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Raspberry pie" +msgstr "Ahududulu pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "Basket with Gooseberry pies" +msgstr "BektaÅŸi üzümlü pasta sepeti" + +#: ../bushes_classic/init.lua +msgid "Cooked Gooseberry pie" +msgstr "PiÅŸmiÅŸ bektaÅŸi üzümlü pasta" + +#: ../bushes_classic/init.lua +msgid "Gooseberry" +msgstr "BektaÅŸi üzümü" + +#: ../bushes_classic/init.lua +msgid "Gooseberry Bush" +msgstr "BektaÅŸi üzümü fidanı" + +#: ../bushes_classic/init.lua +msgid "Raw Gooseberry pie" +msgstr "BektaÅŸi üzümlü çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Gooseberry pie" +msgstr "BektaÅŸi üzümlü pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "Basket with Mixed Berry pies" +msgstr "Dutlu pasta sepeti" + +#: ../bushes_classic/init.lua +msgid "Cooked Mixed Berry pie" +msgstr "PiÅŸmiÅŸ dutlu pasta" + +#: ../bushes_classic/init.lua +#, fuzzy +msgid "Currently fruitless Bush" +msgstr "Fidanı ÅŸu anda meyvesiz" + +#: ../bushes_classic/init.lua +msgid "Mixed Berry" +msgstr "Dut" + +#: ../bushes_classic/init.lua +msgid "Raw Mixed Berry pie" +msgstr "Dutlu çiÄŸ pasta" + +#: ../bushes_classic/init.lua +msgid "Slice of Mixed Berry pie" +msgstr "Dutlu pasta dilimi" + +#: ../bushes_classic/init.lua +msgid "[Bushes] Loaded." +msgstr "[Bushes] yüklendi." + +#: ../bushes_classic/nodes.lua +msgid "Basket" +msgstr "Sepet" + +#: ../cavestuff/nodes.lua +msgid "Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Desert Pebble" +msgstr "" + +#: ../cavestuff/nodes.lua +msgid "Stalactite" +msgstr "" + +#: ../dryplants/init.lua +msgid "Sickle" +msgstr "" + +#: ../dryplants/init.lua +msgid "Cut Grass" +msgstr "" + +#: ../dryplants/init.lua +msgid "Hay" +msgstr "" + +#: ../dryplants/init.lua +msgid "Short Grass" +msgstr "" + +#: ../dryplants/juncus.lua +msgid "Juncus" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Wet Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Slab" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner" +msgstr "" + +#: ../dryplants/reed.lua +msgid "Reed Roof Corner 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 1" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 2" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3" +msgstr "" + +#: ../dryplants/reedmace.lua +msgid "Reedmace, height: 3 & Spikes" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fiddlehead" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Fern Tuber" +msgstr "" + +#: ../ferns/crafting.lua +msgid "Roasted Fern Tuber" +msgstr "" + +#: ../ferns/fern.lua +msgid "Lady-fern (Athyrium)" +msgstr "" + +#: ../ferns/gianttreefern.lua ../ferns/treefern.lua +msgid "Tree Fern Crown (Dicksonia)" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leaves" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Leave End" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Fern Trunk" +msgstr "" + +#: ../ferns/gianttreefern.lua +msgid "Giant Tree Fern Sapling" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Young Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/horsetail.lua +msgid "Horsetail (Equisetum)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Fern Trunk (Dicksonia)" +msgstr "" + +#: ../ferns/treefern.lua +msgid "Tree Fern Sapling (Dicksonia)" +msgstr "" + +#: ../flowers_plus/init.lua +msgid "Waterlily" +msgstr "Nilüfer" + +#: ../flowers_plus/init.lua +msgid "Seaweed" +msgstr "Deniz yosunu" + +#: ../flowers_plus/init.lua +#, fuzzy +msgid "Sunflower" +msgstr "AyçiçeÄŸi" + +#: ../flowers_plus/init.lua +msgid "[Flowers] Loaded." +msgstr "[Flowers] yüklendi." + +#: ../molehills/init.lua +msgid "Mole Hill" +msgstr "" + +#: ../molehills/init.lua +msgid "Loaded..." +msgstr "" + +#: ../nature_classic/blossom.lua +msgid "Apple blossoms" +msgstr "" + +#: ../nature_classic/init.lua +msgid "[Nature Classic] loaded!" +msgstr "" + +#: ../poisonivy/init.lua +msgid "Poison ivy (seedling)" +msgstr "Sarmaşık (Fidan)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (sproutling)" +msgstr "Sarmaşık (Filiz)" + +#: ../poisonivy/init.lua +msgid "Poison ivy (climbing plant)" +msgstr "Sarmaşık (Dolanan)" + +#: ../poisonivy/init.lua +msgid "[Poison Ivy] Loaded." +msgstr "[Poison Ivy] yüklendi." + +#: ../trunks/nodes.lua +msgid "Twig" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Moss with Fungus" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Block" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Slab" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 1" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Twigs Roof Corner 2" +msgstr "" + +#: ../trunks/nodes.lua +msgid "Root" +msgstr "" + +#: ../vines/crafts.lua ../vines/vines.lua +msgid "Vines" +msgstr "" + +#: ../vines/functions.lua +msgid "Matured" +msgstr "" + +#: ../vines/init.lua +msgid "[Vines] Loaded!" +msgstr "" + +#: ../vines/nodes.lua +msgid "Rope" +msgstr "" + +#: ../vines/shear.lua +msgid "Shears" +msgstr "" + +#: ../vines/vines.lua +msgid "Roots" +msgstr "" + +#: ../vines/vines.lua +msgid "Jungle Vines" +msgstr "" + +#: ../vines/vines.lua +msgid "Willow Vines" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 1" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 2" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 3" +msgstr "" + +#: ../woodsoils/nodes.lua +msgid "Forest Soil 4" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Bamboo Tree" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree 2 (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (top)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (middle)" +msgstr "" + +#: ../youngtrees/init.lua +msgid "Young Tree (bottom)" +msgstr "" diff --git a/plantlife_i18n/tools/updatepo.sh b/plantlife_i18n/tools/updatepo.sh new file mode 100755 index 0000000..52de990 --- /dev/null +++ b/plantlife_i18n/tools/updatepo.sh @@ -0,0 +1,24 @@ +#! /bin/bash + +# To create a new translation: +# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot + +cd "$(dirname "${BASH_SOURCE[0]}")/.."; + +# Extract translatable strings. +xgettext --from-code=UTF-8 \ + --language=Lua \ + --sort-by-file \ + --keyword=S \ + --keyword=NS:1,2 \ + --keyword=N_ \ + --add-comments='Translators:' \ + --add-location=file \ + -o locale/template.pot \ + $(find .. -name '*.lua') + +# Update translations. +find locale -name '*.po' | while read -r file; do + echo $file + msgmerge --update $file locale/template.pot; +done diff --git a/poisonivy/depends.txt b/poisonivy/depends.txt index 249cc74..803e7c8 100644 --- a/poisonivy/depends.txt +++ b/poisonivy/depends.txt @@ -1,2 +1,2 @@ biome_lib - +plantlife_i18n diff --git a/poisonivy/init.lua b/poisonivy/init.lua index 466b930..af82b0c 100644 --- a/poisonivy/init.lua +++ b/poisonivy/init.lua @@ -1,7 +1,8 @@ -- This file supplies poison ivy for the plantlife modpack -- Last revision: 2013-01-24 -local S = biome_lib.intllib +-- support for i18n +local S = plantlife_i18n.gettext local SPAWN_DELAY = 1000 local SPAWN_CHANCE = 200 diff --git a/poisonivy/locale/de.txt b/poisonivy/locale/de.txt deleted file mode 100644 index 5c099ce..0000000 --- a/poisonivy/locale/de.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Translation by Xanthin - -Poison ivy (seedling) = Giftefeu (Saemling) -Poison ivy (sproutling) = Giftefeu (Sproessling) -Poison ivy (climbing plant) = Giftefeu (Kletterpflanze) - -[Poison Ivy] Loaded. = [Poison Ivy] Geladen. diff --git a/poisonivy/locale/fr.txt b/poisonivy/locale/fr.txt deleted file mode 100644 index f033dc3..0000000 --- a/poisonivy/locale/fr.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Template - -Poison ivy (seedling) = Sumac vénéneux (semis) -Poison ivy (sproutling) = Sumac vénéneux (pousse) -Poison ivy (climbing plant) = Sumac vénéneux (grimpant) - -[Poison Ivy] Loaded. = [Sumac vénéneux] Chargé. diff --git a/poisonivy/locale/template.txt b/poisonivy/locale/template.txt deleted file mode 100644 index 35fb12d..0000000 --- a/poisonivy/locale/template.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Template - -Poison ivy (seedling) = -Poison ivy (sproutling) = -Poison ivy (climbing plant) = - -[Poison Ivy] Loaded. = diff --git a/poisonivy/locale/tr.txt b/poisonivy/locale/tr.txt deleted file mode 100644 index a7a5b69..0000000 --- a/poisonivy/locale/tr.txt +++ /dev/null @@ -1,7 +0,0 @@ -# Turkish translation by mahmutelmas06 - -Poison ivy (seedling) = Sarmaşık (Fidan) -Poison ivy (sproutling) = Sarmaşık (Filiz) -Poison ivy (climbing plant) = Sarmaşık (Dolanan) - -[Poison Ivy] Loaded. = Sarmaşık yüklendi diff --git a/trunks/depends.txt b/trunks/depends.txt index 99cfba1..dd4373b 100644 --- a/trunks/depends.txt +++ b/trunks/depends.txt @@ -1,6 +1,7 @@ default biome_lib +plantlife_i18n bushes? ferns? moretrees? -trees? \ No newline at end of file +trees? diff --git a/trunks/init.lua b/trunks/init.lua index ee9427d..899f6a9 100644 --- a/trunks/init.lua +++ b/trunks/init.lua @@ -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...") ------------------------------------------------------------------------------------------------ \ No newline at end of file +----------------------------------------------------------------------------------------------- diff --git a/trunks/nodes.lua b/trunks/nodes.lua index dcf4392..d77ee0a 100644 --- a/trunks/nodes.lua +++ b/trunks/nodes.lua @@ -1,4 +1,6 @@ -- Code by Mossmanikin & Neuromancer +-- support for i18n +local S = plantlife_i18n.gettext ----------------------------------------------------------------------------------------------- -- TWiGS ----------------------------------------------------------------------------------------------- @@ -13,11 +15,11 @@ for i in pairs(NoDe) do local NR = NoDe[i][1] local iNV = NR - 1 minetest.register_node("trunks:twig_"..NR, { - description = "Twig", + description = S("Twig"), inventory_image = "trunks_twig_"..NR..".png", wield_image = "trunks_twig_"..NR..".png", drawtype = "nodebox", - tiles = { + tiles = { "trunks_twig_"..NR..".png", "trunks_twig_"..NR..".png^[transformFY", -- mirror "trunks_twig_6.png" -- empty @@ -58,7 +60,7 @@ end local flat_moss = {-1/2, -1/2, -1/2, 1/2, -15/32--[[<-flickers if smaller]], 1/2} minetest.register_node("trunks:moss", { - description = "Moss", + description = S("Moss"), drawtype = "nodebox",--"signlike", tiles = {"trunks_moss.png"}, inventory_image = "trunks_moss.png", @@ -77,7 +79,7 @@ minetest.register_node("trunks:moss", { -- MoSS & FuNGuS ----------------------------------------------------------------------------------------------- minetest.register_node("trunks:moss_fungus", { - description = "Moss with Fungus", + description = S("Moss with Fungus"), drawtype = "nodebox",--"signlike", tiles = {"trunks_moss_fungus.png"}, inventory_image = "trunks_moss_fungus.png", @@ -98,7 +100,7 @@ minetest.register_node("trunks:moss_fungus", { minetest.register_alias("woodstuff:twigs", "trunks:twigs") minetest.register_node("trunks:twigs", { - description = "Twigs Block", + description = S("Twigs Block"), paramtype2 = "facedir", tiles = {"trunks_twigs.png"}, groups = {choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1}, @@ -111,7 +113,7 @@ minetest.register_node("trunks:twigs", { minetest.register_alias("woodstuff:twigs_slab", "trunks:twigs_slab") minetest.register_node("trunks:twigs_slab", { - description = "Twigs Slab", + description = S("Twigs Slab"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -130,7 +132,7 @@ minetest.register_node("trunks:twigs_slab", { minetest.register_alias("woodstuff:twigs_roof", "trunks:twigs_roof") minetest.register_node("trunks:twigs_roof", { - description = "Twigs Roof", + description = S("Twigs Roof"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -153,7 +155,7 @@ minetest.register_node("trunks:twigs_roof", { minetest.register_alias("woodstuff:twigs_roof_corner", "trunks:twigs_roof_corner") minetest.register_node("trunks:twigs_roof_corner", { - description = "Twigs Roof Corner 1", + description = S("Twigs Roof Corner 1"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -181,7 +183,7 @@ minetest.register_node("trunks:twigs_roof_corner", { minetest.register_alias("woodstuff:twigs_roof_corner_2", "trunks:twigs_roof_corner_2") minetest.register_node("trunks:twigs_roof_corner_2", { - description = "Twigs Roof Corner 2", + description = S("Twigs Roof Corner 2"), drawtype = "nodebox", paramtype = "light", paramtype2 = "facedir", @@ -214,7 +216,7 @@ if Auto_Roof_Corner == true then interval = 1, chance = 1, action = function(pos) - + local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z }) local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z }) local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1}) @@ -227,7 +229,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner, param2=0}) end - + if ((node_north.name == roof and node_north.param2 == 1) or (node_north.name == corner and node_north.param2 == 2)) and ((node_east.name == roof and node_east.param2 == 0) @@ -235,7 +237,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner, param2=1}) end - + if ((node_east.name == roof and node_east.param2 == 2) or (node_east.name == corner and node_east.param2 == 3)) and ((node_south.name == roof and node_south.param2 == 1) @@ -243,7 +245,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner, param2=2}) end - + if ((node_south.name == roof and node_south.param2 == 3) or (node_south.name == corner and node_south.param2 == 0)) and ((node_west.name == roof and node_west.param2 == 2) @@ -259,7 +261,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner_2, param2=0}) end - + if ((node_north.name == roof and node_north.param2 == 3) or (node_north.name == corner_2 and node_north.param2 == 2)) and ((node_east.name == roof and node_east.param2 == 2) @@ -267,7 +269,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner_2, param2=1}) end - + if ((node_east.name == roof and node_east.param2 == 0) or (node_east.name == corner_2 and node_east.param2 == 3)) and ((node_south.name == roof and node_south.param2 == 3) @@ -275,7 +277,7 @@ if Auto_Roof_Corner == true then then minetest.set_node(pos, {name=corner_2, param2=2}) end - + if ((node_south.name == roof and node_south.param2 == 1) or (node_south.name == corner_2 and node_south.param2 == 0)) and ((node_west.name == roof and node_west.param2 == 0) @@ -291,7 +293,7 @@ end -- MM: The following stuff is just for testing purposes for now; no generating of roots. -- I'm not satisfied with this; they should be either bigger or a different drawtype. ----------------------------------------------------------------------------------------------- --- RooTS +-- RooTS ----------------------------------------------------------------------------------------------- if Roots == true then -- see settings.txt @@ -332,7 +334,7 @@ for i in pairs(TRuNKS) do local des = node.description minetest.register_node("trunks:"..TRuNK.."root", { - description = des.." Root", + description = des.." "..S("Root"), paramtype = "light", paramtype2 = "facedir", tiles = { diff --git a/vines/.luacheckrc b/vines/.luacheckrc new file mode 100644 index 0000000..bf99780 --- /dev/null +++ b/vines/.luacheckrc @@ -0,0 +1,13 @@ + +unused_args = false + +read_globals = { + "minetest", + "default", + "ItemStack", + "biome_lib", +} + +globals = { + "vines", +} diff --git a/vines/README.md b/vines/README.md index 386dcae..89fdb27 100644 --- a/vines/README.md +++ b/vines/README.md @@ -47,7 +47,7 @@ table. |description| string|The vine's tooltip description| |average_length|int| The average length of vines| -For biome definitions please see the [biome_lib API documentation](https://github.com/VanessaE/biome_lib/blob/master/API.txt) +For biome definitions please see the [plants_lib API documentation](https://github.com/VanessaE/plantlife_modpack/blob/master/API.txt) ## Notice Vines use after_destruct on registered leave nodes to remove vines from which diff --git a/vines/bower.json b/vines/bower.json new file mode 100644 index 0000000..108a7c1 --- /dev/null +++ b/vines/bower.json @@ -0,0 +1,18 @@ +{ + "name": "vines", + "description": "Vines that spawn on trees and rope", + "keywords": [ + "vines", + "trees", + "rope", + "jungle" + ], + "homepage": "https://github.com/bas080/vines/", + "screenshots": [ + "https://raw.githubusercontent.com/bas080/vines/forum/screenshot.png" + ], + "authors": [ + "bas080" + ], + "license": "WTFPL" +} diff --git a/vines/crafts.lua b/vines/crafts.lua index 19e658b..80a6a65 100644 --- a/vines/crafts.lua +++ b/vines/crafts.lua @@ -1,3 +1,6 @@ +-- support for i18n +local S = plantlife_i18n.gettext + minetest.register_craft({ output = 'vines:rope_block', recipe = vines.recipes['rope_block'] @@ -9,6 +12,6 @@ minetest.register_craft({ }) minetest.register_craftitem("vines:vines", { - description = "Vines", + description = S("Vines"), inventory_image = "vines_item.png", }) diff --git a/vines/depends.txt b/vines/depends.txt index 573e6e1..eef2e6c 100644 --- a/vines/depends.txt +++ b/vines/depends.txt @@ -1,3 +1,4 @@ default biome_lib +plantlife_i18n moretrees? diff --git a/vines/description.txt b/vines/description.txt new file mode 100644 index 0000000..3664f43 --- /dev/null +++ b/vines/description.txt @@ -0,0 +1 @@ +Adds climbable vines that are spawned on trees. diff --git a/vines/functions.lua b/vines/functions.lua index 26e7cc4..2d2f529 100644 --- a/vines/functions.lua +++ b/vines/functions.lua @@ -1,5 +1,7 @@ +-- support for i18n +local S = plantlife_i18n.gettext + vines.register_vine = function( name, defs, biome ) - local biome = biome local groups = { vines=1, snappy=3, flammable=2 } local vine_name_end = 'vines:'..name..'_end' @@ -61,9 +63,8 @@ vines.register_vine = function( name, defs, biome ) end }) - minetest.register_node( vine_name_middle, { - description = "Matured "..defs.description, + description = S("Matured").." "..defs.description, walkable = false, climbable = true, drop = "", @@ -79,12 +80,9 @@ vines.register_vine = function( name, defs, biome ) sounds = default.node_sound_leaves_defaults(), selection_box = selection_box, on_destruct = function( pos ) - local node = minetest.get_node( pos ) local bottom = {x=pos.x, y=pos.y-1, z=pos.z} local bottom_node = minetest.get_node( bottom ) if minetest.get_item_group( bottom_node.name, "vines") > 0 then - -- Calling `remove_node` directly would cause - -- a stack overflow for really long vines. minetest.after( 0, minetest.remove_node, bottom ) end end, @@ -95,12 +93,12 @@ vines.register_vine = function( name, defs, biome ) biome_lib:spawn_on_surfaces( biome ) - local override_nodes = function( nodes, defs ) - local function override( index, registered ) + local override_nodes = function( nodes, def ) + local function override( index, registered ) local node = nodes[ index ] if index > #nodes then return registered end if minetest.registered_nodes[node] then - minetest.override_item( node, defs ) + minetest.override_item( node, def ) registered[#registered+1] = node end override( index+1, registered ) @@ -109,7 +107,7 @@ vines.register_vine = function( name, defs, biome ) end override_nodes( biome.spawn_surfaces,{ - after_destruct = function( pos ) + on_destruct = function( pos ) local pos_min = { x = pos.x -1, y = pos.y - 1, z = pos.z - 1 } local pos_max = { x = pos.x +1, y = pos.y + 1, z = pos.z + 1 } local positions = minetest.find_nodes_in_area( pos_min, pos_max, "group:vines" ) @@ -125,7 +123,7 @@ vines.dig_vine = function( pos, node_name, user ) --only dig give the vine if shears are used if not user then return false end local wielded = user:get_wielded_item() - if 'vines:shears' == wielded:get_name() then + if 'vines:shears' == wielded:get_name() then local inv = user:get_inventory() if inv then inv:add_item("main", ItemStack( node_name )) diff --git a/vines/init.lua b/vines/init.lua index 72eda93..2abbda0 100644 --- a/vines/init.lua +++ b/vines/init.lua @@ -3,6 +3,9 @@ vines = { recipes = {} } +-- support for i18n +local S = plantlife_i18n.gettext + dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/aliases.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/recipes.lua" ) @@ -11,4 +14,4 @@ dofile( minetest.get_modpath( vines.name ) .. "/nodes.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" ) dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" ) -print("[Vines] Loaded!") +print(S("[Vines] Loaded!")) diff --git a/vines/mod.conf b/vines/mod.conf new file mode 100644 index 0000000..39ea365 --- /dev/null +++ b/vines/mod.conf @@ -0,0 +1,2 @@ + +name = vines diff --git a/vines/nodes.lua b/vines/nodes.lua index 9d7df00..4e4d707 100644 --- a/vines/nodes.lua +++ b/vines/nodes.lua @@ -1,5 +1,8 @@ +-- support for i18n +local S = plantlife_i18n.gettext + minetest.register_node("vines:rope_block", { - description = "Rope", + description = S("Rope"), sunlight_propagates = true, paramtype = "light", tiles = { @@ -30,7 +33,7 @@ minetest.register_node("vines:rope_block", { }) minetest.register_node("vines:rope", { - description = "Rope", + description = S("Rope"), walkable = false, climbable = true, sunlight_propagates = true, @@ -47,7 +50,7 @@ minetest.register_node("vines:rope", { }) minetest.register_node("vines:rope_end", { - description = "Rope", + description = S("Rope"), walkable = false, climbable = true, sunlight_propagates = true, @@ -58,7 +61,7 @@ minetest.register_node("vines:rope_end", { groups = {flammable=2, not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), after_place_node = function(pos) - yesh = {x = pos.x, y= pos.y-1, z=pos.z} + local yesh = {x = pos.x, y= pos.y-1, z=pos.z} minetest.add_node(yesh, {name="vines:rope"}) end, selection_box = { diff --git a/vines/recipes.lua b/vines/recipes.lua index d2b928a..d64dcea 100644 --- a/vines/recipes.lua +++ b/vines/recipes.lua @@ -1,12 +1,12 @@ vines.recipes['rope_block'] = { - {'', 'default:wood', ''}, + {'', 'group:wood', ''}, {'', 'group:vines', ''}, {'', 'group:vines', ''} } vines.recipes['shears'] = { {'', 'default:steel_ingot', ''}, - {'default:stick', 'default:wood', 'default:steel_ingot'}, - {'', '', 'default:stick'} + {'group:stick', 'group:wood', 'default:steel_ingot'}, + {'', '', 'group:stick'} } diff --git a/vines/screenshot.png b/vines/screenshot.png new file mode 100644 index 0000000..b386f69 Binary files /dev/null and b/vines/screenshot.png differ diff --git a/vines/shear.lua b/vines/shear.lua index e6d915a..6ce498e 100644 --- a/vines/shear.lua +++ b/vines/shear.lua @@ -1,5 +1,8 @@ +-- support for i18n +local S = plantlife_i18n.gettext + minetest.register_tool("vines:shears", { - description = "Shears", + description = S("Shears"), inventory_image = "vines_shears.png", wield_image = "vines_shears.png", stack_max = 1, @@ -8,8 +11,8 @@ minetest.register_tool("vines:shears", { full_punch_interval = 1.0, max_drop_level=0, groupcaps={ - snappy={times={[3]=0.2}, maxwear=0.05, maxlevel=3}, - wool={times={[3]=0.2}, maxwear=0.05, maxlevel=3} + snappy={times={[3]=0.2}, uses=60, maxlevel=3}, + wool={times={[3]=0.2}, uses=60, maxlevel=3} } }, }) diff --git a/vines/vines.lua b/vines/vines.lua index 82c5b2a..1643972 100644 --- a/vines/vines.lua +++ b/vines/vines.lua @@ -1,5 +1,8 @@ +-- support for i18n +local S = plantlife_i18n.gettext + vines.register_vine( 'root', { - description = "Roots", + description = S("Roots"), average_length = 9, },{ choose_random_wall = true, @@ -17,7 +20,7 @@ vines.register_vine( 'root', { }) vines.register_vine( 'vine', { - description = "Vines", + description = S("Vines"), average_length = 5, },{ choose_random_wall = true, @@ -26,6 +29,7 @@ vines.register_vine( 'vine', { spawn_delay = 500, spawn_chance = 100, spawn_surfaces = { + "default:leaves", "default:jungleleaves", "moretrees:jungletree_leaves_red", "moretrees:jungletree_leaves_yellow", @@ -37,16 +41,16 @@ vines.register_vine( 'vine', { }) vines.register_vine( 'side', { - description = "Vines", + description = S("Vines"), average_length = 6, },{ choose_random_wall = true, avoid_nodes = {"group:vines", "default:apple"}, - choose_random_wall = true, avoid_radius = 3, spawn_delay = 500, spawn_chance = 100, spawn_surfaces = { + "default:leaves", "default:jungleleaves", "moretrees:jungletree_leaves_red", "moretrees:jungletree_leaves_yellow", @@ -58,7 +62,7 @@ vines.register_vine( 'side', { }) vines.register_vine( "jungle", { - description = "Jungle Vines", + description = S("Jungle Vines"), average_length = 7, },{ choose_random_wall = true, @@ -85,7 +89,7 @@ vines.register_vine( "jungle", { }) vines.register_vine( 'willow', { - description = "Willow Vines", + description = S("Willow Vines"), average_length = 9, },{ choose_random_wall = true, diff --git a/woodsoils/depends.txt b/woodsoils/depends.txt index c95a2bf..961719e 100644 --- a/woodsoils/depends.txt +++ b/woodsoils/depends.txt @@ -1,7 +1,8 @@ default biome_lib +plantlife_i18n bushes? ferns? moretrees? trees? -trunks? \ No newline at end of file +trunks? diff --git a/woodsoils/init.lua b/woodsoils/init.lua index 9037d45..19ff61d 100644 --- a/woodsoils/init.lua +++ b/woodsoils/init.lua @@ -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...") ------------------------------------------------------------------------------------------------ \ No newline at end of file +----------------------------------------------------------------------------------------------- diff --git a/woodsoils/nodes.lua b/woodsoils/nodes.lua index e80c522..b236564 100644 --- a/woodsoils/nodes.lua +++ b/woodsoils/nodes.lua @@ -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 = { diff --git a/youngtrees/depends.txt b/youngtrees/depends.txt index 4e35179..d48236a 100644 --- a/youngtrees/depends.txt +++ b/youngtrees/depends.txt @@ -1,2 +1,3 @@ default -biome_lib \ No newline at end of file +biome_lib +plantlife_i18n diff --git a/youngtrees/init.lua b/youngtrees/init.lua index 183e86e..ddd4637 100644 --- a/youngtrees/init.lua +++ b/youngtrees/init.lua @@ -1,7 +1,10 @@ -abstract_youngtrees = {} +-- support for i18n +local S = plantlife_i18n.gettext + +abstract_youngtrees = {} minetest.register_node("youngtrees:bamboo", { - description = "Young Bamboo Tree", + description = S("Young Bamboo Tree"), drawtype="nodebox", tiles = {"bamboo.png"}, paramtype = "light", @@ -21,11 +24,11 @@ minetest.register_node("youngtrees:bamboo", { }) minetest.register_node("youngtrees:youngtree2_middle",{ - description = "Young Tree 2 (middle)", + description = S("Young Tree 2 (middle)"), drawtype="nodebox", tiles = {"youngtree2branch.png"}, inventory_image = "youngtree2branch.png", - wield_image = "youngtree2branch.png", + wield_image = "youngtree2branch.png", paramtype = "light", walkable = false, is_ground_content = true, @@ -43,7 +46,7 @@ minetest.register_node("youngtrees:youngtree2_middle",{ }) minetest.register_node("youngtrees:youngtree_top", { - description = "Young Tree (top)", + description = S("Young Tree (top)"), drawtype = "plantlike", tiles = {"youngtree16xa.png"}, inventory_image = "youngtree16xa.png", @@ -60,9 +63,9 @@ minetest.register_node("youngtrees:youngtree_top", { drop = 'trunks:twig_1' }) - + minetest.register_node("youngtrees:youngtree_middle", { - description = "Young Tree (middle)", + description = S("Young Tree (middle)"), drawtype = "plantlike", tiles = {"youngtree16xb.png"}, inventory_image = "youngtree16xb.png", @@ -80,9 +83,9 @@ minetest.register_node("youngtrees:youngtree_middle", { }) - + minetest.register_node("youngtrees:youngtree_bottom", { - description = "Young Tree (bottom)", + description = S("Young Tree (bottom)"), drawtype = "plantlike", tiles = {"youngtree16xc.png"}, inventory_image = "youngtree16xc.png", @@ -98,19 +101,19 @@ minetest.register_node("youngtrees:youngtree_bottom", { sounds = default.node_sound_leaves_defaults(), drop = 'trunks:twig_1' }) - - + + abstract_youngtrees.grow_youngtree = function(pos) - local height = math.random(1,3) + local height = math.random(1,3) abstract_youngtrees.grow_youngtree_node(pos,height) end abstract_youngtrees.grow_youngtree_node = function(pos, height) - - + + local right_here = {x=pos.x, y=pos.y+1, z=pos.z} local above_right_here = {x=pos.x, y=pos.y+2, z=pos.z} - + if minetest.get_node(right_here).name == "air" -- instead of check_air = true, or minetest.get_node(right_here).name == "default:junglegrass" then if height == 1 then @@ -119,20 +122,20 @@ abstract_youngtrees.grow_youngtree_node = function(pos, height) if height == 2 then minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"}) minetest.set_node(above_right_here, {name="youngtrees:youngtree_top"}) - end + end if height == 3 then local two_above_right_here = {x=pos.x, y=pos.y+3, z=pos.z} minetest.set_node(right_here, {name="youngtrees:youngtree_bottom"}) minetest.set_node(above_right_here, {name="youngtrees:youngtree_middle"}) minetest.set_node(two_above_right_here, {name="youngtrees:youngtree_top"}) - end + end end end biome_lib:register_generate_plant({ surface = { - "default:dirt_with_grass", + "default:dirt_with_grass", "stoneage:grass_with_silex", "sumpf:peat", "sumpf:sumpf" @@ -143,4 +146,4 @@ biome_lib:register_generate_plant({ plantlife_limit = -0.9, }, abstract_youngtrees.grow_youngtree -) +)