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 = minetest.get_translator(minetest.get_current_modname())
local dungeon_loot_path = minetest.get_modpath("dungeon_loot")

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

@ -1,22 +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: 2019-08-07 00:58-0600\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"
#: bones_loot\init.lua:65
msgid "Someone's old bones"
msgstr ""

View File

@ -0,0 +1 @@
Someone's old bones=

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 = bones_loot
description = An API that allows bones to be placed procedurally with randomly generated loot
depends = bones
optional_depends = dungeon_loot, intllib, default
optional_depends = dungeon_loot, default

View File

@ -1,30 +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:22-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_caverns\underworld.lua:27
msgid "A glowing pit"
msgstr ""
#: df_caverns\underworld.lua:40
msgid "Mysterious seal"
msgstr ""
#: df_caverns\underworld.lua:63
msgid "Ancient ruin"
msgstr ""

View File

@ -0,0 +1,3 @@
A glowing pit=
Ancient ruin=
Mysterious seal=

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,9 +1,9 @@
if not df_caverns.config.enable_underworld or not minetest.get_modpath("df_underworld_items") then
return
end
local modpath = minetest.get_modpath(minetest.get_current_modname())
local S = minetest.get_translator("df_caverns")
local modname = minetest.get_current_modname()
local modpath = minetest.get_modpath(modname)
local S = minetest.get_translator(modname)
local bones_loot_path = minetest.get_modpath("bones_loot")
local named_waypoints_path = minetest.get_modpath("named_waypoints")

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_farming.S
local wheat_grow_time = df_farming.config.plant_growth_time * df_farming.config.cave_wheat_delay_multiplier / 8

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_farming.S
local register_cooking_recipes = function(def)
local prefix = def.prefix

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_farming.S
local dimple_grow_time = df_farming.config.plant_growth_time * df_farming.config.dimple_cup_delay_multiplier / 4

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_farming.S
df_farming.doc.simple_meal_desc = S("A meal made from the admixture of two ingredients, it keeps well but are not a rich source of nutrients.")
df_farming.doc.simple_meal_usage = nil

View File

@ -1,7 +1,8 @@
df_farming = {}
--grab a shorthand for the filepath of the mod
local modpath = minetest.get_modpath(minetest.get_current_modname())
local modname = minetest.get_current_modname()
df_farming.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
--load companion lua files
dofile(modpath.."/config.lua")

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,95 @@
# textdomain: df_farming
A crafting item that can be woven into textiles and other similar items.=
A meal made from the admixture of two ingredients, it keeps well but are not a rich source of nutrients.=
A meal made from three ingredients mixed together. They're more wholesome, packing more nutrition into a single serving.=
A rare breed of fungus from deep underground that produces a bushy cluster of rumpled gray 'blades'. The biological function of these blades is not known, as quarry bushes reproduce via hard-shelled nodules that grow down at the blade's base.=
A species of lavender mushroom ubiquitous in caves that is most notable for the soft bioluminescence it produces.=
Bread baked from cave wheat flour is tough and durable. A useful ration for long expeditions.=
Cave Straw=Grano di caverna
Cave Wheat=Grano di caverna
Cave Wheat Flour=Farina di grano di caverna
Cave Wheat Flour Biscuit=Farina di grano di caverna
Cave Wheat Flour Bun=Farina di grano di caverna
Cave Wheat Flour Pancake=Farina di grano di caverna
Cave Wheat Seed=Seme di grano di caverna
Cave Wheat Seed Loaf=Seme di grano di caverna
Cave Wheat Seed Puffs=Seme di grano di caverna
Cave Wheat Seed Risotto=Seme di grano di caverna
Cave wheat is literally a breed of grain-producing grass that somehow lost its ability to photosynthesize and adapted to a more fungal style of life.=
Cave wheat seed ground into a powder suitable for cooking.=
Cavern Fungi=Funghi di caverna
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead Fungus=Fungo morto
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
Dimple Cup=Coppa increspata
Dimple Cup Spore Flatbread=Spora di coppa increspata
Dimple Cup Spore Roll=Spora di coppa increspata
Dimple Cup Spore Scone=Spora di coppa increspata
Dimple Cup Spores=Spore di coppa increspata
Dimple cups can be dried, ground, and processed to extract a deep blue dye.=
Dwarven Bread=Pane nanico
Dwarven Syrup Bucket=Secchio di sciroppo nanico
Dwarven Syrup Delight=Secchio di sciroppo nanico
Dwarven Syrup Jellies=Sciroppo nanico
Dwarven Syrup Source=Fonte di sciroppo nanico
Dwarven Syrup Taffy=Sciroppo nanico
Flattened Cave Wheat=Grano di caverna
Flattened Pig Tail=Coda di maiale
Flowing Dwarven Syrup=Sciroppo nanico che scorre
Four finely minced ingredients combine into a fine, full meal.=
It's not tasty, but it keeps you going.=
Like its surface cousin, cave wheat produces grain that can be ground into a form of flour.=
Pig Tail=Coda di maiale
Pig Tail Spore=Spora di coda di maiale
Pig Tail Spore Casserole=Spora di coda di maiale
Pig Tail Spore Sandwich=Spora di coda di maiale
Pig Tail Spore Tofu=Spora di coda di maiale
Pig tail stalks can be processed to extract fibers useful as thread.=
Pig tail thread=Filo di coda di maiale
Pig tails are a fibrous fungal growth that's most notable for its twisting stalks. In a mature stand of pig tails the helical stalks intertwine into a dense mesh.=
Plump Helmet=Elmo rotondo
Plump Helmet Mince=Elmo rotondo
Plump Helmet Roast=Elmo rotondo
Plump Helmet Spawn=Prole di elmo rotondo
Plump Helmet Spawn Jambalaya=Prole di elmo rotondo
Plump Helmet Spawn Soup=Prole di elmo rotondo
Plump Helmet Sprout Stew=Prole di elmo rotondo
Plump Helmet Stalk Sausage=Prole di elmo rotondo
Plump helmets are a thick, fleshy mushroom that's edible picked straight from the ground. They form a staple diet for both lost cave explorers and the fauna that preys on them.=
Quarry Bush=Cespuglio di cava
Quarry Bush Leaf Croissant=Foglia di cespuglio di cava
Quarry Bush Leaf Spicy Bun=Foglia di cespuglio di cava
Quarry Bush Leaves=Foglie di cespuglio di cava
Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edible with processing.=
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Rock Nut Bread=Noce di roccia
Rock Nut Cake=Noce di roccia
Rock Nut Cookie=Noce di roccia
Rock Nuts=Noci di roccia
Stuffed Quarry Bush Leaf=Foglia di cespuglio di cava
Sweet Pod=Baccello dolce
Sweet Pod Spore Brule=Spora di baccello dolce
Sweet Pod Spore Dumplings=Spore di baccello dolce
Sweet Pod Spore Single Crust Pie=Spore di baccello dolce
Sweet Pod Spores=Spore di baccello dolce
Sweet Pod Sugar=Zucchero di baccello dolce
Sweet Pod Sugar Cookie=Zucchero di baccello dolce
Sweet Pod Sugar Gingerbread=Zucchero di baccello dolce
Sweet Pod Sugar Roll=Zucchero di baccello dolce
Sweet Pods=Baccelli dolci
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
Sweet pods grow in rich soil, and once they reach maturity they draw that supply of nutrients up to concentrate it in their fruiting bodies. They turn bright red when ripe and can be processed in a variety of ways to extract the sugars they contain.=
The distinctive midnight-blue caps of these mushrooms are inverted, exposing their gills to any breeze that might pass, and have dimpled edges that give them their name.=
The dried blades of a quarry bush add a welcome zing to recipes containing otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten on their own.=
This mushroom is inedible but continues producing modest levels of light long after it's picked.=
Threads of pig tail fiber.=
Too strong and thick to drink straight, sweet pod syrup is useful in food recipes.=
Too sweet to be eaten directly, it makes an excellent ingredient in food recipes.=
Whatever this fungus was in life, it is now dead.=
When baked alone it forms an edible bread, but it combines well with other more flavorful ingredients.=
When dried in an oven, sweet pods produce a granular sugary substance.=
When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=
##### not used anymore #####

View File

@ -1,485 +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:26-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_farming\cave_wheat.lua:10
#: df_farming\cave_wheat.lua:94
msgid "Cave Wheat"
msgstr "Grano di caverna"
#: df_farming\cave_wheat.lua:86
msgid "Cave Wheat Seed"
msgstr "Seme di grano di caverna"
#: df_farming\cave_wheat.lua:110
msgid "Cave Wheat Flour"
msgstr "Farina di grano di caverna"
#: df_farming\cave_wheat.lua:118
msgid "Dwarven Bread"
msgstr "Pane nanico"
#: df_farming\cave_wheat.lua:165
#, fuzzy
msgid "Cave Straw"
msgstr "Grano di caverna"
#: df_farming\cave_wheat.lua:194
#, fuzzy
msgid "Flattened Cave Wheat"
msgstr "Grano di caverna"
#: df_farming\cooking.lua:81
#, fuzzy
msgid "Cave Wheat Flour Biscuit"
msgstr "Farina di grano di caverna"
#: df_farming\cooking.lua:82
#, fuzzy
msgid "Cave Wheat Flour Bun"
msgstr "Farina di grano di caverna"
#: df_farming\cooking.lua:83
#, fuzzy
msgid "Cave Wheat Flour Pancake"
msgstr "Farina di grano di caverna"
#: df_farming\cooking.lua:86
#, fuzzy
msgid "Cave Wheat Seed Loaf"
msgstr "Seme di grano di caverna"
#: df_farming\cooking.lua:87
#, fuzzy
msgid "Cave Wheat Seed Puffs"
msgstr "Seme di grano di caverna"
#: df_farming\cooking.lua:88
#, fuzzy
msgid "Cave Wheat Seed Risotto"
msgstr "Seme di grano di caverna"
#: df_farming\cooking.lua:91
#, fuzzy
msgid "Sweet Pod Spore Dumplings"
msgstr "Spore di baccello dolce"
#: df_farming\cooking.lua:92
#, fuzzy
msgid "Sweet Pod Spore Single Crust Pie"
msgstr "Spore di baccello dolce"
#: df_farming\cooking.lua:93
#, fuzzy
msgid "Sweet Pod Spore Brule"
msgstr "Spora di baccello dolce"
#: df_farming\cooking.lua:96
#, fuzzy
msgid "Sweet Pod Sugar Cookie"
msgstr "Zucchero di baccello dolce"
#: df_farming\cooking.lua:97
#, fuzzy
msgid "Sweet Pod Sugar Gingerbread"
msgstr "Zucchero di baccello dolce"
#: df_farming\cooking.lua:98
#, fuzzy
msgid "Sweet Pod Sugar Roll"
msgstr "Zucchero di baccello dolce"
#: df_farming\cooking.lua:101
#, fuzzy
msgid "Plump Helmet Mince"
msgstr "Elmo rotondo"
#: df_farming\cooking.lua:102
#, fuzzy
msgid "Plump Helmet Stalk Sausage"
msgstr "Prole di elmo rotondo"
#: df_farming\cooking.lua:103
#, fuzzy
msgid "Plump Helmet Roast"
msgstr "Elmo rotondo"
#: df_farming\cooking.lua:106
#, fuzzy
msgid "Plump Helmet Spawn Soup"
msgstr "Prole di elmo rotondo"
#: df_farming\cooking.lua:107
#, fuzzy
msgid "Plump Helmet Spawn Jambalaya"
msgstr "Prole di elmo rotondo"
#: df_farming\cooking.lua:108
#, fuzzy
msgid "Plump Helmet Sprout Stew"
msgstr "Prole di elmo rotondo"
#: df_farming\cooking.lua:111
#, fuzzy
msgid "Quarry Bush Leaf Spicy Bun"
msgstr "Foglia di cespuglio di cava"
#: df_farming\cooking.lua:112
#, fuzzy
msgid "Quarry Bush Leaf Croissant"
msgstr "Foglia di cespuglio di cava"
#: df_farming\cooking.lua:113
#, fuzzy
msgid "Stuffed Quarry Bush Leaf"
msgstr "Foglia di cespuglio di cava"
#: df_farming\cooking.lua:116
#, fuzzy
msgid "Rock Nut Bread"
msgstr "Noce di roccia"
#: df_farming\cooking.lua:117
#, fuzzy
msgid "Rock Nut Cookie"
msgstr "Noce di roccia"
#: df_farming\cooking.lua:118
#, fuzzy
msgid "Rock Nut Cake"
msgstr "Noce di roccia"
#: df_farming\cooking.lua:121
#, fuzzy
msgid "Dimple Cup Spore Flatbread"
msgstr "Spora di coppa increspata"
#: df_farming\cooking.lua:122
#, fuzzy
msgid "Dimple Cup Spore Scone"
msgstr "Spora di coppa increspata"
#: df_farming\cooking.lua:123
#, fuzzy
msgid "Dimple Cup Spore Roll"
msgstr "Spora di coppa increspata"
#: df_farming\cooking.lua:126
#, fuzzy
msgid "Pig Tail Spore Sandwich"
msgstr "Spora di coda di maiale"
#: df_farming\cooking.lua:127
#, fuzzy
msgid "Pig Tail Spore Tofu"
msgstr "Spora di coda di maiale"
#: df_farming\cooking.lua:128
#, fuzzy
msgid "Pig Tail Spore Casserole"
msgstr "Spora di coda di maiale"
#: df_farming\cooking.lua:131
#, fuzzy
msgid "Dwarven Syrup Taffy"
msgstr "Sciroppo nanico"
#: df_farming\cooking.lua:132
#, fuzzy
msgid "Dwarven Syrup Jellies"
msgstr "Sciroppo nanico"
#: df_farming\cooking.lua:133
#, fuzzy
msgid "Dwarven Syrup Delight"
msgstr "Secchio di sciroppo nanico"
#: df_farming\dimple_cup.lua:10
msgid "Dimple Cup"
msgstr "Coppa increspata"
#: df_farming\dimple_cup.lua:75
msgid "Dimple Cup Spores"
msgstr "Spore di coppa increspata"
#: df_farming\doc.lua:11
msgid ""
"A meal made from the admixture of two ingredients, it keeps well but are not "
"a rich source of nutrients."
msgstr ""
#: df_farming\doc.lua:13
msgid ""
"A meal made from three ingredients mixed together. They're more wholesome, "
"packing more nutrition into a single serving."
msgstr ""
#: df_farming\doc.lua:15
msgid "Four finely minced ingredients combine into a fine, full meal."
msgstr ""
#: df_farming\doc.lua:21
msgid "Whatever this fungus was in life, it is now dead."
msgstr ""
#: df_farming\doc.lua:22
msgid ""
"Dead fungus quickly decays into an unrecognizable mess. It can be used as "
"weak fuel or terrible decor."
msgstr ""
#: df_farming\doc.lua:24
msgid ""
"A species of lavender mushroom ubiquitous in caves that is most notable for "
"the soft bioluminescence it produces."
msgstr ""
#: df_farming\doc.lua:25
msgid ""
"This mushroom is inedible but continues producing modest levels of light "
"long after it's picked."
msgstr ""
#: df_farming\doc.lua:27
msgid ""
"Cave wheat is literally a breed of grain-producing grass that somehow lost "
"its ability to photosynthesize and adapted to a more fungal style of life."
msgstr ""
#: df_farming\doc.lua:28
msgid ""
"Like its surface cousin, cave wheat produces grain that can be ground into a "
"form of flour."
msgstr ""
#: df_farming\doc.lua:29
msgid "Cave wheat seed ground into a powder suitable for cooking."
msgstr ""
#: df_farming\doc.lua:30
msgid ""
"When baked alone it forms an edible bread, but it combines well with other "
"more flavorful ingredients."
msgstr ""
#: df_farming\doc.lua:31
msgid ""
"Bread baked from cave wheat flour is tough and durable. A useful ration for "
"long expeditions."
msgstr ""
#: df_farming\doc.lua:32
msgid "It's not tasty, but it keeps you going."
msgstr ""
#: df_farming\doc.lua:34
msgid ""
"The distinctive midnight-blue caps of these mushrooms are inverted, exposing "
"their gills to any breeze that might pass, and have dimpled edges that give "
"them their name."
msgstr ""
#: df_farming\doc.lua:35
msgid ""
"Dimple cups can be dried, ground, and processed to extract a deep blue dye."
msgstr ""
#: df_farming\doc.lua:37
msgid ""
"Pig tails are a fibrous fungal growth that's most notable for its twisting "
"stalks. In a mature stand of pig tails the helical stalks intertwine into a "
"dense mesh."
msgstr ""
#: df_farming\doc.lua:38
msgid "Pig tail stalks can be processed to extract fibers useful as thread."
msgstr ""
#: df_farming\doc.lua:39
msgid "Threads of pig tail fiber."
msgstr ""
#: df_farming\doc.lua:40
msgid ""
"A crafting item that can be woven into textiles and other similar items."
msgstr ""
#: df_farming\doc.lua:42
msgid ""
"Plump helmets are a thick, fleshy mushroom that's edible picked straight "
"from the ground. They form a staple diet for both lost cave explorers and "
"the fauna that preys on them."
msgstr ""
#: df_farming\doc.lua:43
msgid ""
"While they can be eaten fresh, they can be monotonous fare and are perhaps "
"better appreciated as part of a more complex prepared dish."
msgstr ""
#: df_farming\doc.lua:45
msgid ""
"A rare breed of fungus from deep underground that produces a bushy cluster "
"of rumpled gray 'blades'. The biological function of these blades is not "
"known, as quarry bushes reproduce via hard-shelled nodules that grow down at "
"the blade's base."
msgstr ""
#: df_farming\doc.lua:46
msgid ""
"Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are "
"edible with processing."
msgstr ""
#: df_farming\doc.lua:47
msgid ""
"The dried blades of a quarry bush add a welcome zing to recipes containing "
"otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten "
"on their own."
msgstr ""
#: df_farming\doc.lua:48
msgid "Quarry bush leaves can be used as an ingredient in foodstuffs."
msgstr ""
#: df_farming\doc.lua:50
msgid ""
"Sweet pods grow in rich soil, and once they reach maturity they draw that "
"supply of nutrients up to concentrate it in their fruiting bodies. They turn "
"bright red when ripe and can be processed in a variety of ways to extract "
"the sugars they contain."
msgstr ""
#: df_farming\doc.lua:53
msgid "When milled, sweet pods produce a granular sugary substance."
msgstr ""
#: df_farming\doc.lua:55
msgid "When dried in an oven, sweet pods produce a granular sugary substance."
msgstr ""
#: df_farming\doc.lua:57
msgid "Crushing them in a bucket squeezes out a flavorful syrup."
msgstr ""
#: df_farming\doc.lua:59
msgid "Sweet pod sugar has a pink tint to it."
msgstr ""
#: df_farming\doc.lua:60
msgid ""
"Too sweet to be eaten directly, it makes an excellent ingredient in food "
"recipes."
msgstr ""
#: df_farming\doc.lua:61
msgid "Sweet pod syrup is thick and flavorful."
msgstr ""
#: df_farming\doc.lua:62
msgid ""
"Too strong and thick to drink straight, sweet pod syrup is useful in food "
"recipes."
msgstr ""
#: df_farming\pig_tail.lua:10
msgid "Pig Tail"
msgstr "Coda di maiale"
#: df_farming\pig_tail.lua:85
msgid "Pig Tail Spore"
msgstr "Spora di coda di maiale"
#: df_farming\pig_tail.lua:93
msgid "Pig tail thread"
msgstr "Filo di coda di maiale"
#: df_farming\pig_tail.lua:127
#, fuzzy
msgid "Flattened Pig Tail"
msgstr "Coda di maiale"
#: df_farming\plants.lua:10
msgid "Dead Fungus"
msgstr "Fungo morto"
#: df_farming\plants.lua:43
msgid "Cavern Fungi"
msgstr "Funghi di caverna"
#: df_farming\plump_helmet.lua:61
msgid "Plump Helmet Spawn"
msgstr "Prole di elmo rotondo"
#: df_farming\plump_helmet.lua:93
#: df_farming\plump_helmet.lua:133
#: df_farming\plump_helmet.lua:171
#: df_farming\plump_helmet.lua:209
#: df_farming\plump_helmet.lua:264
msgid "Plump Helmet"
msgstr "Elmo rotondo"
#: df_farming\quarry_bush.lua:10
msgid "Quarry Bush"
msgstr "Cespuglio di cava"
#: df_farming\quarry_bush.lua:82
msgid "Rock Nuts"
msgstr "Noci di roccia"
#: df_farming\quarry_bush.lua:91
msgid "Quarry Bush Leaves"
msgstr "Foglie di cespuglio di cava"
#: df_farming\sweet_pod.lua:10
msgid "Sweet Pod"
msgstr "Baccello dolce"
#: df_farming\sweet_pod.lua:81
msgid "Sweet Pod Spores"
msgstr "Spore di baccello dolce"
#: df_farming\sweet_pod.lua:89
msgid "Sweet Pods"
msgstr "Baccelli dolci"
#: df_farming\sweet_pod.lua:105
msgid "Sweet Pod Sugar"
msgstr "Zucchero di baccello dolce"
#: df_farming\sweet_pod.lua:145
msgid "Dwarven Syrup Source"
msgstr "Fonte di sciroppo nanico"
#: df_farming\sweet_pod.lua:193
msgid "Flowing Dwarven Syrup"
msgstr "Sciroppo nanico che scorre"
#: df_farming\sweet_pod.lua:246
msgid "Dwarven Syrup Bucket"
msgstr "Secchio di sciroppo nanico"
#~ msgid "@1 Biscuit"
#~ msgstr "Biscotto di @1"
#~ msgid "@1 Stew"
#~ msgstr "Stufato di @1"
#~ msgid "@1 Roast"
#~ msgstr "Arrosto di @1"

View File

@ -1,439 +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:26-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_farming\cave_wheat.lua:10
#: df_farming\cave_wheat.lua:94
msgid "Cave Wheat"
msgstr ""
#: df_farming\cave_wheat.lua:86
msgid "Cave Wheat Seed"
msgstr ""
#: df_farming\cave_wheat.lua:110
msgid "Cave Wheat Flour"
msgstr ""
#: df_farming\cave_wheat.lua:118
msgid "Dwarven Bread"
msgstr ""
#: df_farming\cave_wheat.lua:165
msgid "Cave Straw"
msgstr ""
#: df_farming\cave_wheat.lua:194
msgid "Flattened Cave Wheat"
msgstr ""
#: df_farming\cooking.lua:81
msgid "Cave Wheat Flour Biscuit"
msgstr ""
#: df_farming\cooking.lua:82
msgid "Cave Wheat Flour Bun"
msgstr ""
#: df_farming\cooking.lua:83
msgid "Cave Wheat Flour Pancake"
msgstr ""
#: df_farming\cooking.lua:86
msgid "Cave Wheat Seed Loaf"
msgstr ""
#: df_farming\cooking.lua:87
msgid "Cave Wheat Seed Puffs"
msgstr ""
#: df_farming\cooking.lua:88
msgid "Cave Wheat Seed Risotto"
msgstr ""
#: df_farming\cooking.lua:91
msgid "Sweet Pod Spore Dumplings"
msgstr ""
#: df_farming\cooking.lua:92
msgid "Sweet Pod Spore Single Crust Pie"
msgstr ""
#: df_farming\cooking.lua:93
msgid "Sweet Pod Spore Brule"
msgstr ""
#: df_farming\cooking.lua:96
msgid "Sweet Pod Sugar Cookie"
msgstr ""
#: df_farming\cooking.lua:97
msgid "Sweet Pod Sugar Gingerbread"
msgstr ""
#: df_farming\cooking.lua:98
msgid "Sweet Pod Sugar Roll"
msgstr ""
#: df_farming\cooking.lua:101
msgid "Plump Helmet Mince"
msgstr ""
#: df_farming\cooking.lua:102
msgid "Plump Helmet Stalk Sausage"
msgstr ""
#: df_farming\cooking.lua:103
msgid "Plump Helmet Roast"
msgstr ""
#: df_farming\cooking.lua:106
msgid "Plump Helmet Spawn Soup"
msgstr ""
#: df_farming\cooking.lua:107
msgid "Plump Helmet Spawn Jambalaya"
msgstr ""
#: df_farming\cooking.lua:108
msgid "Plump Helmet Sprout Stew"
msgstr ""
#: df_farming\cooking.lua:111
msgid "Quarry Bush Leaf Spicy Bun"
msgstr ""
#: df_farming\cooking.lua:112
msgid "Quarry Bush Leaf Croissant"
msgstr ""
#: df_farming\cooking.lua:113
msgid "Stuffed Quarry Bush Leaf"
msgstr ""
#: df_farming\cooking.lua:116
msgid "Rock Nut Bread"
msgstr ""
#: df_farming\cooking.lua:117
msgid "Rock Nut Cookie"
msgstr ""
#: df_farming\cooking.lua:118
msgid "Rock Nut Cake"
msgstr ""
#: df_farming\cooking.lua:121
msgid "Dimple Cup Spore Flatbread"
msgstr ""
#: df_farming\cooking.lua:122
msgid "Dimple Cup Spore Scone"
msgstr ""
#: df_farming\cooking.lua:123
msgid "Dimple Cup Spore Roll"
msgstr ""
#: df_farming\cooking.lua:126
msgid "Pig Tail Spore Sandwich"
msgstr ""
#: df_farming\cooking.lua:127
msgid "Pig Tail Spore Tofu"
msgstr ""
#: df_farming\cooking.lua:128
msgid "Pig Tail Spore Casserole"
msgstr ""
#: df_farming\cooking.lua:131
msgid "Dwarven Syrup Taffy"
msgstr ""
#: df_farming\cooking.lua:132
msgid "Dwarven Syrup Jellies"
msgstr ""
#: df_farming\cooking.lua:133
msgid "Dwarven Syrup Delight"
msgstr ""
#: df_farming\dimple_cup.lua:10
msgid "Dimple Cup"
msgstr ""
#: df_farming\dimple_cup.lua:75
msgid "Dimple Cup Spores"
msgstr ""
#: df_farming\doc.lua:11
msgid ""
"A meal made from the admixture of two ingredients, it keeps well but are not "
"a rich source of nutrients."
msgstr ""
#: df_farming\doc.lua:13
msgid ""
"A meal made from three ingredients mixed together. They're more wholesome, "
"packing more nutrition into a single serving."
msgstr ""
#: df_farming\doc.lua:15
msgid "Four finely minced ingredients combine into a fine, full meal."
msgstr ""
#: df_farming\doc.lua:21
msgid "Whatever this fungus was in life, it is now dead."
msgstr ""
#: df_farming\doc.lua:22
msgid ""
"Dead fungus quickly decays into an unrecognizable mess. It can be used as "
"weak fuel or terrible decor."
msgstr ""
#: df_farming\doc.lua:24
msgid ""
"A species of lavender mushroom ubiquitous in caves that is most notable for "
"the soft bioluminescence it produces."
msgstr ""
#: df_farming\doc.lua:25
msgid ""
"This mushroom is inedible but continues producing modest levels of light "
"long after it's picked."
msgstr ""
#: df_farming\doc.lua:27
msgid ""
"Cave wheat is literally a breed of grain-producing grass that somehow lost "
"its ability to photosynthesize and adapted to a more fungal style of life."
msgstr ""
#: df_farming\doc.lua:28
msgid ""
"Like its surface cousin, cave wheat produces grain that can be ground into a "
"form of flour."
msgstr ""
#: df_farming\doc.lua:29
msgid "Cave wheat seed ground into a powder suitable for cooking."
msgstr ""
#: df_farming\doc.lua:30
msgid ""
"When baked alone it forms an edible bread, but it combines well with other "
"more flavorful ingredients."
msgstr ""
#: df_farming\doc.lua:31
msgid ""
"Bread baked from cave wheat flour is tough and durable. A useful ration for "
"long expeditions."
msgstr ""
#: df_farming\doc.lua:32
msgid "It's not tasty, but it keeps you going."
msgstr ""
#: df_farming\doc.lua:34
msgid ""
"The distinctive midnight-blue caps of these mushrooms are inverted, exposing "
"their gills to any breeze that might pass, and have dimpled edges that give "
"them their name."
msgstr ""
#: df_farming\doc.lua:35
msgid ""
"Dimple cups can be dried, ground, and processed to extract a deep blue dye."
msgstr ""
#: df_farming\doc.lua:37
msgid ""
"Pig tails are a fibrous fungal growth that's most notable for its twisting "
"stalks. In a mature stand of pig tails the helical stalks intertwine into a "
"dense mesh."
msgstr ""
#: df_farming\doc.lua:38
msgid "Pig tail stalks can be processed to extract fibers useful as thread."
msgstr ""
#: df_farming\doc.lua:39
msgid "Threads of pig tail fiber."
msgstr ""
#: df_farming\doc.lua:40
msgid ""
"A crafting item that can be woven into textiles and other similar items."
msgstr ""
#: df_farming\doc.lua:42
msgid ""
"Plump helmets are a thick, fleshy mushroom that's edible picked straight "
"from the ground. They form a staple diet for both lost cave explorers and "
"the fauna that preys on them."
msgstr ""
#: df_farming\doc.lua:43
msgid ""
"While they can be eaten fresh, they can be monotonous fare and are perhaps "
"better appreciated as part of a more complex prepared dish."
msgstr ""
#: df_farming\doc.lua:45
msgid ""
"A rare breed of fungus from deep underground that produces a bushy cluster "
"of rumpled gray 'blades'. The biological function of these blades is not "
"known, as quarry bushes reproduce via hard-shelled nodules that grow down at "
"the blade's base."
msgstr ""
#: df_farming\doc.lua:46
msgid ""
"Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are "
"edible with processing."
msgstr ""
#: df_farming\doc.lua:47
msgid ""
"The dried blades of a quarry bush add a welcome zing to recipes containing "
"otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten "
"on their own."
msgstr ""
#: df_farming\doc.lua:48
msgid "Quarry bush leaves can be used as an ingredient in foodstuffs."
msgstr ""
#: df_farming\doc.lua:50
msgid ""
"Sweet pods grow in rich soil, and once they reach maturity they draw that "
"supply of nutrients up to concentrate it in their fruiting bodies. They turn "
"bright red when ripe and can be processed in a variety of ways to extract "
"the sugars they contain."
msgstr ""
#: df_farming\doc.lua:53
msgid "When milled, sweet pods produce a granular sugary substance."
msgstr ""
#: df_farming\doc.lua:55
msgid "When dried in an oven, sweet pods produce a granular sugary substance."
msgstr ""
#: df_farming\doc.lua:57
msgid "Crushing them in a bucket squeezes out a flavorful syrup."
msgstr ""
#: df_farming\doc.lua:59
msgid "Sweet pod sugar has a pink tint to it."
msgstr ""
#: df_farming\doc.lua:60
msgid ""
"Too sweet to be eaten directly, it makes an excellent ingredient in food "
"recipes."
msgstr ""
#: df_farming\doc.lua:61
msgid "Sweet pod syrup is thick and flavorful."
msgstr ""
#: df_farming\doc.lua:62
msgid ""
"Too strong and thick to drink straight, sweet pod syrup is useful in food "
"recipes."
msgstr ""
#: df_farming\pig_tail.lua:10
msgid "Pig Tail"
msgstr ""
#: df_farming\pig_tail.lua:85
msgid "Pig Tail Spore"
msgstr ""
#: df_farming\pig_tail.lua:93
msgid "Pig tail thread"
msgstr ""
#: df_farming\pig_tail.lua:127
msgid "Flattened Pig Tail"
msgstr ""
#: df_farming\plants.lua:10
msgid "Dead Fungus"
msgstr ""
#: df_farming\plants.lua:43
msgid "Cavern Fungi"
msgstr ""
#: df_farming\plump_helmet.lua:61
msgid "Plump Helmet Spawn"
msgstr ""
#: df_farming\plump_helmet.lua:93
#: df_farming\plump_helmet.lua:133
#: df_farming\plump_helmet.lua:171
#: df_farming\plump_helmet.lua:209
#: df_farming\plump_helmet.lua:264
msgid "Plump Helmet"
msgstr ""
#: df_farming\quarry_bush.lua:10
msgid "Quarry Bush"
msgstr ""
#: df_farming\quarry_bush.lua:82
msgid "Rock Nuts"
msgstr ""
#: df_farming\quarry_bush.lua:91
msgid "Quarry Bush Leaves"
msgstr ""
#: df_farming\sweet_pod.lua:10
msgid "Sweet Pod"
msgstr ""
#: df_farming\sweet_pod.lua:81
msgid "Sweet Pod Spores"
msgstr ""
#: df_farming\sweet_pod.lua:89
msgid "Sweet Pods"
msgstr ""
#: df_farming\sweet_pod.lua:105
msgid "Sweet Pod Sugar"
msgstr ""
#: df_farming\sweet_pod.lua:145
msgid "Dwarven Syrup Source"
msgstr ""
#: df_farming\sweet_pod.lua:193
msgid "Flowing Dwarven Syrup"
msgstr ""
#: df_farming\sweet_pod.lua:246
msgid "Dwarven Syrup Bucket"
msgstr ""

View File

@ -0,0 +1,92 @@
A crafting item that can be woven into textiles and other similar items.=
A meal made from the admixture of two ingredients, it keeps well but are not a rich source of nutrients.=
A meal made from three ingredients mixed together. They're more wholesome, packing more nutrition into a single serving.=
A rare breed of fungus from deep underground that produces a bushy cluster of rumpled gray 'blades'. The biological function of these blades is not known, as quarry bushes reproduce via hard-shelled nodules that grow down at the blade's base.=
A species of lavender mushroom ubiquitous in caves that is most notable for the soft bioluminescence it produces.=
Bread baked from cave wheat flour is tough and durable. A useful ration for long expeditions.=
Cave Straw=
Cave Wheat=
Cave Wheat Flour=
Cave Wheat Flour Biscuit=
Cave Wheat Flour Bun=
Cave Wheat Flour Pancake=
Cave Wheat Seed=
Cave Wheat Seed Loaf=
Cave Wheat Seed Puffs=
Cave Wheat Seed Risotto=
Cave wheat is literally a breed of grain-producing grass that somehow lost its ability to photosynthesize and adapted to a more fungal style of life.=
Cave wheat seed ground into a powder suitable for cooking.=
Cavern Fungi=
Crushing them in a bucket squeezes out a flavorful syrup.=
Dead Fungus=
Dead fungus quickly decays into an unrecognizable mess. It can be used as weak fuel or terrible decor.=
Dimple Cup=
Dimple Cup Spore Flatbread=
Dimple Cup Spore Roll=
Dimple Cup Spore Scone=
Dimple Cup Spores=
Dimple cups can be dried, ground, and processed to extract a deep blue dye.=
Dwarven Bread=
Dwarven Syrup Bucket=
Dwarven Syrup Delight=
Dwarven Syrup Jellies=
Dwarven Syrup Source=
Dwarven Syrup Taffy=
Flattened Cave Wheat=
Flattened Pig Tail=
Flowing Dwarven Syrup=
Four finely minced ingredients combine into a fine, full meal.=
It's not tasty, but it keeps you going.=
Like its surface cousin, cave wheat produces grain that can be ground into a form of flour.=
Pig Tail=
Pig Tail Spore=
Pig Tail Spore Casserole=
Pig Tail Spore Sandwich=
Pig Tail Spore Tofu=
Pig tail stalks can be processed to extract fibers useful as thread.=
Pig tail thread=
Pig tails are a fibrous fungal growth that's most notable for its twisting stalks. In a mature stand of pig tails the helical stalks intertwine into a dense mesh.=
Plump Helmet=
Plump Helmet Mince=
Plump Helmet Roast=
Plump Helmet Spawn=
Plump Helmet Spawn Jambalaya=
Plump Helmet Spawn Soup=
Plump Helmet Sprout Stew=
Plump Helmet Stalk Sausage=
Plump helmets are a thick, fleshy mushroom that's edible picked straight from the ground. They form a staple diet for both lost cave explorers and the fauna that preys on them.=
Quarry Bush=
Quarry Bush Leaf Croissant=
Quarry Bush Leaf Spicy Bun=
Quarry Bush Leaves=
Quarry bush leaves and nodules (called 'rock nuts') can be harvested and are edible with processing.=
Quarry bush leaves can be used as an ingredient in foodstuffs.=
Rock Nut Bread=
Rock Nut Cake=
Rock Nut Cookie=
Rock Nuts=
Stuffed Quarry Bush Leaf=
Sweet Pod=
Sweet Pod Spore Brule=
Sweet Pod Spore Dumplings=
Sweet Pod Spore Single Crust Pie=
Sweet Pod Spores=
Sweet Pod Sugar=
Sweet Pod Sugar Cookie=
Sweet Pod Sugar Gingerbread=
Sweet Pod Sugar Roll=
Sweet Pods=
Sweet pod sugar has a pink tint to it.=
Sweet pod syrup is thick and flavorful.=
Sweet pods grow in rich soil, and once they reach maturity they draw that supply of nutrients up to concentrate it in their fruiting bodies. They turn bright red when ripe and can be processed in a variety of ways to extract the sugars they contain.=
The distinctive midnight-blue caps of these mushrooms are inverted, exposing their gills to any breeze that might pass, and have dimpled edges that give them their name.=
The dried blades of a quarry bush add a welcome zing to recipes containing otherwise-bland subterranean foodstuffs, but they're too spicy to be eaten on their own.=
This mushroom is inedible but continues producing modest levels of light long after it's picked.=
Threads of pig tail fiber.=
Too strong and thick to drink straight, sweet pod syrup is useful in food recipes.=
Too sweet to be eaten directly, it makes an excellent ingredient in food recipes.=
Whatever this fungus was in life, it is now dead.=
When baked alone it forms an edible bread, but it combines well with other more flavorful ingredients.=
When dried in an oven, sweet pods produce a granular sugary substance.=
When milled, sweet pods produce a granular sugary substance.=
While they can be eaten fresh, they can be monotonous fare and are perhaps better appreciated as part of a more complex prepared dish.=

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_farming
description = Adds farmable underground plants that die in sunlight. Also includes various cooking reactions.
depends = default
optional_depends = farming, cottages, bucket, dynamic_liquid, wool, intllib, doc, crafting, trail
optional_depends = farming, cottages, bucket, dynamic_liquid, wool, doc, crafting, trail

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_farming.S
local pig_tail_grow_time = df_farming.config.plant_growth_time * df_farming.config.pig_tail_delay_multiplier / 8

View File

@ -1,11 +1,8 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_farming.S
-----------------------------------------------------------------------
-- Plants
minetest.register_node("df_farming:dead_fungus", {
description = S("Dead Fungus"),
_doc_items_longdesc = df_farming.doc.dead_fungus_desc,

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_farming.S
local displace_x = 0.125
local displace_z = 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_farming.S
local quarry_grow_time = df_farming.config.plant_growth_time * df_farming.config.quarry_bush_delay_multiplier / 5

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_farming.S
local sweet_pod_grow_time = df_farming.config.plant_growth_time * df_farming.config.sweet_pod_delay_multiplier / 6

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_mapitems.S
minetest.register_node("df_mapitems:castle_coral", {
description = S("Castle Coral"),

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_mapitems.S
minetest.register_node("df_mapitems:cave_coral_3", {
description = S("Cave Coral"),

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_mapitems.S
minetest.register_node("df_mapitems:cave_pearls", {
description = S("Cave Pearls"),

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_mapitems.S
--glowing mese crystal blocks
minetest.register_node("df_mapitems:glow_mese", {

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_mapitems.S
minetest.register_node("df_mapitems:glow_ruby_ore", {
description = S("Red Crystal Vein"),

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_mapitems.S
minetest.register_node("df_mapitems:salt_crystal", {
description = S("Luminous Salt Crystal"),

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_mapitems.S
df_mapitems.doc.cave_moss_desc = S("Cave moss is technically a form of mold, but fortunately a relatively benign one given its ubiquity. Its fibers form a tough but springy mat over the surface of any organic-rich soil that accumulates deep underground.")
df_mapitems.doc.cave_moss_usage = S("Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.")

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_mapitems.S
-----------------------------------------------

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_mapitems.S
local growth_multiplier = 1
if minetest.get_modpath("df_farming") then

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_mapitems.S
--------------------------------------------------
-- Cave moss

View File

@ -1,7 +1,8 @@
df_mapitems = {}
--grab a shorthand for the filepath of the mod
local modpath = minetest.get_modpath(minetest.get_current_modname())
local modname = minetest.get_current_modname()
df_mapitems.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
--load companion lua files
dofile(modpath.."/config.lua")

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,58 @@
# textdomain: df_mapitems
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Big Red Crystal=
Castle Coral=
Castle Coral Skeleton=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave Coral=
Cave Pearls=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
Cave moss is technically a form of mold, but fortunately a relatively benign one given its ubiquity. Its fibers form a tough but springy mat over the surface of any organic-rich soil that accumulates deep underground.=
Cobblestone with Floor Fungus=
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Dirt with Cave Moss=
Dirt with Cave Moss and Footprint=
Dry Dripstone=Trockener Tropfstein
Dry Flowstone=Trockener Fließstein
Falling onto an icicle is particularly damaging.=
Flawless Mese Block=
Flawless Mese Crystal=
Floor fungus has no known uses. It can penetrate deeply into cobblestone constructions if an infestation gets hold, but it is difficult to transport and is inhibited by light so it hasn't spread beyond the deep caverns.=
Floor fungus produces a thin, slick film that spreads through the cracks of broken rock. Its ability to subsist on the tiniest traces of nutrients means it's found in relatively harsh underground environments.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
Giant Red Crystal=
Glistening strings of silk hang from the ceilings of some of the larger caverns, lit by the millions of tiny bioluminescent worms that spun them. Glow worms prey on the insects they lure and entangle with their faux starry sky - and sometimes the occasional bat or other larger flying beast.=
Glow Worms=
Glow worms can be harvested and used as a source of light but they die when exposed to light significantly brighter than themselves or when immersed in water. A colony of glow worms hung in a hospitable environment will undergo a modest amount of growth, allowing it to be divided and propagated.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Ice with Hoar Moss=
Icicle=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Luminous Salt Crystal=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Red Crystal Vein=
Salty Cobble=
Snareweed=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
Veinstone=
Wet Dripstone=Nasser Tropfstein
Wet Flowstone=Nasser Fließstein
##### not used anymore #####

View File

@ -0,0 +1,58 @@
# textdomain: df_mapitems
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Big Red Crystal=
Castle Coral=
Castle Coral Skeleton=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave Coral=Grano di caverna
Cave Pearls=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
Cave moss is technically a form of mold, but fortunately a relatively benign one given its ubiquity. Its fibers form a tough but springy mat over the surface of any organic-rich soil that accumulates deep underground.=
Cobblestone with Floor Fungus=Ciottoli con funghi del terreno
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Dirt with Cave Moss=Terra con muschio di caverna
Dirt with Cave Moss and Footprint=Terra con muschio di caverna
Dry Dripstone=
Dry Flowstone=
Falling onto an icicle is particularly damaging.=
Flawless Mese Block=
Flawless Mese Crystal=
Floor fungus has no known uses. It can penetrate deeply into cobblestone constructions if an infestation gets hold, but it is difficult to transport and is inhibited by light so it hasn't spread beyond the deep caverns.=
Floor fungus produces a thin, slick film that spreads through the cracks of broken rock. Its ability to subsist on the tiniest traces of nutrients means it's found in relatively harsh underground environments.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
Giant Red Crystal=
Glistening strings of silk hang from the ceilings of some of the larger caverns, lit by the millions of tiny bioluminescent worms that spun them. Glow worms prey on the insects they lure and entangle with their faux starry sky - and sometimes the occasional bat or other larger flying beast.=
Glow Worms=Vermi luminosi
Glow worms can be harvested and used as a source of light but they die when exposed to light significantly brighter than themselves or when immersed in water. A colony of glow worms hung in a hospitable environment will undergo a modest amount of growth, allowing it to be divided and propagated.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Ice with Hoar Moss=
Icicle=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Luminous Salt Crystal=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Red Crystal Vein=
Salty Cobble=
Snareweed=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
Veinstone=
Wet Dripstone=
Wet Flowstone=
##### not used anymore #####

View File

@ -1,319 +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:29-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_mapitems\castle_coral.lua:6
msgid "Castle Coral"
msgstr ""
#: df_mapitems\castle_coral.lua:26
msgid "Castle Coral Skeleton"
msgstr ""
#: df_mapitems\cave_coral.lua:6
#: df_mapitems\cave_coral.lua:24
#: df_mapitems\cave_coral.lua:42
#, fuzzy
msgid "Cave Coral"
msgstr "Grano di caverna"
#: df_mapitems\cave_pearls.lua:6
msgid "Cave Pearls"
msgstr ""
#: df_mapitems\crystals_mese.lua:7
msgid "Flawless Mese Block"
msgstr ""
#: df_mapitems\crystals_mese.lua:29
msgid "Flawless Mese Crystal"
msgstr ""
#: df_mapitems\crystals_ruby.lua:6
msgid "Red Crystal Vein"
msgstr ""
#: df_mapitems\crystals_ruby.lua:16
#: df_mapitems\crystals_ruby.lua:73
#: df_mapitems\crystals_ruby.lua:162
msgid "Giant Red Crystal"
msgstr ""
#: df_mapitems\crystals_ruby.lua:44
#: df_mapitems\crystals_ruby.lua:125
#: df_mapitems\crystals_ruby.lua:200
msgid "Big Red Crystal"
msgstr ""
#: df_mapitems\crystals_salt.lua:6
msgid "Luminous Salt Crystal"
msgstr ""
#: df_mapitems\crystals_salt.lua:24
msgid "Salty Cobble"
msgstr ""
#: df_mapitems\doc.lua:11
msgid ""
"Cave moss is technically a form of mold, but fortunately a relatively benign "
"one given its ubiquity. Its fibers form a tough but springy mat over the "
"surface of any organic-rich soil that accumulates deep underground."
msgstr ""
#: df_mapitems\doc.lua:12
msgid ""
"Cave moss has no known uses aside from the faint glow it emits. It dies when "
"exposed to bright light sources such as the Sun."
msgstr ""
#: df_mapitems\doc.lua:13
msgid ""
"Floor fungus produces a thin, slick film that spreads through the cracks of "
"broken rock. Its ability to subsist on the tiniest traces of nutrients means "
"it's found in relatively harsh underground environments."
msgstr ""
#: df_mapitems\doc.lua:14
msgid ""
"Floor fungus has no known uses. It can penetrate deeply into cobblestone "
"constructions if an infestation gets hold, but it is difficult to transport "
"and is inhibited by light so it hasn't spread beyond the deep caverns."
msgstr ""
#: df_mapitems\doc.lua:16
msgid ""
"Hoar moss is a strange glowing crust that sometimes forms on the surface of "
"water flowing over ice."
msgstr ""
#: df_mapitems\doc.lua:17
msgid ""
"Hoar moss has no known use aside from providing a faint source of light."
msgstr ""
#: df_mapitems\doc.lua:19
msgid ""
"Glistening strings of silk hang from the ceilings of some of the larger "
"caverns, lit by the millions of tiny bioluminescent worms that spun them. "
"Glow worms prey on the insects they lure and entangle with their faux starry "
"sky - and sometimes the occasional bat or other larger flying beast."
msgstr ""
#: df_mapitems\doc.lua:20
msgid ""
"Glow worms can be harvested and used as a source of light but they die when "
"exposed to light significantly brighter than themselves or when immersed in "
"water. A colony of glow worms hung in a hospitable environment will undergo "
"a modest amount of growth, allowing it to be divided and propagated."
msgstr ""
#: df_mapitems\doc.lua:22
msgid ""
"A nasty kelp-like plant that grows in patches on the floor of the Sunless "
"Sea. Its reflective patches draw in the unwary and then its prickly barbs "
"catch and hold small creatures."
msgstr ""
#: df_mapitems\doc.lua:23
msgid "Snareweed has no practical use, its fibers disintegrate when they dry."
msgstr ""
#: df_mapitems\doc.lua:25
msgid ""
"A rare form of coral found only deep underground in the Sunless Sea, cave "
"coral grows hanging from the ceilings of flooded caverns."
msgstr ""
#: df_mapitems\doc.lua:26
msgid ""
"Aside from their aesthetic beauty, cave corals can be harvested for simple "
"building materials."
msgstr ""
#: df_mapitems\doc.lua:28
msgid ""
"Flowstone is a carbonate-rich rock formation deposited by flowing water. It "
"consists of minerals that the water dissolved earlier as it widens cracks "
"and fissures into caves."
msgstr ""
#: df_mapitems\doc.lua:29
msgid ""
"Aside from the aesthetic beauty of its formations flowstone has no special "
"properties or uses."
msgstr ""
#: df_mapitems\doc.lua:30
msgid ""
"The iconic stalactites and stalagmites found in caverns are composed of "
"flowstone (or 'dripstone' in the case of these formations). Moist dripstone "
"is still undergoing growth, whereas dry dripstone is found in 'dead' caverns "
"once the source of water that created them ceases."
msgstr ""
#: df_mapitems\doc.lua:31
msgid ""
"Although stalagmites are blunter than the stalactites above them, they can "
"cause extra damage to the unwary caver who falls on them."
msgstr ""
#: df_mapitems\doc.lua:32
msgid ""
"Ice formed by water dripping slowly into a cold environment, icicles tend to "
"be exceptionally pure and clear."
msgstr ""
#: df_mapitems\doc.lua:33
msgid "Falling onto an icicle is particularly damaging."
msgstr ""
#: df_mapitems\doc.lua:36
msgid ""
"Deep in the infernal conditions of the magma sea, over the course of "
"millions of years, mese crystals grow into flawless blocks that glow bright "
"with strange energies."
msgstr ""
#: df_mapitems\doc.lua:37
msgid ""
"These blocks can be broken down into a large number of mese crystals, but "
"cannot be artificially reassembled."
msgstr ""
#: df_mapitems\doc.lua:39
msgid ""
"Large, dry caverns deep underground are well suited to aeons-long processes "
"that concentrate crystalline substances in their walls. This rock is riddled "
"with veins of the stuff."
msgstr ""
#: df_mapitems\doc.lua:40
msgid "Aside from its aesthetic value this rock has no particular use."
msgstr ""
#: df_mapitems\doc.lua:42
msgid ""
"Monolithic crystals of this size form only over extremely long periods deep "
"underground, in large long-lived cavities that allow them room to grow. "
"Water and the life it hosts tend to disrupt the formation process of these "
"crystals so they're only found in dry environments."
msgstr ""
#: df_mapitems\doc.lua:43
msgid "Aside from its aesthetic value this crystal has no particular use."
msgstr ""
#: df_mapitems\doc.lua:45
msgid "These nodules are actually calcified bacterial colonies."
msgstr ""
#: df_mapitems\doc.lua:46
msgid ""
"Aside from their soft glow and beauty, cave pearls have no practical use. "
"Except perhaps as handholds for climbing."
msgstr ""
#: df_mapitems\doc.lua:48
msgid ""
"Deep under the surface of the Sunless Sea are the rare and beautiful Castle "
"Corals, so named due to their resemblance to small undersea castles."
msgstr ""
#: df_mapitems\doc.lua:49
msgid ""
"Castle Coral has little practical use aside from perhaps as a distinctive-"
"looking building material."
msgstr ""
#: df_mapitems\doc.lua:51
msgid ""
"A crystal of salt grown from water that percolated through the depths of the "
"earth, picking up all manner of minerals as it went."
msgstr ""
#: df_mapitems\doc.lua:52
msgid ""
"Traces of Mese must have been dissolved by the water as this crystal has an "
"inherent glow to it. Not enough Mese to be useful as a reagent, "
"unfortunately."
msgstr ""
#: df_mapitems\doc.lua:54
msgid ""
"Much water has seeped through the cracks in this rock and then quickly "
"evaporated, leaving a crust of salt laced throughout."
msgstr ""
#: df_mapitems\doc.lua:55
msgid ""
"Attemping to mine this rock knocks the salt crust away, leaving only base "
"stone."
msgstr ""
#: df_mapitems\flowstone.lua:8
msgid "Dry Dripstone"
msgstr ""
#: df_mapitems\flowstone.lua:20
msgid "Dry Flowstone"
msgstr ""
#: df_mapitems\flowstone.lua:34
msgid "Wet Dripstone"
msgstr ""
#: df_mapitems\flowstone.lua:47
msgid "Wet Flowstone"
msgstr ""
#: df_mapitems\flowstone.lua:61
msgid "Icicle"
msgstr ""
#: df_mapitems\glow_worms.lua:11
msgid "Glow Worms"
msgstr "Vermi luminosi"
#: df_mapitems\ground_cover.lua:11
#, fuzzy
msgid "Dirt with Cave Moss"
msgstr "Terra con muschio di caverna"
#: df_mapitems\ground_cover.lua:53
#, fuzzy
msgid "Dirt with Cave Moss and Footprint"
msgstr "Terra con muschio di caverna"
#: df_mapitems\ground_cover.lua:67
#: df_mapitems\ground_cover.lua:82
#, fuzzy
msgid "Cobblestone with Floor Fungus"
msgstr "Ciottoli con funghi del terreno"
#: df_mapitems\ground_cover.lua:122
msgid "Ice with Hoar Moss"
msgstr ""
#: df_mapitems\snareweed.lua:6
msgid "Snareweed"
msgstr ""
#: df_mapitems\veinstone.lua:6
msgid "Veinstone"
msgstr ""

View File

@ -1,314 +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:29-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_mapitems\castle_coral.lua:6
msgid "Castle Coral"
msgstr ""
#: df_mapitems\castle_coral.lua:26
msgid "Castle Coral Skeleton"
msgstr ""
#: df_mapitems\cave_coral.lua:6
#: df_mapitems\cave_coral.lua:24
#: df_mapitems\cave_coral.lua:42
msgid "Cave Coral"
msgstr ""
#: df_mapitems\cave_pearls.lua:6
msgid "Cave Pearls"
msgstr ""
#: df_mapitems\crystals_mese.lua:7
msgid "Flawless Mese Block"
msgstr ""
#: df_mapitems\crystals_mese.lua:29
msgid "Flawless Mese Crystal"
msgstr ""
#: df_mapitems\crystals_ruby.lua:6
msgid "Red Crystal Vein"
msgstr ""
#: df_mapitems\crystals_ruby.lua:16
#: df_mapitems\crystals_ruby.lua:73
#: df_mapitems\crystals_ruby.lua:162
msgid "Giant Red Crystal"
msgstr ""
#: df_mapitems\crystals_ruby.lua:44
#: df_mapitems\crystals_ruby.lua:125
#: df_mapitems\crystals_ruby.lua:200
msgid "Big Red Crystal"
msgstr ""
#: df_mapitems\crystals_salt.lua:6
msgid "Luminous Salt Crystal"
msgstr ""
#: df_mapitems\crystals_salt.lua:24
msgid "Salty Cobble"
msgstr ""
#: df_mapitems\doc.lua:11
msgid ""
"Cave moss is technically a form of mold, but fortunately a relatively benign "
"one given its ubiquity. Its fibers form a tough but springy mat over the "
"surface of any organic-rich soil that accumulates deep underground."
msgstr ""
#: df_mapitems\doc.lua:12
msgid ""
"Cave moss has no known uses aside from the faint glow it emits. It dies when "
"exposed to bright light sources such as the Sun."
msgstr ""
#: df_mapitems\doc.lua:13
msgid ""
"Floor fungus produces a thin, slick film that spreads through the cracks of "
"broken rock. Its ability to subsist on the tiniest traces of nutrients means "
"it's found in relatively harsh underground environments."
msgstr ""
#: df_mapitems\doc.lua:14
msgid ""
"Floor fungus has no known uses. It can penetrate deeply into cobblestone "
"constructions if an infestation gets hold, but it is difficult to transport "
"and is inhibited by light so it hasn't spread beyond the deep caverns."
msgstr ""
#: df_mapitems\doc.lua:16
msgid ""
"Hoar moss is a strange glowing crust that sometimes forms on the surface of "
"water flowing over ice."
msgstr ""
#: df_mapitems\doc.lua:17
msgid ""
"Hoar moss has no known use aside from providing a faint source of light."
msgstr ""
#: df_mapitems\doc.lua:19
msgid ""
"Glistening strings of silk hang from the ceilings of some of the larger "
"caverns, lit by the millions of tiny bioluminescent worms that spun them. "
"Glow worms prey on the insects they lure and entangle with their faux starry "
"sky - and sometimes the occasional bat or other larger flying beast."
msgstr ""
#: df_mapitems\doc.lua:20
msgid ""
"Glow worms can be harvested and used as a source of light but they die when "
"exposed to light significantly brighter than themselves or when immersed in "
"water. A colony of glow worms hung in a hospitable environment will undergo "
"a modest amount of growth, allowing it to be divided and propagated."
msgstr ""
#: df_mapitems\doc.lua:22
msgid ""
"A nasty kelp-like plant that grows in patches on the floor of the Sunless "
"Sea. Its reflective patches draw in the unwary and then its prickly barbs "
"catch and hold small creatures."
msgstr ""
#: df_mapitems\doc.lua:23
msgid "Snareweed has no practical use, its fibers disintegrate when they dry."
msgstr ""
#: df_mapitems\doc.lua:25
msgid ""
"A rare form of coral found only deep underground in the Sunless Sea, cave "
"coral grows hanging from the ceilings of flooded caverns."
msgstr ""
#: df_mapitems\doc.lua:26
msgid ""
"Aside from their aesthetic beauty, cave corals can be harvested for simple "
"building materials."
msgstr ""
#: df_mapitems\doc.lua:28
msgid ""
"Flowstone is a carbonate-rich rock formation deposited by flowing water. It "
"consists of minerals that the water dissolved earlier as it widens cracks "
"and fissures into caves."
msgstr ""
#: df_mapitems\doc.lua:29
msgid ""
"Aside from the aesthetic beauty of its formations flowstone has no special "
"properties or uses."
msgstr ""
#: df_mapitems\doc.lua:30
msgid ""
"The iconic stalactites and stalagmites found in caverns are composed of "
"flowstone (or 'dripstone' in the case of these formations). Moist dripstone "
"is still undergoing growth, whereas dry dripstone is found in 'dead' caverns "
"once the source of water that created them ceases."
msgstr ""
#: df_mapitems\doc.lua:31
msgid ""
"Although stalagmites are blunter than the stalactites above them, they can "
"cause extra damage to the unwary caver who falls on them."
msgstr ""
#: df_mapitems\doc.lua:32
msgid ""
"Ice formed by water dripping slowly into a cold environment, icicles tend to "
"be exceptionally pure and clear."
msgstr ""
#: df_mapitems\doc.lua:33
msgid "Falling onto an icicle is particularly damaging."
msgstr ""
#: df_mapitems\doc.lua:36
msgid ""
"Deep in the infernal conditions of the magma sea, over the course of "
"millions of years, mese crystals grow into flawless blocks that glow bright "
"with strange energies."
msgstr ""
#: df_mapitems\doc.lua:37
msgid ""
"These blocks can be broken down into a large number of mese crystals, but "
"cannot be artificially reassembled."
msgstr ""
#: df_mapitems\doc.lua:39
msgid ""
"Large, dry caverns deep underground are well suited to aeons-long processes "
"that concentrate crystalline substances in their walls. This rock is riddled "
"with veins of the stuff."
msgstr ""
#: df_mapitems\doc.lua:40
msgid "Aside from its aesthetic value this rock has no particular use."
msgstr ""
#: df_mapitems\doc.lua:42
msgid ""
"Monolithic crystals of this size form only over extremely long periods deep "
"underground, in large long-lived cavities that allow them room to grow. "
"Water and the life it hosts tend to disrupt the formation process of these "
"crystals so they're only found in dry environments."
msgstr ""
#: df_mapitems\doc.lua:43
msgid "Aside from its aesthetic value this crystal has no particular use."
msgstr ""
#: df_mapitems\doc.lua:45
msgid "These nodules are actually calcified bacterial colonies."
msgstr ""
#: df_mapitems\doc.lua:46
msgid ""
"Aside from their soft glow and beauty, cave pearls have no practical use. "
"Except perhaps as handholds for climbing."
msgstr ""
#: df_mapitems\doc.lua:48
msgid ""
"Deep under the surface of the Sunless Sea are the rare and beautiful Castle "
"Corals, so named due to their resemblance to small undersea castles."
msgstr ""
#: df_mapitems\doc.lua:49
msgid ""
"Castle Coral has little practical use aside from perhaps as a distinctive-"
"looking building material."
msgstr ""
#: df_mapitems\doc.lua:51
msgid ""
"A crystal of salt grown from water that percolated through the depths of the "
"earth, picking up all manner of minerals as it went."
msgstr ""
#: df_mapitems\doc.lua:52
msgid ""
"Traces of Mese must have been dissolved by the water as this crystal has an "
"inherent glow to it. Not enough Mese to be useful as a reagent, "
"unfortunately."
msgstr ""
#: df_mapitems\doc.lua:54
msgid ""
"Much water has seeped through the cracks in this rock and then quickly "
"evaporated, leaving a crust of salt laced throughout."
msgstr ""
#: df_mapitems\doc.lua:55
msgid ""
"Attemping to mine this rock knocks the salt crust away, leaving only base "
"stone."
msgstr ""
#: df_mapitems\flowstone.lua:8
msgid "Dry Dripstone"
msgstr ""
#: df_mapitems\flowstone.lua:20
msgid "Dry Flowstone"
msgstr ""
#: df_mapitems\flowstone.lua:34
msgid "Wet Dripstone"
msgstr ""
#: df_mapitems\flowstone.lua:47
msgid "Wet Flowstone"
msgstr ""
#: df_mapitems\flowstone.lua:61
msgid "Icicle"
msgstr ""
#: df_mapitems\glow_worms.lua:11
msgid "Glow Worms"
msgstr ""
#: df_mapitems\ground_cover.lua:11
msgid "Dirt with Cave Moss"
msgstr ""
#: df_mapitems\ground_cover.lua:53
msgid "Dirt with Cave Moss and Footprint"
msgstr ""
#: df_mapitems\ground_cover.lua:67
#: df_mapitems\ground_cover.lua:82
msgid "Cobblestone with Floor Fungus"
msgstr ""
#: df_mapitems\ground_cover.lua:122
msgid "Ice with Hoar Moss"
msgstr ""
#: df_mapitems\snareweed.lua:6
msgid "Snareweed"
msgstr ""
#: df_mapitems\veinstone.lua:6
msgid "Veinstone"
msgstr ""

View File

@ -0,0 +1,55 @@
A crystal of salt grown from water that percolated through the depths of the earth, picking up all manner of minerals as it went.=
A nasty kelp-like plant that grows in patches on the floor of the Sunless Sea. Its reflective patches draw in the unwary and then its prickly barbs catch and hold small creatures.=
A rare form of coral found only deep underground in the Sunless Sea, cave coral grows hanging from the ceilings of flooded caverns.=
Although stalagmites are blunter than the stalactites above them, they can cause extra damage to the unwary caver who falls on them.=
Aside from its aesthetic value this crystal has no particular use.=
Aside from its aesthetic value this rock has no particular use.=
Aside from the aesthetic beauty of its formations flowstone has no special properties or uses.=
Aside from their aesthetic beauty, cave corals can be harvested for simple building materials.=
Aside from their soft glow and beauty, cave pearls have no practical use. Except perhaps as handholds for climbing.=
Attemping to mine this rock knocks the salt crust away, leaving only base stone.=
Big Red Crystal=
Castle Coral=
Castle Coral Skeleton=
Castle Coral has little practical use aside from perhaps as a distinctive-looking building material.=
Cave Coral=
Cave Pearls=
Cave moss has no known uses aside from the faint glow it emits. It dies when exposed to bright light sources such as the Sun.=
Cave moss is technically a form of mold, but fortunately a relatively benign one given its ubiquity. Its fibers form a tough but springy mat over the surface of any organic-rich soil that accumulates deep underground.=
Cobblestone with Floor Fungus=
Deep in the infernal conditions of the magma sea, over the course of millions of years, mese crystals grow into flawless blocks that glow bright with strange energies.=
Deep under the surface of the Sunless Sea are the rare and beautiful Castle Corals, so named due to their resemblance to small undersea castles.=
Dirt with Cave Moss=
Dirt with Cave Moss and Footprint=
Dry Dripstone=
Dry Flowstone=
Falling onto an icicle is particularly damaging.=
Flawless Mese Block=
Flawless Mese Crystal=
Floor fungus has no known uses. It can penetrate deeply into cobblestone constructions if an infestation gets hold, but it is difficult to transport and is inhibited by light so it hasn't spread beyond the deep caverns.=
Floor fungus produces a thin, slick film that spreads through the cracks of broken rock. Its ability to subsist on the tiniest traces of nutrients means it's found in relatively harsh underground environments.=
Flowstone is a carbonate-rich rock formation deposited by flowing water. It consists of minerals that the water dissolved earlier as it widens cracks and fissures into caves.=
Giant Red Crystal=
Glistening strings of silk hang from the ceilings of some of the larger caverns, lit by the millions of tiny bioluminescent worms that spun them. Glow worms prey on the insects they lure and entangle with their faux starry sky - and sometimes the occasional bat or other larger flying beast.=
Glow Worms=
Glow worms can be harvested and used as a source of light but they die when exposed to light significantly brighter than themselves or when immersed in water. A colony of glow worms hung in a hospitable environment will undergo a modest amount of growth, allowing it to be divided and propagated.=
Hoar moss has no known use aside from providing a faint source of light.=
Hoar moss is a strange glowing crust that sometimes forms on the surface of water flowing over ice.=
Ice formed by water dripping slowly into a cold environment, icicles tend to be exceptionally pure and clear.=
Ice with Hoar Moss=
Icicle=
Large, dry caverns deep underground are well suited to aeons-long processes that concentrate crystalline substances in their walls. This rock is riddled with veins of the stuff.=
Luminous Salt Crystal=
Monolithic crystals of this size form only over extremely long periods deep underground, in large long-lived cavities that allow them room to grow. Water and the life it hosts tend to disrupt the formation process of these crystals so they're only found in dry environments.=
Much water has seeped through the cracks in this rock and then quickly evaporated, leaving a crust of salt laced throughout.=
Red Crystal Vein=
Salty Cobble=
Snareweed=
Snareweed has no practical use, its fibers disintegrate when they dry.=
The iconic stalactites and stalagmites found in caverns are composed of flowstone (or 'dripstone' in the case of these formations). Moist dripstone is still undergoing growth, whereas dry dripstone is found in 'dead' caverns once the source of water that created them ceases.=
These blocks can be broken down into a large number of mese crystals, but cannot be artificially reassembled.=
These nodules are actually calcified bacterial colonies.=
Traces of Mese must have been dissolved by the water as this crystal has an inherent glow to it. Not enough Mese to be useful as a reagent, unfortunately.=
Veinstone=
Wet Dripstone=
Wet Flowstone=

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_mapitems
description = Various node types used by the dfcaverns mapgen mod. Includes cave coral, flowstone, glowing crystals, glow worms, moss and fungi ground cover, and snare weed.
depends = default, subterrane
optional_depends = df_farming, farming, intllib, doc, radiant_damage, trail
optional_depends = df_farming, farming, doc, radiant_damage, trail

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_mapitems.S
minetest.register_node("df_mapitems:snareweed", {
description = S("Snareweed"),

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_mapitems.S
minetest.register_node("df_mapitems:veinstone", {
description = S("Veinstone"),

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_primordial_items.S
---------------------------------------------------------------------------------------
-- Glownode and stalk

View File

@ -2,6 +2,8 @@ if not minetest.get_modpath("doc") then
return
end
local S = df_primordial_items.S
df_primordial_items.doc.big_mushroom_desc = S("Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.")
df_primordial_items.doc.big_mushroom_usage = S("The soft flesh of these large mushrooms is much less woody than other giant mushrooms, making it ill-suited to structural use. This makes it rather more nutritious, however.")

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_primordial_items.S
-----------------------------------------------------------------------------------------------
-- Plants

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_primordial_items.S
------------------------------------------------------------------------------------
-- Nodes

View File

@ -1,8 +1,6 @@
-- This file defines a type of root-like growth that spreads over the surface of the ground in a random web-like pattern
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_primordial_items.S
-- hub_thickness -- the bit in the middle that's seen at the ends and corners of long hypha runs
-- connector_thickness

View File

@ -1,14 +1,16 @@
df_primordial_items = {}
df_primordial_items.doc = {}
local MP = minetest.get_modpath(minetest.get_current_modname())
local modname = minetest.get_current_modname()
df_primordial_items.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
dofile(MP.."/doc.lua")
dofile(MP.."/jungle_nodes.lua")
dofile(MP.."/jungle_tree.lua")
dofile(MP.."/jungle_mushroom.lua")
dofile(MP.."/giant_fern.lua")
dofile(MP.."/fungal_nodes.lua")
dofile(MP.."/ceiling_fungus.lua")
dofile(MP.."/primordial_mushroom.lua")
dofile(MP.."/giant_mycelium.lua")
dofile(modpath.."/doc.lua")
dofile(modpath.."/jungle_nodes.lua")
dofile(modpath.."/jungle_tree.lua")
dofile(modpath.."/jungle_mushroom.lua")
dofile(modpath.."/giant_fern.lua")
dofile(modpath.."/fungal_nodes.lua")
dofile(modpath.."/ceiling_fungus.lua")
dofile(modpath.."/primordial_mushroom.lua")
dofile(modpath.."/giant_mycelium.lua")

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

@ -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_primordial_items.S
------------------------------------------------------------------------------------------
-- Big jungle mushroom

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_primordial_items.S
----------------------------------------------------
-- Ferns

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_primordial_items.S
-- Leaves
minetest.register_node("df_primordial_items:jungle_leaves", {

View File

@ -1,392 +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_primordial_items\ceiling_fungus.lua:9
msgid "Primordial Fungal Lantern"
msgstr ""
#: df_primordial_items\ceiling_fungus.lua:23
msgid "Primordial Fungal Lantern Stalk"
msgstr ""
#: df_primordial_items\ceiling_fungus.lua:35
#: df_primordial_items\fungal_nodes.lua:50
#: df_primordial_items\fungal_nodes.lua:69
msgid "Primordial Fungal Orb"
msgstr ""
#: df_primordial_items\doc.lua:5
msgid ""
"Compared to the behemoths found elsewhere in the deep places of the world, "
"the giant mushrooms of the primordial jungles are on the smaller side - "
"often overwhelmed by the green plants that grow in the mysterious light "
"below. Still, they can become substantial resources."
msgstr ""
#: df_primordial_items\doc.lua:6
msgid ""
"The soft flesh of these large mushrooms is much less woody than other giant "
"mushrooms, making it ill-suited to structural use. This makes it rather more "
"nutritious, however."
msgstr ""
#: df_primordial_items\doc.lua:8
msgid ""
"The soil of the primordial jungle is rife with strange life at every scale."
msgstr ""
#: df_primordial_items\doc.lua:9
msgid ""
"When left uncultivated primordial jungle soil will sprout all manner of "
"strange wild plants."
msgstr ""
#: df_primordial_items\doc.lua:10
msgid ""
"Fungal fibers have infiltrated the ground in a spongy mass, making the soil "
"half mineral and half living matter."
msgstr ""
#: df_primordial_items\doc.lua:11
msgid ""
"When left uncultivated mycelial soil will sprout all manner of strange wild "
"fungi."
msgstr ""
#: df_primordial_items\doc.lua:13
msgid ""
"The dark-leaved ferns of the primordial jungle harken back to an earlier era "
"of life in the world."
msgstr ""
#: df_primordial_items\doc.lua:15
msgid ""
"These fibrous plants that grow in the deep appear similar to grass at a "
"glance, but they are more closely related to horsetails - a form of "
"vegetation from before the advent of modern plant forms. Ironically, pale "
"cave wheat is more kin to surface grass than this is."
msgstr ""
#: df_primordial_items\doc.lua:18
msgid ""
"Tangled weaves of ivy hang from the ceiling where there are wide enough gaps "
"between the bright sources of light."
msgstr ""
#: df_primordial_items\doc.lua:19
msgid ""
"Ivy is climbable, if it hangs close enough to the ground it can serve as a "
"path between floor and ceiling."
msgstr ""
#: df_primordial_items\doc.lua:20
msgid ""
"Somewhere above an enormous plant has wedged its roots down through the rock "
"and emerged from the ceiling of another cavern."
msgstr ""
#: df_primordial_items\doc.lua:21
msgid "These hanging roots are climbable."
msgstr ""
#: df_primordial_items\doc.lua:23
msgid ""
"Questing fibers of fungal mycelium sometimes erupt from the soil and reach "
"upward, driven by chemical cues to seek out nourishment above. They look a "
"lot like white grass, at a glance."
msgstr ""
#: df_primordial_items\doc.lua:26
msgid ""
"The large woody plants of the primordial jungle are similar in appearance to "
"the jungle trees of the surface, but are a result of convergent evolution "
"from ancient cycad plants toward a common form."
msgstr ""
#: df_primordial_items\doc.lua:27
msgid ""
"Like wood of the surface world, primordial jungle trees can be chopped and "
"carved as building material or as fuel."
msgstr ""
#: df_primordial_items\doc.lua:28
msgid ""
"The cracks in the bark of some primordial jungle trees become host to "
"phosphorescent veins of symbiotic fungus."
msgstr ""
#: df_primordial_items\doc.lua:29
msgid ""
"The glowing bark fungus doesn't extend into the wood of the trunk, resulting "
"in surprisingly mundane building material when hewn."
msgstr ""
#: df_primordial_items\doc.lua:32
msgid ""
"Some fronds of primordial jungle trees also become host to the "
"phosphorescent fungus that creeps through cracks in the bark."
msgstr ""
#: df_primordial_items\doc.lua:35
msgid ""
"The still air of these ancient caverns have allowed ferns to grow to "
"prodigious sizes, where storms and rain would normally tear their weaker "
"fronds off on the surface of the world."
msgstr ""
#: df_primordial_items\doc.lua:36
msgid ""
"When a fern grows to such sizes its stem becomes dense enough to be used as "
"a form of wood."
msgstr ""
#: df_primordial_items\doc.lua:38
msgid ""
"Fungus in its purest form, these gigantic rope-like hyphae creep over the "
"surface of soil and burrow in to feed wherever nutrients are sensed."
msgstr ""
#: df_primordial_items\doc.lua:39
msgid ""
"Much like a rope, hyphae have fibers inside that can be unraveled and used "
"for a variety of crafts."
msgstr ""
#: df_primordial_items\doc.lua:40
msgid "Fibers extracted from gigantic fungal hyphae."
msgstr ""
#: df_primordial_items\doc.lua:45
msgid ""
"The grandest of the great mushroom species can be found in the deepest "
"primordial caverns. Their broad caps have hanging gills."
msgstr ""
#: df_primordial_items\doc.lua:46
msgid ""
"Much like the giant mushrooms of higher cavern layers, these can be carved "
"into woody material for use as fuel or for building things. The grain of "
"these primordial mushrooms is knurled."
msgstr ""
#: df_primordial_items\doc.lua:63
msgid ""
"The steady light and unchanging growing conditions of the primordial caverns "
"have led to great mountainous masses of plant material growing in "
"particularly fertile spots, hardly identifiable as individual organisms."
msgstr ""
#: df_primordial_items\doc.lua:64
msgid ""
"The gnarled interwoven root-like foundations of this plant material is not "
"useful as building material, but can serve as a fuel source."
msgstr ""
#: df_primordial_items\fungal_nodes.lua:11
#: df_primordial_items\fungal_nodes.lua:29
msgid "Primordial Fungal Grass"
msgstr ""
#: df_primordial_items\fungal_nodes.lua:88
msgid "Primordial Fungal Pod"
msgstr ""
#: df_primordial_items\fungal_nodes.lua:110
msgid "Dirt with Primordial Mycelium"
msgstr ""
#: df_primordial_items\fungal_nodes.lua:139
msgid "Dirt with Primordial Mycelium and Footprint"
msgstr ""
#: df_primordial_items\giant_fern.lua:9
#: df_primordial_items\giant_fern.lua:23
#: df_primordial_items\giant_fern.lua:60
#: df_primordial_items\giant_fern.lua:97
msgid "Giant Fern Stem"
msgstr ""
#: df_primordial_items\giant_fern.lua:134
msgid "Fern Wood"
msgstr ""
#: df_primordial_items\giant_fern.lua:152
msgid "Giant Fern Leaves"
msgstr ""
#: df_primordial_items\giant_fern.lua:267
msgid "Giant Fern Sapling"
msgstr ""
#: df_primordial_items\giant_mycelium.lua:24
msgid "Rooted Giant Hypha"
msgstr ""
#: df_primordial_items\giant_mycelium.lua:55
msgid "Giant Hypha"
msgstr ""
#: df_primordial_items\giant_mycelium.lua:87
msgid "Giant Mycelial Fibers"
msgstr ""
#: df_primordial_items\giant_mycelium.lua:95
msgid "Mycelial thread"
msgstr ""
#: df_primordial_items\giant_mycelium.lua:309
#: df_primordial_items\giant_mycelium.lua:395
msgid "Giant Hypha Apical Meristem"
msgstr ""
#: df_primordial_items\jungle_mushroom.lua:9
msgid "Primordial Jungle Mushroom Trunk"
msgstr ""
#: df_primordial_items\jungle_mushroom.lua:21
msgid "Pale Jungle Mushroom Cap"
msgstr ""
#: df_primordial_items\jungle_mushroom.lua:45
msgid "Dark Jungle Mushroom Cap"
msgstr ""
#: df_primordial_items\jungle_mushroom.lua:69
msgid "Diced Mushroom"
msgstr ""
#: df_primordial_items\jungle_mushroom.lua:92
msgid "Primordial Jungle Mushroom Sapling"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:14
#: df_primordial_items\jungle_nodes.lua:34
msgid "Primordial Fern"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:57
msgid "Primordial Flower"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:77
#: df_primordial_items\jungle_nodes.lua:97
msgid "Primordial Jungle Pod"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:121
#: df_primordial_items\jungle_nodes.lua:140
#: df_primordial_items\jungle_nodes.lua:160
msgid "Primordial Jungle Grass"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:184
msgid "Primordial Jungle Ivy"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:211
msgid "Primordial Jungle Mushroom"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:229
msgid "Large Primordial Jungle Mushroom"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:250
msgid "Dirt With Primordial Jungle Grass"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:278
msgid "Primordial Plant Matter"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:301
msgid "Packed Primordial Jungle Roots"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:317
msgid "Dirt With Primordial Jungle Grass and Footprint"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:324
msgid "Primordial Plant Matter with Footprint"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:342
msgid "Primordial Jungle Roots"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:360
msgid "Primordial Jungle Root"
msgstr ""
#: df_primordial_items\jungle_nodes.lua:381
msgid "Primordial Jungle Thorns"
msgstr ""
#: df_primordial_items\jungle_tree.lua:7
msgid "Primordial Jungle Tree Leaves"
msgstr ""
#: df_primordial_items\jungle_tree.lua:38
msgid "Phosphorescent Primordial Jungle Tree Leaves"
msgstr ""
#: df_primordial_items\jungle_tree.lua:72
msgid "Primordial Jungle Tree"
msgstr ""
#: df_primordial_items\jungle_tree.lua:84
msgid "Mossy Primordial Jungle Tree"
msgstr ""
#: df_primordial_items\jungle_tree.lua:96
msgid "Phosphorescent Primordial Jungle Tree"
msgstr ""
#: df_primordial_items\jungle_tree.lua:221
msgid "Primordial Jungle Tree Sapling"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:6
msgid "Primordial Mushroom Trunk"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:18
msgid "Primordial Mushroom Cap"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:30
msgid "Primordial Mushroom Gills"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:61
msgid "Glowing Primordial Mushroom Gills"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:99
msgid "Primordial Mushroom Trunk Wood"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:117
msgid "Primordial Cap Wood"
msgstr ""
#: df_primordial_items\primordial_mushroom.lua:688
msgid "Primordial Mushroom Spawn"
msgstr ""

View File

@ -0,0 +1,77 @@
=
Compared to the behemoths found elsewhere in the deep places of the world, the giant mushrooms of the primordial jungles are on the smaller side - often overwhelmed by the green plants that grow in the mysterious light below. Still, they can become substantial resources.=
Dark Jungle Mushroom Cap=
Diced Mushroom=
Dirt With Primordial Jungle Grass=
Dirt With Primordial Jungle Grass and Footprint=
Dirt with Primordial Mycelium=
Dirt with Primordial Mycelium and Footprint=
Fern Wood=
Fibers extracted from gigantic fungal hyphae.=
Fungal fibers have infiltrated the ground in a spongy mass, making the soil half mineral and half living matter.=
Fungus in its purest form, these gigantic rope-like hyphae creep over the surface of soil and burrow in to feed wherever nutrients are sensed.=
Giant Fern Leaves=
Giant Fern Sapling=
Giant Fern Stem=
Giant Hypha=
Giant Hypha Apical Meristem=
Giant Mycelial Fibers=
Glowing Primordial Mushroom Gills=
Ivy is climbable, if it hangs close enough to the ground it can serve as a path between floor and ceiling.=
Large Primordial Jungle Mushroom=
Like wood of the surface world, primordial jungle trees can be chopped and carved as building material or as fuel.=
Mossy Primordial Jungle Tree=
Much like a rope, hyphae have fibers inside that can be unraveled and used for a variety of crafts.=
Much like the giant mushrooms of higher cavern layers, these can be carved into woody material for use as fuel or for building things. The grain of these primordial mushrooms is knurled.=
Mycelial thread=
Packed Primordial Jungle Roots=
Pale Jungle Mushroom Cap=
Phosphorescent Primordial Jungle Tree=
Phosphorescent Primordial Jungle Tree Leaves=
Primordial Cap Wood=
Primordial Fern=
Primordial Flower=
Primordial Fungal Grass=
Primordial Fungal Lantern=
Primordial Fungal Lantern Stalk=
Primordial Fungal Orb=
Primordial Fungal Pod=
Primordial Jungle Grass=
Primordial Jungle Ivy=
Primordial Jungle Mushroom=
Primordial Jungle Mushroom Sapling=
Primordial Jungle Mushroom Trunk=
Primordial Jungle Pod=
Primordial Jungle Root=
Primordial Jungle Roots=
Primordial Jungle Thorns=
Primordial Jungle Tree=
Primordial Jungle Tree Leaves=
Primordial Jungle Tree Sapling=
Primordial Mushroom Cap=
Primordial Mushroom Gills=
Primordial Mushroom Spawn=
Primordial Mushroom Trunk=
Primordial Mushroom Trunk Wood=
Primordial Plant Matter=
Primordial Plant Matter with Footprint=
Questing fibers of fungal mycelium sometimes erupt from the soil and reach upward, driven by chemical cues to seek out nourishment above. They look a lot like white grass, at a glance.=
Rooted Giant Hypha=
Some fronds of primordial jungle trees also become host to the phosphorescent fungus that creeps through cracks in the bark.=
Somewhere above an enormous plant has wedged its roots down through the rock and emerged from the ceiling of another cavern.=
Tangled weaves of ivy hang from the ceiling where there are wide enough gaps between the bright sources of light.=
The cracks in the bark of some primordial jungle trees become host to phosphorescent veins of symbiotic fungus.=
The dark-leaved ferns of the primordial jungle harken back to an earlier era of life in the world.=
The glowing bark fungus doesn't extend into the wood of the trunk, resulting in surprisingly mundane building material when hewn.=
The gnarled interwoven root-like foundations of this plant material is not useful as building material, but can serve as a fuel source.=
The grandest of the great mushroom species can be found in the deepest primordial caverns. Their broad caps have hanging gills.=
The large woody plants of the primordial jungle are similar in appearance to the jungle trees of the surface, but are a result of convergent evolution from ancient cycad plants toward a common form.=
The soft flesh of these large mushrooms is much less woody than other giant mushrooms, making it ill-suited to structural use. This makes it rather more nutritious, however.=
The soil of the primordial jungle is rife with strange life at every scale.=
The steady light and unchanging growing conditions of the primordial caverns have led to great mountainous masses of plant material growing in particularly fertile spots, hardly identifiable as individual organisms.=
The still air of these ancient caverns have allowed ferns to grow to prodigious sizes, where storms and rain would normally tear their weaker fronds off on the surface of the world.=
These fibrous plants that grow in the deep appear similar to grass at a glance, but they are more closely related to horsetails - a form of vegetation from before the advent of modern plant forms. Ironically, pale cave wheat is more kin to surface grass than this is.=
These hanging roots are climbable.=
When a fern grows to such sizes its stem becomes dense enough to be used as a form of wood.=
When left uncultivated mycelial soil will sprout all manner of strange wild fungi.=
When left uncultivated primordial jungle soil will sprout all manner of strange wild plants.=

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,6 +1,4 @@
-- internationalization boilerplate
local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua")
local S = df_primordial_items.S
minetest.register_node("df_primordial_items:mushroom_trunk", {
description = S("Primordial Mushroom Trunk"),

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"),

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_underworld_items.S
minetest.register_node("df_underworld_items:glow_amethyst", {
description = S("Glowing Amethyst Block"),

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_underworld_items.S
df_underworld_items.doc.glowstone_desc = S("Bright glowing stones of unknown origin found lodged in the crevices of the underworld's ceiling.")
df_underworld_items.doc.glowstone_usage = S("These stones are highly volatile and should not be disturbed.")

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_underworld_items.S
local glowstone_def = {
_doc_items_longdesc = df_underworld_items.doc.glowstone_desc,

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_underworld_items.S
minetest.register_node("df_underworld_items:pit_plasma", {
description = S("Glowing Pit Plasma"),

View File

@ -1,6 +1,8 @@
df_underworld_items = {}
local modpath = minetest.get_modpath(minetest.get_current_modname())
local modname = minetest.get_current_modname()
df_underworld_items.S = minetest.get_translator(modname)
local modpath = minetest.get_modpath(modname)
dofile(modpath.."/config.lua")
dofile(modpath.."/doc.lua")

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

@ -1,163 +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:31-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_underworld_items\crystals_amethyst.lua:6
msgid "Glowing Amethyst Block"
msgstr ""
#: df_underworld_items\doc.lua:11
msgid ""
"Bright glowing stones of unknown origin found lodged in the crevices of the "
"underworld's ceiling."
msgstr ""
#: df_underworld_items\doc.lua:12
msgid "These stones are highly volatile and should not be disturbed."
msgstr ""
#: df_underworld_items\doc.lua:14
msgid ""
"The very foundation of the world, Slade is a mysterious ultra-dense "
"substance."
msgstr ""
#: df_underworld_items\doc.lua:15
msgid "Slade is extremely hard to work with so it has little use."
msgstr ""
#: df_underworld_items\doc.lua:17
msgid "In fact, Slade is impervious to conventional mining entirely."
msgstr ""
#: df_underworld_items\doc.lua:20
msgid ""
"This block of Slade, carved by an unknown hand, is engraved with mysterious "
"symbols. Most of the engraving's meaning is lost to the mists of time but "
"one frament in the oldest known language can be translated: \"This place is "
"not a place of honor.\""
msgstr ""
#: df_underworld_items\doc.lua:22
msgid ""
"Glowing purple crystals that grow through holes in the foundation of the "
"world."
msgstr ""
#: df_underworld_items\doc.lua:23
msgid "These crystals have no known use."
msgstr ""
#: df_underworld_items\doc.lua:25
msgid ""
"The liquid found in the deepest pits in the underworld is highly dangerous "
"and damaging."
msgstr ""
#: df_underworld_items\doc.lua:26
msgid ""
"The only use for this material is that it destroys whatever is thrown into "
"it. It cannot otherwise be manipulated."
msgstr ""
#: df_underworld_items\glowing_pit_plasma.lua:6
#: df_underworld_items\glowing_pit_plasma.lua:44
msgid "Glowing Pit Plasma"
msgstr ""
#: df_underworld_items\glow_stone.lua:9
msgid "Lightseam"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:113
msgid "Turn"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:183
msgid "Slade Puzzle Seal"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:244
msgid "Active Slade Breacher"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:347
msgid "Breach in the Slade"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:359
msgid "Inscribed Slade Block"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:383
msgid "Slade Capstone"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:451
msgid "Slade Block Stair"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:452
msgid "Slade Block Slab"
msgstr ""
#: df_underworld_items\slade.lua:18
msgid "Slade"
msgstr ""
#: df_underworld_items\slade.lua:38
msgid "Slade Brick"
msgstr ""
#: df_underworld_items\slade.lua:52
msgid "Slade Wall"
msgstr ""
#: df_underworld_items\slade.lua:78
msgid "Slade Sand"
msgstr ""
#: df_underworld_items\slade.lua:90
msgid "Slade Block"
msgstr ""
#: df_underworld_items\slade.lua:106
msgid "Slade Seal"
msgstr ""
#: df_underworld_items\slade.lua:154
msgid "Slade Stair"
msgstr ""
#: df_underworld_items\slade.lua:155
msgid "Slade Slab"
msgstr ""
#, fuzzy
#~ msgid "Cave Coral"
#~ msgstr "Grano di caverna"
#~ msgid "Glow Worms"
#~ msgstr "Vermi luminosi"
#~ msgid "Dirt With Cave Moss"
#~ msgstr "Terra con muschio di caverna"
#~ msgid "Cobblestone With Floor Fungus"
#~ msgstr "Ciottoli con funghi del terreno"

View File

@ -1,149 +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:31-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_underworld_items\crystals_amethyst.lua:6
msgid "Glowing Amethyst Block"
msgstr ""
#: df_underworld_items\doc.lua:11
msgid ""
"Bright glowing stones of unknown origin found lodged in the crevices of the "
"underworld's ceiling."
msgstr ""
#: df_underworld_items\doc.lua:12
msgid "These stones are highly volatile and should not be disturbed."
msgstr ""
#: df_underworld_items\doc.lua:14
msgid ""
"The very foundation of the world, Slade is a mysterious ultra-dense "
"substance."
msgstr ""
#: df_underworld_items\doc.lua:15
msgid "Slade is extremely hard to work with so it has little use."
msgstr ""
#: df_underworld_items\doc.lua:17
msgid "In fact, Slade is impervious to conventional mining entirely."
msgstr ""
#: df_underworld_items\doc.lua:20
msgid ""
"This block of Slade, carved by an unknown hand, is engraved with mysterious "
"symbols. Most of the engraving's meaning is lost to the mists of time but "
"one frament in the oldest known language can be translated: \"This place is "
"not a place of honor.\""
msgstr ""
#: df_underworld_items\doc.lua:22
msgid ""
"Glowing purple crystals that grow through holes in the foundation of the "
"world."
msgstr ""
#: df_underworld_items\doc.lua:23
msgid "These crystals have no known use."
msgstr ""
#: df_underworld_items\doc.lua:25
msgid ""
"The liquid found in the deepest pits in the underworld is highly dangerous "
"and damaging."
msgstr ""
#: df_underworld_items\doc.lua:26
msgid ""
"The only use for this material is that it destroys whatever is thrown into "
"it. It cannot otherwise be manipulated."
msgstr ""
#: df_underworld_items\glowing_pit_plasma.lua:6
#: df_underworld_items\glowing_pit_plasma.lua:44
msgid "Glowing Pit Plasma"
msgstr ""
#: df_underworld_items\glow_stone.lua:9
msgid "Lightseam"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:113
msgid "Turn"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:183
msgid "Slade Puzzle Seal"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:244
msgid "Active Slade Breacher"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:347
msgid "Breach in the Slade"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:359
msgid "Inscribed Slade Block"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:383
msgid "Slade Capstone"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:451
msgid "Slade Block Stair"
msgstr ""
#: df_underworld_items\puzzle_seal.lua:452
msgid "Slade Block Slab"
msgstr ""
#: df_underworld_items\slade.lua:18
msgid "Slade"
msgstr ""
#: df_underworld_items\slade.lua:38
msgid "Slade Brick"
msgstr ""
#: df_underworld_items\slade.lua:52
msgid "Slade Wall"
msgstr ""
#: df_underworld_items\slade.lua:78
msgid "Slade Sand"
msgstr ""
#: df_underworld_items\slade.lua:90
msgid "Slade Block"
msgstr ""
#: df_underworld_items\slade.lua:106
msgid "Slade Seal"
msgstr ""
#: df_underworld_items\slade.lua:154
msgid "Slade Stair"
msgstr ""
#: df_underworld_items\slade.lua:155
msgid "Slade Slab"
msgstr ""

View File

@ -0,0 +1,29 @@
Active Slade Breacher=
Breach in the Slade=
Bright glowing stones of unknown origin found lodged in the crevices of the underworld's ceiling.=
Glowing Amethyst Block=
Glowing Pit Plasma=
Glowing purple crystals that grow through holes in the foundation of the world.=
In fact, Slade is impervious to conventional mining entirely.=
Inscribed Slade Block=
Lightseam=
Slade=
Slade Block=
Slade Block Slab=
Slade Block Stair=
Slade Brick=
Slade Capstone=
Slade Puzzle Seal=
Slade Sand=
Slade Seal=
Slade Slab=
Slade Stair=
Slade Wall=
Slade is extremely hard to work with so it has little use.=
The liquid found in the deepest pits in the underworld is highly dangerous and damaging.=
The only use for this material is that it destroys whatever is thrown into it. It cannot otherwise be manipulated.=
The very foundation of the world, Slade is a mysterious ultra-dense substance.=
These crystals have no known use.=
These stones are highly volatile and should not be disturbed.=
This block of Slade, carved by an unknown hand, is engraved with mysterious symbols. Most of the engraving's meaning is lost to the mists of time but one frament in the oldest known language can be translated: "This place is not a place of honor."=
Turn=

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_underworld_items
description = Various node types used by the dfcaverns mapgen mod for its underworld layer.
depends = default
optional_depends = intllib, doc, radiant_damage, mesecons_mvps, tnt, stairs
optional_depends = doc, radiant_damage, mesecons_mvps, tnt, stairs

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_underworld_items.S
local named_waypoints_path = minetest.get_modpath("named_waypoints")

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_underworld_items.S
local invulnerable = df_underworld_items.config.invulnerable_slade and not minetest.settings:get_bool("creative_mode")

209
i18n.py Normal file
View File

@ -0,0 +1,209 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Script to generate the template file and update the translation files.
# Copy the script into the mod or modpack root folder and run it there.
#
# Copyright (C) 2019 Joachim Stolberg
# LGPLv2.1+
from __future__ import print_function
import os, fnmatch, re, shutil, errno
#group 2 will be the string, groups 1 and 3 will be the delimiters (" or ')
#See https://stackoverflow.com/questions/46967465/regex-match-text-in-either-single-or-double-quote
#TODO: support [[]] delimiters
pattern_lua = re.compile(r'[\.=^\t,{\(\s]N?S\(\s*(["\'])((?:\\\1|(?:(?!\1)).)*)(\1)[\s,\)]', re.DOTALL)
# Handles "concatenation" .. " of strings"
pattern_concat = re.compile(r'["\'][\s]*\.\.[\s]*["\']', re.DOTALL)
pattern_tr = re.compile(r'(.+?[^@])=(.+)')
pattern_name = re.compile(r'^name[ ]*=[ ]*([^ \n]*)')
pattern_tr_filename = re.compile(r'\.tr$')
pattern_po_language_code = re.compile(r'(.*)\.po$')
#attempt to read the mod's name from the mod.conf file. Returns None on failure
def get_modname(folder):
try:
with open(folder + "mod.conf", "r", encoding='utf-8') as mod_conf:
for line in mod_conf:
match = pattern_name.match(line)
if match:
return match.group(1)
except FileNotFoundError:
pass
return None
#If there are already .tr files in /locale, returns a list of their names
def get_existing_tr_files(folder):
out = []
for root, dirs, files in os.walk(folder + 'locale/'):
for name in files:
if pattern_tr_filename.search(name):
out.append(name)
return out
# A series of search and replaces that massage a .po file's contents into
# a .tr file's equivalent
def process_po_file(text):
text = re.sub(r'#.*\n', "", text)
text = re.sub(r'msgid "', "", text)
text = re.sub(r'"\nmsgstr ""\n"', "=", text)
text = re.sub(r'"\nmsgstr "', "=", text)
text = re.sub(r'"\n"', "", text)
text = re.sub(r'"\n', "\n", text)
text = re.sub(r'\\"', '"', text)
text = re.sub(r'\\n', '@n', text)
text = re.sub(r'=Project-Id-Version:.*\n', "", text)
text = re.sub(r'\n\n', '\n', text)
return text
# Go through existing .po files and, if a .tr file for that language
# *doesn't* exist, convert it and create it.
# The .tr file that results will subsequently be reprocessed so
# any "no longer used" strings will be preserved.
# Note that "fuzzy" tags will be lost in this process.
def process_po_files(folder, modname):
for root, dirs, files in os.walk(folder + 'locale/'):
for name in files:
code_match = pattern_po_language_code.match(name)
if code_match == None:
continue
language_code = code_match.group(1)
tr_name = modname + "." + language_code + ".tr"
tr_file = os.path.join(root, tr_name)
if os.path.exists(tr_file):
print(tr_name + " already exists, ignoring " + name)
continue
fname = os.path.join(root, name)
with open(fname, "r", encoding='utf-8') as po_file:
print("Importing translations from " + name)
text = process_po_file(po_file.read())
with open(tr_file, "wt", encoding='utf-8') as tr_out:
tr_out.write(text)
# from https://stackoverflow.com/questions/600268/mkdir-p-functionality-in-python/600612#600612
# Creates a directory if it doesn't exist, silently does
# nothing if it already exists
def mkdir_p(path):
try:
os.makedirs(path)
except OSError as exc: # Python >2.5
if exc.errno == errno.EEXIST and os.path.isdir(path):
pass
else: raise
# Writes a template.txt file
def write_template(templ_file, lkeyStrings):
lOut = []
lkeyStrings.sort()
for s in lkeyStrings:
lOut.append("%s=" % s)
mkdir_p(os.path.dirname(templ_file))
with open(templ_file, "wt", encoding='utf-8') as template_file:
template_file.write("\n".join(lOut))
# Gets all translatable strings from a lua file
def read_lua_file_strings(lua_file):
lOut = []
with open(lua_file, encoding='utf-8') as text_file:
text = text_file.read()
text = re.sub(pattern_concat, "", text)
for s in pattern_lua.findall(text):
s = s[1]
s = re.sub(r'"\.\.\s+"', "", s)
s = re.sub("@[^@=0-9]", "@@", s)
s = s.replace('\\"', '"')
s = s.replace("\\'", "'")
s = s.replace("\n", "@n")
s = s.replace("\\n", "@n")
s = s.replace("=", "@=")
lOut.append(s)
return lOut
# Gets strings from an existing translation file
def import_tr_file(tr_file):
dOut = {}
if os.path.exists(tr_file):
with open(tr_file, "r", encoding='utf-8') as existing_file :
for line in existing_file.readlines():
s = line.strip()
if s == "" or s[0] == "#":
continue
match = pattern_tr.match(s)
if match:
dOut[match.group(1)] = match.group(2)
return dOut
# Walks all lua files in the mod folder, collects translatable strings,
# and writes it to a template.txt file
def generate_template(folder):
lOut = []
for root, dirs, files in os.walk(folder):
for name in files:
if fnmatch.fnmatch(name, "*.lua"):
fname = os.path.join(root, name)
found = read_lua_file_strings(fname)
print(fname + ": " + str(len(found)) + " translatable strings")
lOut.extend(found)
lOut = list(set(lOut))
lOut.sort()
if len(lOut) == 0:
return None
templ_file = folder + "locale/template.txt"
write_template(templ_file, lOut)
return lOut
# Updates an existing .tr file, copying the old one to a ".old" file
def update_tr_file(lNew, mod_name, tr_file):
print("updating " + tr_file)
lOut = ["# textdomain: %s\n" % mod_name]
#TODO only make a .old if there are actual changes from the old file
if os.path.exists(tr_file):
shutil.copyfile(tr_file, tr_file+".old")
dOld = import_tr_file(tr_file)
for key in lNew:
val = dOld.get(key, "")
lOut.append("%s=%s" % (key, val))
lOut.append("##### not used anymore #####")
for key in dOld:
if key not in lNew:
lOut.append("%s=%s" % (key, dOld[key]))
with open(tr_file, "w", encoding='utf-8') as new_tr_file:
new_tr_file.write("\n".join(lOut))
# Updates translation files for the mod in the given folder
def update_mod(folder):
modname = get_modname(folder)
if modname is not None:
process_po_files(folder, modname)
print("Updating translations for " + modname)
data = generate_template(folder)
if data == None:
print("No translatable strings found in " + modname)
else:
for tr_file in get_existing_tr_files(folder):
update_tr_file(data, modname, folder + "locale/" + tr_file)
else:
print("Unable to find modname in folder " + folder)
def update_folder(folder):
is_modpack = os.path.exists(folder+"modpack.txt") or os.path.exists(folder+"modpack.conf")
if is_modpack:
subfolders = [f.path for f in os.scandir(folder) if f.is_dir()]
for subfolder in subfolders:
update_mod(subfolder + "/")
else:
update_mod(folder)
print("Done.")
update_folder("./")
# Runs this script on each sub-folder in the parent folder.
# I'm using this for testing this script on all installed mods.
#for modfolder in [f.path for f in os.scandir("../") if f.is_dir()]:
# update_folder(modfolder + "/")

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 modname = minetest.get_current_modname()
local S = minetest.get_translator(modname)
local ice_sprite_desc
local ice_sprite_usage

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

@ -1,50 +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: 2018-12-24 16:51-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"
#: ice_sprites\init.lua:11
msgid ""
"Ice sprites are mysterious glowing insect-like creatures that appear to be "
"made partly of crystalized water."
msgstr ""
#: ice_sprites\init.lua:14
msgid ""
"Ice sprites can be caught with nets and placed in bottles as sources of "
"light and freezing cold."
msgstr ""
#: ice_sprites\init.lua:16
msgid "A bottle containing a captured ice sprite."
msgstr ""
#: ice_sprites\init.lua:17
msgid "Ice sprites radiate both light and freezing cold."
msgstr ""
#: ice_sprites\init.lua:22
msgid "Ice Sprite"
msgstr ""
#: ice_sprites\init.lua:71
msgid "Hidden Ice Sprite"
msgstr ""
#: ice_sprites\init.lua:109
msgid "Ice Sprite in a Bottle"
msgstr ""

View File

@ -0,0 +1,7 @@
A bottle containing a captured ice sprite.=
Hidden Ice Sprite=
Ice Sprite=
Ice Sprite in a Bottle=
Ice sprites are mysterious glowing insect-like creatures that appear to be made partly of crystalized water.=
Ice sprites can be caught with nets and placed in bottles as sources of light and freezing cold.=
Ice sprites radiate both light and freezing cold.=

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%

Some files were not shown because too many files have changed in this diff Show More