switch over to native translation system

This commit is contained in:
FaceDeer
2020-02-17 22:36:53 -07:00
parent a9559bcbcf
commit d59bc8d489
113 changed files with 984 additions and 4066 deletions

View File

@ -1,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
--stem
minetest.register_node("df_trees:black_cap_stem", {

View File

@ -6,9 +6,7 @@
-- High density wood
-- Depth 3
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
local spike_directions = {
{dir={x=0,y=0,z=1}, facedir=2},

View File

@ -4,9 +4,7 @@ if not minetest.get_modpath("doc") then
return
end
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
-- Trees
df_trees.doc.black_cap_desc = S("The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.")

View File

@ -5,9 +5,7 @@
-- Max trunk height 8
-- depth 1-2
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
minetest.register_node("df_trees:fungiwood", {
description = S("Fungiwood Stem"),

View File

@ -1,6 +1,5 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local modpath = minetest.get_modpath(minetest.get_current_modname())
local S = df_trees.S
--stem
minetest.register_node("df_trees:goblin_cap_stem", {
@ -131,10 +130,10 @@ minetest.register_craft({
burntime = 2,
})
local big_goblin_cap_schem = dofile(MP.."/schematics/goblin_cap_big.lua")
local big_goblin_cap_hut_schem = dofile(MP.."/schematics/goblin_cap_big_hut.lua")
local bigger_goblin_cap_schem = dofile(MP.."/schematics/goblin_cap_bigger.lua")
local bigger_goblin_cap_hut_schem = dofile(MP.."/schematics/goblin_cap_bigger_hut.lua")
local big_goblin_cap_schem = dofile(modpath.."/schematics/goblin_cap_big.lua")
local big_goblin_cap_hut_schem = dofile(modpath.."/schematics/goblin_cap_big_hut.lua")
local bigger_goblin_cap_schem = dofile(modpath.."/schematics/goblin_cap_bigger.lua")
local bigger_goblin_cap_hut_schem = dofile(modpath.."/schematics/goblin_cap_bigger_hut.lua")
-- The hut has a chest and furnace near pos, use this to initialize it
local chest_on_construct = minetest.registered_items["default:chest"].on_construct

View File

@ -1,5 +1,9 @@
df_trees = {}
local modname = minetest.get_current_modname()
df_trees.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
df_trees.node_sound_tree_soft_fungus_defaults = function(table)
table = table or {}
table.footstep = table.footstep or
@ -8,15 +12,12 @@ df_trees.node_sound_tree_soft_fungus_defaults = function(table)
return table
end
--grab a shorthand for the filepath of the mod
local modpath = minetest.get_modpath(minetest.get_current_modname())
--load companion lua files
dofile(modpath.."/config.lua")
dofile(modpath.."/doc.lua")
dofile(modpath.."/aliases.lua")
local S, NS = dofile(modpath.."/intllib.lua")
local S = df_trees.S
df_trees.register_all_stairs = function(name, override_def)
local mod = "df_trees"

View File

@ -1,45 +0,0 @@
-- Fallback functions for when `intllib` is not installed.
-- Code released under Unlicense <http://unlicense.org>.
-- 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

View File

@ -0,0 +1,94 @@
# textdomain: df_trees
@1 Slab=
@1 Spindlestem Cap=
@1 Spindlestem Extract=
@1 Stair=
A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=
Aside from the artistic applications of its particularly dark color, black cap wood is a long-burning fuel source that's as good as coal for some applications. Black cap gills are oily and make for excellent torch fuel.=
Black Cap=Cappello nero
Black Cap Gills=Lamelle di cappello nero
Black Cap Planks=Assi di cappello nero
Black Cap Spawn=Prole di cappello nero
Black Cap Stem=Gambo di cappello nero
Blood Thorn Planks=Assi di spina del sangue
Blood Thorn Spike=Spuntone di spina del sangue
Blood Thorn Stem=Gambo di spina del sangue
Blood thorns are the most vicious of underground flora, as befits their harsh environments. Found only in hot, dry caverns with sandy soil far from the surface world's organic bounty, blood thorns seek to supplement their nutrient supply with wickedly barbed hollow spines that actively drain fluids from whatever stray plant or creature they might impale.=
Cyan=
Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their glowing symbiotes can be extracted as a long-lived light source.=
Dead Blood Thorn Spike=Spuntone di spina del sangue morta
Dead Blood Thorn Stem=Gambo di spina del sangue morta
Fungiwood Planks=Assi di fungo di legno
Fungiwood Shelf=Mensola di fungo di legno
Fungiwood Spawn=Prole di fungo di legno
Fungiwood Stem=Gambo di fungo di legno
Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted lumber when cut. Fungiwood shelf is too fragile to be much use as anything other than fuel.=
Goblin Cap=Cappello di folletto
Goblin Cap Gills=Lamelle di cappello di folletto
Goblin Cap Planks=Assi di cappello di folletto
Goblin Cap Spawn=Prole di cappello di folletto
Goblin Cap Stem=Gambo di cappello di folletto
Goblin Cap Stem Planks=Assi di gambo di cappello di folletto
Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.=
Golden=
Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Their glowing symbiotes can be extracted as a strong and long-lived light source.=
Green=
Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=
Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).=
Living extract from the cap of a cyan Spindlestem.=
Living extract from the cap of a green Spindlestem.=
Living extract from the cap of a red Spindlestem.=
Living extract from the cap of a yellow Spindlestem.=
Massive but squat, mature goblin cap mushrooms are the size of small cottages.=
Nether Cap=Cappello del Nether
Nether Cap Gills=Lamelle di cappello del Nether
Nether Cap Planks=Assi di cappello del Nether
Nether Cap Spawn=Prole di cappello del Nether
Nether Cap Stem=Gambo di cappello del Nether
Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=
Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=
Red=
Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=
Spindlestem=
Spindlestem Spawn=Prole di albero delle spore
Spindlestems are too big to easily pluck by hand but too small to be called a proper tree. Nevertheless, they are a common and useful resource for underground travelers - particularly their glowing caps.=
Spore Tree Fruiting Body=Corpo fruttifero dell'albero delle spore
Spore Tree Hyphae=Ife di albero delle spore
Spore Tree Ladder=Ife di albero delle spore
Spore Tree Planks=Assi di albero delle spore
Spore Tree Spawn=Prole di albero delle spore
Spore Tree Stem=Gambo di albero delle spore
Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.=
Spore trees have a sturdy 'trunk' that supports a large spongy mesh of branching fibers, with embedded fruiting bodies that produce a copious amount of spores that gently rain down around the spore tree's base.=
The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a soft green due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a strong cyan due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms.=
The cap of a Spindlestem, uncontaminated by any symbiotic luminescent microorganisms.=
The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.=
The king of the fungi, tower cap mushrooms grow to immense proportions.=
The spikes of a blood thorn can actually remain living long after they're severed from their parent stalk, a testament to their tenacity. As long as they remain alive they will continue to actively drain anything they puncture, though they don't grow.=
The stem of a Spindlestem is surprisingly sturdy, and despite their thinness they can grow quite tall. They can be used as a wood substitute in many crafting recipes.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material. The fruiting body accumulates high-energy compounds that, when ignited, produce a vigorous detonation - a unique adaptation for spreading tunnel tube spawn through the still cavern air.=
These things are useless except as weak fuel for a fire.=
Thin, irregular layers of spore-producing 'shelves' surround the strong central stalk of the mighty Fungiwood.=
Torchspine=
Torchspine Ember=
Torchspine Tip=
Torchspines are strange organic formations that are alive only in a technical sense. They "feed" on volatile flammable vapors vented up through their structure, growing from combustion residue deposited at their tips.=
Tower Cap=Cappello a torre
Tower Cap Gills=Lamelle di cappello a torre
Tower Cap Planks=Assi di cappello a torre
Tower Cap Spawn=Prole di cappello a torre
Tower Cap Stem=Gambo di cappello a torre
Tower caps are an excellent source of wood.=
Tunnel Tube=Tubo di galleria
Tunnel Tube Fruiting Body=Corpo fruttifero del tubo di galleria
Tunnel Tube Plies=Strati di tubo di galleria
Tunnel Tube Spawn=Prole di tubo di galleria
Tunnel tubes are hollow, curved fungal growths that support a fruiting body.=
When harvested, the central stalk of a blood thorn can be cut into planks and used as wood. It has a purple-red hue that may or may not appeal, depending on one's artistic tastes.=
White=
##### not used anymore #####

View File

@ -1,474 +0,0 @@
# ITALIAN LOCALE FOR THE DFCAVERNS MODULE
# Copyright (C) 2017 FaceDeer <derksenmobile@gmail.com>
# This file is distributed under the same license as the DFCAVERNS package.
# Hamlet <h4mlet@riseup.net>, 2017.
#
msgid ""
msgstr ""
"Project-Id-Version: dfcaverns module's Italian locale\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-16 00:30-0700\n"
"PO-Revision-Date: 2017-08-17 23:01+0100\n"
"Last-Translator: H4mlet <h4mlet@riseup.net>\n"
"Language-Team: ITALIANO\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.6.10\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: df_trees\black_cap.lua:7
msgid "Black Cap Stem"
msgstr "Gambo di cappello nero"
#: df_trees\black_cap.lua:18
msgid "Black Cap"
msgstr "Cappello nero"
#: df_trees\black_cap.lua:29
msgid "Black Cap Gills"
msgstr "Lamelle di cappello nero"
#: df_trees\black_cap.lua:94
msgid "Black Cap Planks"
msgstr "Assi di cappello nero"
#: df_trees\black_cap.lua:135
msgid "Black Cap Spawn"
msgstr "Prole di cappello nero"
#: df_trees\blood_thorn.lua:32
msgid "Blood Thorn Stem"
msgstr "Gambo di spina del sangue"
#: df_trees\blood_thorn.lua:48
msgid "Dead Blood Thorn Stem"
msgstr "Gambo di spina del sangue morta"
#: df_trees\blood_thorn.lua:63
msgid "Blood Thorn Spike"
msgstr "Spuntone di spina del sangue"
#: df_trees\blood_thorn.lua:94
msgid "Dead Blood Thorn Spike"
msgstr "Spuntone di spina del sangue morta"
#: df_trees\blood_thorn.lua:138
msgid "Blood Thorn Planks"
msgstr "Assi di spina del sangue"
#: df_trees\doc.lua:12
msgid ""
"The dense black wood of these mushrooms is heavy and hard to work with, and "
"has few remarkable properties."
msgstr ""
#: df_trees\doc.lua:13
msgid ""
"Aside from the artistic applications of its particularly dark color, black "
"cap wood is a long-burning fuel source that's as good as coal for some "
"applications. Black cap gills are oily and make for excellent torch fuel."
msgstr ""
#: df_trees\doc.lua:15
msgid ""
"Blood thorns are the most vicious of underground flora, as befits their "
"harsh environments. Found only in hot, dry caverns with sandy soil far from "
"the surface world's organic bounty, blood thorns seek to supplement their "
"nutrient supply with wickedly barbed hollow spines that actively drain "
"fluids from whatever stray plant or creature they might impale."
msgstr ""
#: df_trees\doc.lua:16
msgid ""
"When harvested, the central stalk of a blood thorn can be cut into planks "
"and used as wood. It has a purple-red hue that may or may not appeal, "
"depending on one's artistic tastes."
msgstr ""
#: df_trees\doc.lua:17
msgid ""
"The spikes of a blood thorn can actually remain living long after they're "
"severed from their parent stalk, a testament to their tenacity. As long as "
"they remain alive they will continue to actively drain anything they "
"puncture, though they don't grow."
msgstr ""
#: df_trees\doc.lua:18
msgid ""
"Living blood thorn spikes remain harmful to creatures that touch them. If "
"killed by bright light, they cause only passive damage to creatures that "
"fall on them (as one would expect from an enormous spike)."
msgstr ""
#: df_trees\doc.lua:20
msgid ""
"Thin, irregular layers of spore-producing 'shelves' surround the strong "
"central stalk of the mighty Fungiwood."
msgstr ""
#: df_trees\doc.lua:21
msgid ""
"Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted "
"lumber when cut. Fungiwood shelf is too fragile to be much use as anything "
"other than fuel."
msgstr ""
#: df_trees\doc.lua:23
msgid ""
"Massive but squat, mature goblin cap mushrooms are the size of small "
"cottages."
msgstr ""
#: df_trees\doc.lua:24
msgid ""
"Goblin cap stem and cap material can be cut into wood of two different hues, "
"a subdued cream and a bright orange-red."
msgstr ""
#: df_trees\doc.lua:26
msgid ""
"Nether caps have an unusual biochemistry that allows them to somehow subsist "
"on ambient heat, in violation of all known laws of thermodynamics. They grow "
"deep underground in frigid, icy caverns that should by all rights be "
"volcanic."
msgstr ""
#: df_trees\doc.lua:27
msgid ""
"Nether cap wood, in addition to being a beautiful blue hue, retains the odd "
"heat-draining ability of living nether caps and is able to quickly freeze "
"nearby water solid."
msgstr ""
#: df_trees\doc.lua:29
msgid ""
"Spore trees have a sturdy 'trunk' that supports a large spongy mesh of "
"branching fibers, with embedded fruiting bodies that produce a copious "
"amount of spores that gently rain down around the spore tree's base."
msgstr ""
#: df_trees\doc.lua:30
msgid ""
"Spore tree trunks can be cut into pale woody planks. The branching fibers "
"and fruiting bodies are only useful as fuel."
msgstr ""
#: df_trees\doc.lua:32
msgid "The king of the fungi, tower cap mushrooms grow to immense proportions."
msgstr ""
#: df_trees\doc.lua:33
msgid "Tower caps are an excellent source of wood."
msgstr ""
#: df_trees\doc.lua:35
msgid ""
"Tunnel tubes are hollow, curved fungal growths that support a fruiting body."
msgstr ""
#: df_trees\doc.lua:37
msgid ""
"The trunk of a tunnel tube can be cut and processed to produce plywood-like "
"material. The fruiting body accumulates high-energy compounds that, when "
"ignited, produce a vigorous detonation - a unique adaptation for spreading "
"tunnel tube spawn through the still cavern air."
msgstr ""
#: df_trees\doc.lua:39
msgid ""
"The trunk of a tunnel tube can be cut and processed to produce plywood-like "
"material."
msgstr ""
#: df_trees\doc.lua:42
msgid ""
"Torchspines are strange organic formations that are alive only in a "
"technical sense. They \"feed\" on volatile flammable vapors vented up "
"through their structure, growing from combustion residue deposited at their "
"tips."
msgstr ""
#: df_trees\doc.lua:43
msgid ""
"A torchspine alternates between active and quiescent phases and emits dim "
"light when active. They can be harvested for torches, and their embers "
"sprout into new torchspines when placed on flammable surfaces."
msgstr ""
#: df_trees\doc.lua:45
msgid ""
"Spindlestems are too big to easily pluck by hand but too small to be called "
"a proper tree. Nevertheless, they are a common and useful resource for "
"underground travelers - particularly their glowing caps."
msgstr ""
#: df_trees\doc.lua:46
msgid ""
"The stem of a Spindlestem is surprisingly sturdy, and despite their thinness "
"they can grow quite tall. They can be used as a wood substitute in many "
"crafting recipes."
msgstr ""
#: df_trees\doc.lua:48
msgid ""
"The cap of a Spindlestem, uncontaminated by any symbiotic luminescent "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:49
msgid "These things are useless except as weak fuel for a fire."
msgstr ""
#: df_trees\doc.lua:51
msgid ""
"The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms."
msgstr ""
#: df_trees\doc.lua:52
msgid ""
"Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin "
"Caps. Their glowing symbiotes can be extracted as a long-lived light source, "
"though the glow is weak."
msgstr ""
#: df_trees\doc.lua:54
msgid ""
"The cap of a Spindlestem, glowing a soft green due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:55
msgid ""
"Green Spindlestems are a sign of nearby copper deposits. Their glowing "
"symbiotes can be extracted as a long-lived light source, though the glow is "
"not strong."
msgstr ""
#: df_trees\doc.lua:57
msgid ""
"The cap of a Spindlestem, glowing a strong cyan due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:58
msgid ""
"Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their "
"glowing symbiotes can be extracted as a long-lived light source."
msgstr ""
#: df_trees\doc.lua:60
msgid ""
"The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:61
msgid ""
"Golden Spindlestems are a sign of rare and magical mineral deposits nearby. "
"Their glowing symbiotes can be extracted as a strong and long-lived light "
"source."
msgstr ""
#: df_trees\doc.lua:64
msgid "Living extract from the cap of a red Spindlestem."
msgstr ""
#: df_trees\doc.lua:66
msgid "Living extract from the cap of a green Spindlestem."
msgstr ""
#: df_trees\doc.lua:68
msgid "Living extract from the cap of a cyan Spindlestem."
msgstr ""
#: df_trees\doc.lua:70
msgid "Living extract from the cap of a yellow Spindlestem."
msgstr ""
#: df_trees\fungiwood.lua:13
msgid "Fungiwood Stem"
msgstr "Gambo di fungo di legno"
#: df_trees\fungiwood.lua:34
msgid "Fungiwood Planks"
msgstr "Assi di fungo di legno"
#: df_trees\fungiwood.lua:69
msgid "Fungiwood Shelf"
msgstr "Mensola di fungo di legno"
#: df_trees\fungiwood.lua:107
msgid "Fungiwood Spawn"
msgstr "Prole di fungo di legno"
#: df_trees\goblin_cap.lua:7
msgid "Goblin Cap Stem"
msgstr "Gambo di cappello di folletto"
#: df_trees\goblin_cap.lua:18
msgid "Goblin Cap"
msgstr "Cappello di folletto"
#: df_trees\goblin_cap.lua:29
msgid "Goblin Cap Gills"
msgstr "Lamelle di cappello di folletto"
#: df_trees\goblin_cap.lua:77
msgid "Goblin Cap Planks"
msgstr "Assi di cappello di folletto"
#: df_trees\goblin_cap.lua:89
msgid "Goblin Cap Stem Planks"
msgstr "Assi di gambo di cappello di folletto"
#: df_trees\goblin_cap.lua:187
msgid "Goblin Cap Spawn"
msgstr "Prole di cappello di folletto"
#: df_trees\init.lua:53
msgid "@1 Stair"
msgstr ""
#: df_trees\init.lua:54
msgid "@1 Slab"
msgstr ""
#: df_trees\nether_cap.lua:7
msgid "Nether Cap Stem"
msgstr "Gambo di cappello del Nether"
#: df_trees\nether_cap.lua:18
msgid "Nether Cap"
msgstr "Cappello del Nether"
#: df_trees\nether_cap.lua:31
msgid "Nether Cap Gills"
msgstr "Lamelle di cappello del Nether"
#: df_trees\nether_cap.lua:80
msgid "Nether Cap Planks"
msgstr "Assi di cappello del Nether"
#: df_trees\nether_cap.lua:95
msgid "Nether Cap Spawn"
msgstr "Prole di cappello del Nether"
#: df_trees\spindlestem.lua:64
msgid "Spindlestem"
msgstr ""
#: df_trees\spindlestem.lua:97
msgid "@1 Spindlestem Cap"
msgstr ""
#: df_trees\spindlestem.lua:197
msgid "@1 Spindlestem Extract"
msgstr ""
#: df_trees\spindlestem.lua:238
#, fuzzy
msgid "Spindlestem Spawn"
msgstr "Prole di albero delle spore"
#: df_trees\spindlestem.lua:292
msgid "White"
msgstr ""
#: df_trees\spindlestem.lua:293
msgid "Red"
msgstr ""
#: df_trees\spindlestem.lua:294
msgid "Green"
msgstr ""
#: df_trees\spindlestem.lua:295
msgid "Cyan"
msgstr ""
#: df_trees\spindlestem.lua:296
msgid "Golden"
msgstr ""
#: df_trees\spore_tree.lua:14
msgid "Spore Tree Stem"
msgstr "Gambo di albero delle spore"
#: df_trees\spore_tree.lua:35
msgid "Spore Tree Planks"
msgstr "Assi di albero delle spore"
#: df_trees\spore_tree.lua:75
msgid "Spore Tree Hyphae"
msgstr "Ife di albero delle spore"
#: df_trees\spore_tree.lua:101
msgid "Spore Tree Fruiting Body"
msgstr "Corpo fruttifero dell'albero delle spore"
#: df_trees\spore_tree.lua:149
msgid "Spore Tree Spawn"
msgstr "Prole di albero delle spore"
#: df_trees\spore_tree.lua:323
#, fuzzy
msgid "Spore Tree Ladder"
msgstr "Ife di albero delle spore"
#: df_trees\torchspine.lua:58
#: df_trees\torchspine.lua:81
msgid "Torchspine Tip"
msgstr ""
#: df_trees\torchspine.lua:100
#: df_trees\torchspine.lua:126
#: df_trees\torchspine.lua:156
msgid "Torchspine"
msgstr ""
#: df_trees\torchspine.lua:185
msgid "Torchspine Ember"
msgstr ""
#: df_trees\tower_cap.lua:7
msgid "Tower Cap Stem"
msgstr "Gambo di cappello a torre"
#: df_trees\tower_cap.lua:18
msgid "Tower Cap"
msgstr "Cappello a torre"
#: df_trees\tower_cap.lua:29
msgid "Tower Cap Gills"
msgstr "Lamelle di cappello a torre"
#: df_trees\tower_cap.lua:77
msgid "Tower Cap Planks"
msgstr "Assi di cappello a torre"
#: df_trees\tower_cap.lua:118
msgid "Tower Cap Spawn"
msgstr "Prole di cappello a torre"
#: df_trees\tunnel_tube.lua:14
#: df_trees\tunnel_tube.lua:38
#: df_trees\tunnel_tube.lua:69
#: df_trees\tunnel_tube.lua:99
msgid "Tunnel Tube"
msgstr "Tubo di galleria"
#: df_trees\tunnel_tube.lua:145
msgid "Tunnel Tube Plies"
msgstr "Strati di tubo di galleria"
#: df_trees\tunnel_tube.lua:182
#: df_trees\tunnel_tube.lua:239
#: df_trees\tunnel_tube.lua:260
msgid "Tunnel Tube Fruiting Body"
msgstr "Corpo fruttifero del tubo di galleria"
#: df_trees\tunnel_tube.lua:292
msgid "Tunnel Tube Spawn"
msgstr "Prole di tubo di galleria"

View File

@ -1,471 +0,0 @@
# 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 <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-02-16 00:30-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: df_trees\black_cap.lua:7
msgid "Black Cap Stem"
msgstr ""
#: df_trees\black_cap.lua:18
msgid "Black Cap"
msgstr ""
#: df_trees\black_cap.lua:29
msgid "Black Cap Gills"
msgstr ""
#: df_trees\black_cap.lua:94
msgid "Black Cap Planks"
msgstr ""
#: df_trees\black_cap.lua:135
msgid "Black Cap Spawn"
msgstr ""
#: df_trees\blood_thorn.lua:32
msgid "Blood Thorn Stem"
msgstr ""
#: df_trees\blood_thorn.lua:48
msgid "Dead Blood Thorn Stem"
msgstr ""
#: df_trees\blood_thorn.lua:63
msgid "Blood Thorn Spike"
msgstr ""
#: df_trees\blood_thorn.lua:94
msgid "Dead Blood Thorn Spike"
msgstr ""
#: df_trees\blood_thorn.lua:138
msgid "Blood Thorn Planks"
msgstr ""
#: df_trees\doc.lua:12
msgid ""
"The dense black wood of these mushrooms is heavy and hard to work with, and "
"has few remarkable properties."
msgstr ""
#: df_trees\doc.lua:13
msgid ""
"Aside from the artistic applications of its particularly dark color, black "
"cap wood is a long-burning fuel source that's as good as coal for some "
"applications. Black cap gills are oily and make for excellent torch fuel."
msgstr ""
#: df_trees\doc.lua:15
msgid ""
"Blood thorns are the most vicious of underground flora, as befits their "
"harsh environments. Found only in hot, dry caverns with sandy soil far from "
"the surface world's organic bounty, blood thorns seek to supplement their "
"nutrient supply with wickedly barbed hollow spines that actively drain "
"fluids from whatever stray plant or creature they might impale."
msgstr ""
#: df_trees\doc.lua:16
msgid ""
"When harvested, the central stalk of a blood thorn can be cut into planks "
"and used as wood. It has a purple-red hue that may or may not appeal, "
"depending on one's artistic tastes."
msgstr ""
#: df_trees\doc.lua:17
msgid ""
"The spikes of a blood thorn can actually remain living long after they're "
"severed from their parent stalk, a testament to their tenacity. As long as "
"they remain alive they will continue to actively drain anything they "
"puncture, though they don't grow."
msgstr ""
#: df_trees\doc.lua:18
msgid ""
"Living blood thorn spikes remain harmful to creatures that touch them. If "
"killed by bright light, they cause only passive damage to creatures that "
"fall on them (as one would expect from an enormous spike)."
msgstr ""
#: df_trees\doc.lua:20
msgid ""
"Thin, irregular layers of spore-producing 'shelves' surround the strong "
"central stalk of the mighty Fungiwood."
msgstr ""
#: df_trees\doc.lua:21
msgid ""
"Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted "
"lumber when cut. Fungiwood shelf is too fragile to be much use as anything "
"other than fuel."
msgstr ""
#: df_trees\doc.lua:23
msgid ""
"Massive but squat, mature goblin cap mushrooms are the size of small "
"cottages."
msgstr ""
#: df_trees\doc.lua:24
msgid ""
"Goblin cap stem and cap material can be cut into wood of two different hues, "
"a subdued cream and a bright orange-red."
msgstr ""
#: df_trees\doc.lua:26
msgid ""
"Nether caps have an unusual biochemistry that allows them to somehow subsist "
"on ambient heat, in violation of all known laws of thermodynamics. They grow "
"deep underground in frigid, icy caverns that should by all rights be "
"volcanic."
msgstr ""
#: df_trees\doc.lua:27
msgid ""
"Nether cap wood, in addition to being a beautiful blue hue, retains the odd "
"heat-draining ability of living nether caps and is able to quickly freeze "
"nearby water solid."
msgstr ""
#: df_trees\doc.lua:29
msgid ""
"Spore trees have a sturdy 'trunk' that supports a large spongy mesh of "
"branching fibers, with embedded fruiting bodies that produce a copious "
"amount of spores that gently rain down around the spore tree's base."
msgstr ""
#: df_trees\doc.lua:30
msgid ""
"Spore tree trunks can be cut into pale woody planks. The branching fibers "
"and fruiting bodies are only useful as fuel."
msgstr ""
#: df_trees\doc.lua:32
msgid "The king of the fungi, tower cap mushrooms grow to immense proportions."
msgstr ""
#: df_trees\doc.lua:33
msgid "Tower caps are an excellent source of wood."
msgstr ""
#: df_trees\doc.lua:35
msgid ""
"Tunnel tubes are hollow, curved fungal growths that support a fruiting body."
msgstr ""
#: df_trees\doc.lua:37
msgid ""
"The trunk of a tunnel tube can be cut and processed to produce plywood-like "
"material. The fruiting body accumulates high-energy compounds that, when "
"ignited, produce a vigorous detonation - a unique adaptation for spreading "
"tunnel tube spawn through the still cavern air."
msgstr ""
#: df_trees\doc.lua:39
msgid ""
"The trunk of a tunnel tube can be cut and processed to produce plywood-like "
"material."
msgstr ""
#: df_trees\doc.lua:42
msgid ""
"Torchspines are strange organic formations that are alive only in a "
"technical sense. They \"feed\" on volatile flammable vapors vented up "
"through their structure, growing from combustion residue deposited at their "
"tips."
msgstr ""
#: df_trees\doc.lua:43
msgid ""
"A torchspine alternates between active and quiescent phases and emits dim "
"light when active. They can be harvested for torches, and their embers "
"sprout into new torchspines when placed on flammable surfaces."
msgstr ""
#: df_trees\doc.lua:45
msgid ""
"Spindlestems are too big to easily pluck by hand but too small to be called "
"a proper tree. Nevertheless, they are a common and useful resource for "
"underground travelers - particularly their glowing caps."
msgstr ""
#: df_trees\doc.lua:46
msgid ""
"The stem of a Spindlestem is surprisingly sturdy, and despite their thinness "
"they can grow quite tall. They can be used as a wood substitute in many "
"crafting recipes."
msgstr ""
#: df_trees\doc.lua:48
msgid ""
"The cap of a Spindlestem, uncontaminated by any symbiotic luminescent "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:49
msgid "These things are useless except as weak fuel for a fire."
msgstr ""
#: df_trees\doc.lua:51
msgid ""
"The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms."
msgstr ""
#: df_trees\doc.lua:52
msgid ""
"Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin "
"Caps. Their glowing symbiotes can be extracted as a long-lived light source, "
"though the glow is weak."
msgstr ""
#: df_trees\doc.lua:54
msgid ""
"The cap of a Spindlestem, glowing a soft green due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:55
msgid ""
"Green Spindlestems are a sign of nearby copper deposits. Their glowing "
"symbiotes can be extracted as a long-lived light source, though the glow is "
"not strong."
msgstr ""
#: df_trees\doc.lua:57
msgid ""
"The cap of a Spindlestem, glowing a strong cyan due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:58
msgid ""
"Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their "
"glowing symbiotes can be extracted as a long-lived light source."
msgstr ""
#: df_trees\doc.lua:60
msgid ""
"The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic "
"microorganisms."
msgstr ""
#: df_trees\doc.lua:61
msgid ""
"Golden Spindlestems are a sign of rare and magical mineral deposits nearby. "
"Their glowing symbiotes can be extracted as a strong and long-lived light "
"source."
msgstr ""
#: df_trees\doc.lua:64
msgid "Living extract from the cap of a red Spindlestem."
msgstr ""
#: df_trees\doc.lua:66
msgid "Living extract from the cap of a green Spindlestem."
msgstr ""
#: df_trees\doc.lua:68
msgid "Living extract from the cap of a cyan Spindlestem."
msgstr ""
#: df_trees\doc.lua:70
msgid "Living extract from the cap of a yellow Spindlestem."
msgstr ""
#: df_trees\fungiwood.lua:13
msgid "Fungiwood Stem"
msgstr ""
#: df_trees\fungiwood.lua:34
msgid "Fungiwood Planks"
msgstr ""
#: df_trees\fungiwood.lua:69
msgid "Fungiwood Shelf"
msgstr ""
#: df_trees\fungiwood.lua:107
msgid "Fungiwood Spawn"
msgstr ""
#: df_trees\goblin_cap.lua:7
msgid "Goblin Cap Stem"
msgstr ""
#: df_trees\goblin_cap.lua:18
msgid "Goblin Cap"
msgstr ""
#: df_trees\goblin_cap.lua:29
msgid "Goblin Cap Gills"
msgstr ""
#: df_trees\goblin_cap.lua:77
msgid "Goblin Cap Planks"
msgstr ""
#: df_trees\goblin_cap.lua:89
msgid "Goblin Cap Stem Planks"
msgstr ""
#: df_trees\goblin_cap.lua:187
msgid "Goblin Cap Spawn"
msgstr ""
#: df_trees\init.lua:53
msgid "@1 Stair"
msgstr ""
#: df_trees\init.lua:54
msgid "@1 Slab"
msgstr ""
#: df_trees\nether_cap.lua:7
msgid "Nether Cap Stem"
msgstr ""
#: df_trees\nether_cap.lua:18
msgid "Nether Cap"
msgstr ""
#: df_trees\nether_cap.lua:31
msgid "Nether Cap Gills"
msgstr ""
#: df_trees\nether_cap.lua:80
msgid "Nether Cap Planks"
msgstr ""
#: df_trees\nether_cap.lua:95
msgid "Nether Cap Spawn"
msgstr ""
#: df_trees\spindlestem.lua:64
msgid "Spindlestem"
msgstr ""
#: df_trees\spindlestem.lua:97
msgid "@1 Spindlestem Cap"
msgstr ""
#: df_trees\spindlestem.lua:197
msgid "@1 Spindlestem Extract"
msgstr ""
#: df_trees\spindlestem.lua:238
msgid "Spindlestem Spawn"
msgstr ""
#: df_trees\spindlestem.lua:292
msgid "White"
msgstr ""
#: df_trees\spindlestem.lua:293
msgid "Red"
msgstr ""
#: df_trees\spindlestem.lua:294
msgid "Green"
msgstr ""
#: df_trees\spindlestem.lua:295
msgid "Cyan"
msgstr ""
#: df_trees\spindlestem.lua:296
msgid "Golden"
msgstr ""
#: df_trees\spore_tree.lua:14
msgid "Spore Tree Stem"
msgstr ""
#: df_trees\spore_tree.lua:35
msgid "Spore Tree Planks"
msgstr ""
#: df_trees\spore_tree.lua:75
msgid "Spore Tree Hyphae"
msgstr ""
#: df_trees\spore_tree.lua:101
msgid "Spore Tree Fruiting Body"
msgstr ""
#: df_trees\spore_tree.lua:149
msgid "Spore Tree Spawn"
msgstr ""
#: df_trees\spore_tree.lua:323
msgid "Spore Tree Ladder"
msgstr ""
#: df_trees\torchspine.lua:58
#: df_trees\torchspine.lua:81
msgid "Torchspine Tip"
msgstr ""
#: df_trees\torchspine.lua:100
#: df_trees\torchspine.lua:126
#: df_trees\torchspine.lua:156
msgid "Torchspine"
msgstr ""
#: df_trees\torchspine.lua:185
msgid "Torchspine Ember"
msgstr ""
#: df_trees\tower_cap.lua:7
msgid "Tower Cap Stem"
msgstr ""
#: df_trees\tower_cap.lua:18
msgid "Tower Cap"
msgstr ""
#: df_trees\tower_cap.lua:29
msgid "Tower Cap Gills"
msgstr ""
#: df_trees\tower_cap.lua:77
msgid "Tower Cap Planks"
msgstr ""
#: df_trees\tower_cap.lua:118
msgid "Tower Cap Spawn"
msgstr ""
#: df_trees\tunnel_tube.lua:14
#: df_trees\tunnel_tube.lua:38
#: df_trees\tunnel_tube.lua:69
#: df_trees\tunnel_tube.lua:99
msgid "Tunnel Tube"
msgstr ""
#: df_trees\tunnel_tube.lua:145
msgid "Tunnel Tube Plies"
msgstr ""
#: df_trees\tunnel_tube.lua:182
#: df_trees\tunnel_tube.lua:239
#: df_trees\tunnel_tube.lua:260
msgid "Tunnel Tube Fruiting Body"
msgstr ""
#: df_trees\tunnel_tube.lua:292
msgid "Tunnel Tube Spawn"
msgstr ""

View File

@ -0,0 +1,91 @@
@1 Slab=
@1 Spindlestem Cap=
@1 Spindlestem Extract=
@1 Stair=
A torchspine alternates between active and quiescent phases and emits dim light when active. They can be harvested for torches, and their embers sprout into new torchspines when placed on flammable surfaces.=
Aside from the artistic applications of its particularly dark color, black cap wood is a long-burning fuel source that's as good as coal for some applications. Black cap gills are oily and make for excellent torch fuel.=
Black Cap=
Black Cap Gills=
Black Cap Planks=
Black Cap Spawn=
Black Cap Stem=
Blood Thorn Planks=
Blood Thorn Spike=
Blood Thorn Stem=
Blood thorns are the most vicious of underground flora, as befits their harsh environments. Found only in hot, dry caverns with sandy soil far from the surface world's organic bounty, blood thorns seek to supplement their nutrient supply with wickedly barbed hollow spines that actively drain fluids from whatever stray plant or creature they might impale.=
Cyan=
Cyan Spindlestems are a sign of both copper and iron deposits nearby. Their glowing symbiotes can be extracted as a long-lived light source.=
Dead Blood Thorn Spike=
Dead Blood Thorn Stem=
Fungiwood Planks=
Fungiwood Shelf=
Fungiwood Spawn=
Fungiwood Stem=
Fungiwood stalk is strong and very fine-grained, making smooth yellow-tinted lumber when cut. Fungiwood shelf is too fragile to be much use as anything other than fuel.=
Goblin Cap=
Goblin Cap Gills=
Goblin Cap Planks=
Goblin Cap Spawn=
Goblin Cap Stem=
Goblin Cap Stem Planks=
Goblin cap stem and cap material can be cut into wood of two different hues, a subdued cream and a bright orange-red.=
Golden=
Golden Spindlestems are a sign of rare and magical mineral deposits nearby. Their glowing symbiotes can be extracted as a strong and long-lived light source.=
Green=
Green Spindlestems are a sign of nearby copper deposits. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is not strong.=
Living blood thorn spikes remain harmful to creatures that touch them. If killed by bright light, they cause only passive damage to creatures that fall on them (as one would expect from an enormous spike).=
Living extract from the cap of a cyan Spindlestem.=
Living extract from the cap of a green Spindlestem.=
Living extract from the cap of a red Spindlestem.=
Living extract from the cap of a yellow Spindlestem.=
Massive but squat, mature goblin cap mushrooms are the size of small cottages.=
Nether Cap=
Nether Cap Gills=
Nether Cap Planks=
Nether Cap Spawn=
Nether Cap Stem=
Nether cap wood, in addition to being a beautiful blue hue, retains the odd heat-draining ability of living nether caps and is able to quickly freeze nearby water solid.=
Nether caps have an unusual biochemistry that allows them to somehow subsist on ambient heat, in violation of all known laws of thermodynamics. They grow deep underground in frigid, icy caverns that should by all rights be volcanic.=
Red=
Red Spindlestems are a sign of nearby iron deposits - or perhaps Goblin Caps. Their glowing symbiotes can be extracted as a long-lived light source, though the glow is weak.=
Spindlestem=
Spindlestem Spawn=
Spindlestems are too big to easily pluck by hand but too small to be called a proper tree. Nevertheless, they are a common and useful resource for underground travelers - particularly their glowing caps.=
Spore Tree Fruiting Body=
Spore Tree Hyphae=
Spore Tree Ladder=
Spore Tree Planks=
Spore Tree Spawn=
Spore Tree Stem=
Spore tree trunks can be cut into pale woody planks. The branching fibers and fruiting bodies are only useful as fuel.=
Spore trees have a sturdy 'trunk' that supports a large spongy mesh of branching fibers, with embedded fruiting bodies that produce a copious amount of spores that gently rain down around the spore tree's base.=
The cap of a Spindlestem, glowing a brilliant yellow due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a soft green due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a strong cyan due to symbiotic microorganisms.=
The cap of a Spindlestem, glowing a weak red due to symbiotic microorganisms.=
The cap of a Spindlestem, uncontaminated by any symbiotic luminescent microorganisms.=
The dense black wood of these mushrooms is heavy and hard to work with, and has few remarkable properties.=
The king of the fungi, tower cap mushrooms grow to immense proportions.=
The spikes of a blood thorn can actually remain living long after they're severed from their parent stalk, a testament to their tenacity. As long as they remain alive they will continue to actively drain anything they puncture, though they don't grow.=
The stem of a Spindlestem is surprisingly sturdy, and despite their thinness they can grow quite tall. They can be used as a wood substitute in many crafting recipes.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material.=
The trunk of a tunnel tube can be cut and processed to produce plywood-like material. The fruiting body accumulates high-energy compounds that, when ignited, produce a vigorous detonation - a unique adaptation for spreading tunnel tube spawn through the still cavern air.=
These things are useless except as weak fuel for a fire.=
Thin, irregular layers of spore-producing 'shelves' surround the strong central stalk of the mighty Fungiwood.=
Torchspine=
Torchspine Ember=
Torchspine Tip=
Torchspines are strange organic formations that are alive only in a technical sense. They "feed" on volatile flammable vapors vented up through their structure, growing from combustion residue deposited at their tips.=
Tower Cap=
Tower Cap Gills=
Tower Cap Planks=
Tower Cap Spawn=
Tower Cap Stem=
Tower caps are an excellent source of wood.=
Tunnel Tube=
Tunnel Tube Fruiting Body=
Tunnel Tube Plies=
Tunnel Tube Spawn=
Tunnel tubes are hollow, curved fungal growths that support a fruiting body.=
When harvested, the central stalk of a blood thorn can be cut into planks and used as wood. It has a purple-red hue that may or may not appeal, depending on one's artistic tastes.=
White=

View File

@ -1,6 +0,0 @@
@echo off
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
cd ..
set LIST=
for /r %%X in (*.lua) do set LIST=!LIST! %%X
..\..\intllib\tools\xgettext.bat %LIST%

View File

@ -1,4 +1,4 @@
name = df_trees
description = Adds various types of underground fungal "trees". Light kills their saplings, they only grow in the dark.
depends = default
optional_depends = intllib, doc, moreblocks, stairs, vessels, basic_materials, farming, doors, beds, df_farming
optional_depends = doc, moreblocks, stairs, vessels, basic_materials, farming, doors, beds, df_farming

View File

@ -1,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
--stem
minetest.register_node("df_trees:nether_cap_stem", {

View File

@ -1,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
local vessels = minetest.get_modpath("vessels")

View File

@ -6,9 +6,7 @@
-- Max trunk height 5
-- depth 2-3
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
minetest.register_node("df_trees:spore_tree", {
description = S("Spore Tree Stem"),

View File

@ -1,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
-- Rather than make this whole mod depend on subterrane just for this, I copied and pasted a chunk of stalactite code.
local x_disp = 0.125

View File

@ -1,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
--stem
minetest.register_node("df_trees:tower_cap_stem", {

View File

@ -6,9 +6,7 @@
-- Max trunk height 8
-- depth 2-3
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_trees.S
minetest.register_node("df_trees:tunnel_tube", {
description = S("Tunnel Tube"),