forked from minetest-mods/technic
Add german translations for all mods
This commit is contained in:
parent
db20250371
commit
39c41a06f4
|
@ -1 +1,3 @@
|
||||||
default
|
default
|
||||||
|
intllib?
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,14 @@
|
||||||
local technic = technic or {}
|
local technic = technic or {}
|
||||||
technic.concrete_posts = {}
|
technic.concrete_posts = {}
|
||||||
|
|
||||||
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
|
local S
|
||||||
|
if intllib then
|
||||||
|
S = intllib.Getter()
|
||||||
|
else
|
||||||
|
S = function(s) return s end
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_alias("technic:concrete_post", "technic:concrete_post0")
|
minetest.register_alias("technic:concrete_post", "technic:concrete_post0")
|
||||||
minetest.register_alias("technic:concrete_post32", "technic:concrete_post12")
|
minetest.register_alias("technic:concrete_post32", "technic:concrete_post12")
|
||||||
minetest.register_alias("technic:concrete_post33", "technic:concrete_post3")
|
minetest.register_alias("technic:concrete_post33", "technic:concrete_post3")
|
||||||
|
@ -61,12 +69,12 @@ local box_x2 = {0, -0.3, -0.1, -0.5, 0.3, 0.1}
|
||||||
local box_z2 = {-0.1, -0.3, 0, 0.1, 0.3, -0.5}
|
local box_z2 = {-0.1, -0.3, 0, 0.1, 0.3, -0.5}
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:rebar", {
|
minetest.register_craftitem(":technic:rebar", {
|
||||||
description = "Rebar",
|
description = S("Rebar"),
|
||||||
inventory_image = "technic_rebar.png",
|
inventory_image = "technic_rebar.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:concrete", {
|
minetest.register_node(":technic:concrete", {
|
||||||
description = "Concrete Block",
|
description = S("Concrete Block"),
|
||||||
tile_images = {"technic_concrete_block.png",},
|
tile_images = {"technic_concrete_block.png",},
|
||||||
groups = {cracky=1, level=2, concrete=1},
|
groups = {cracky=1, level=2, concrete=1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -79,7 +87,7 @@ minetest.register_node(":technic:concrete", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:blast_resistant_concrete", {
|
minetest.register_node(":technic:blast_resistant_concrete", {
|
||||||
description = "Blast-resistant Concrete Block",
|
description = S("Blast-resistant Concrete Block"),
|
||||||
tile_images = {"technic_blast_resistant_concrete_block.png",},
|
tile_images = {"technic_blast_resistant_concrete_block.png",},
|
||||||
groups={cracky=1, level=3, concrete=1},
|
groups={cracky=1, level=3, concrete=1},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -92,7 +100,7 @@ minetest.register_node(":technic:blast_resistant_concrete", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:concrete_post_platform", {
|
minetest.register_node(":technic:concrete_post_platform", {
|
||||||
description = "Concrete Post Platform",
|
description = S("Concrete Post Platform"),
|
||||||
tile_images = {"technic_concrete_block.png",},
|
tile_images = {"technic_concrete_block.png",},
|
||||||
groups={cracky=1, level=2},
|
groups={cracky=1, level=2},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -222,7 +230,7 @@ for platform = 0, 1 do
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node(":technic:concrete_post"..id, {
|
minetest.register_node(":technic:concrete_post"..id, {
|
||||||
description = "Concrete Post",
|
description = S("Concrete Post"),
|
||||||
tiles = {"technic_concrete_block.png"},
|
tiles = {"technic_concrete_block.png"},
|
||||||
groups = groups,
|
groups = groups,
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
|
10
concrete/locale/de.txt
Normal file
10
concrete/locale/de.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# German Translation for technic_concrete
|
||||||
|
# Deutsche Übersetzung von technic_concrete
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
Rebar = Bewehrungsstab
|
||||||
|
Concrete Block = Betonblock
|
||||||
|
Blast-resistant Concrete Block = Explosionsbestaendiger Betonblock
|
||||||
|
Concrete Post Platform = Betonpfostenplattform
|
||||||
|
Concrete Post = Betonpfosten
|
||||||
|
|
8
concrete/locale/template.txt
Normal file
8
concrete/locale/template.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# technic_concrete translation template
|
||||||
|
|
||||||
|
Rebar =
|
||||||
|
Concrete Block =
|
||||||
|
Blast-resistant Concrete Block =
|
||||||
|
Concrete Post Platform =
|
||||||
|
Concrete Post =
|
||||||
|
|
|
@ -2,3 +2,5 @@ default
|
||||||
moreblocks
|
moreblocks
|
||||||
technic_worldgen
|
technic_worldgen
|
||||||
concrete
|
concrete
|
||||||
|
intllib?
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
-- Minetest 0.4.6 mod: extranodes
|
-- Minetest 0.4.6 mod: extranodes
|
||||||
-- namespace: technic
|
-- namespace: technic
|
||||||
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
|
local S
|
||||||
|
if intllib then
|
||||||
|
S = intllib.Getter()
|
||||||
|
else
|
||||||
|
S = function(s) return s end
|
||||||
|
end
|
||||||
--register stairslike nodes
|
--register stairslike nodes
|
||||||
register_stair_slab_panel_micro("technic", "marble", "technic:marble",
|
register_stair_slab_panel_micro("technic", "marble", "technic:marble",
|
||||||
{cracky=2, not_in_creative_inventory=1},
|
{cracky=2, not_in_creative_inventory=1},
|
||||||
{"technic_marble.png"},
|
{"technic_marble.png"},
|
||||||
"Marble",
|
S("Marble"),
|
||||||
"marble",
|
"marble",
|
||||||
"facedir",
|
"facedir",
|
||||||
0)
|
0)
|
||||||
|
@ -13,7 +19,7 @@ register_stair_slab_panel_micro("technic", "marble", "technic:marble",
|
||||||
register_stair_slab_panel_micro("technic", "marble_bricks", "technic:marble_bricks",
|
register_stair_slab_panel_micro("technic", "marble_bricks", "technic:marble_bricks",
|
||||||
{cracky=2, not_in_creative_inventory=1},
|
{cracky=2, not_in_creative_inventory=1},
|
||||||
{"technic_marble_bricks.png"},
|
{"technic_marble_bricks.png"},
|
||||||
"Marble Bricks",
|
S("Marble Bricks"),
|
||||||
"marble_bricks",
|
"marble_bricks",
|
||||||
"facedir",
|
"facedir",
|
||||||
0)
|
0)
|
||||||
|
@ -21,7 +27,7 @@ register_stair_slab_panel_micro("technic", "marble_bricks", "technic:marble_bric
|
||||||
register_stair_slab_panel_micro("technic", "granite", "technic:granite",
|
register_stair_slab_panel_micro("technic", "granite", "technic:granite",
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
{"technic_granite.png"},
|
{"technic_granite.png"},
|
||||||
"Granite",
|
S("Granite"),
|
||||||
"granite",
|
"granite",
|
||||||
"facedir",
|
"facedir",
|
||||||
0)
|
0)
|
||||||
|
@ -29,7 +35,7 @@ register_stair_slab_panel_micro("technic", "granite", "technic:granite",
|
||||||
register_stair_slab_panel_micro("technic", "concrete", "technic:concrete",
|
register_stair_slab_panel_micro("technic", "concrete", "technic:concrete",
|
||||||
{cracky=3, not_in_creative_inventory=1},
|
{cracky=3, not_in_creative_inventory=1},
|
||||||
{"technic_concrete_block.png"},
|
{"technic_concrete_block.png"},
|
||||||
"Concrete",
|
S("Concrete"),
|
||||||
"concrete",
|
"concrete",
|
||||||
"facedir",
|
"facedir",
|
||||||
0)
|
0)
|
||||||
|
|
9
extranodes/locale/de.txt
Normal file
9
extranodes/locale/de.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# German Translation for technic_extranodes
|
||||||
|
# Deutsche Übersetzung von technic_extranodes
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
Marble = Marmor
|
||||||
|
Marble Bricks = Marmorziegel
|
||||||
|
Granite = Granit
|
||||||
|
Concrete = Beton
|
||||||
|
|
7
extranodes/locale/template.txt
Normal file
7
extranodes/locale/template.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# technic_extranodes translation template
|
||||||
|
|
||||||
|
Marble =
|
||||||
|
Marble Bricks =
|
||||||
|
Granite =
|
||||||
|
Concrete =
|
||||||
|
|
180
technic/locale/de.txt
Normal file
180
technic/locale/de.txt
Normal file
|
@ -0,0 +1,180 @@
|
||||||
|
# German Translation for Technic Mod
|
||||||
|
# Deutsche Uebersetzung des Technic Mods
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
## Misc
|
||||||
|
[Technic] Loaded in %f seconds = [Technic] ist in %f Sekunden geladen
|
||||||
|
|
||||||
|
## Items
|
||||||
|
Silicon Wafer = Siliziumscheibe
|
||||||
|
Doped Silicon Wafer = Dotierte Siliziumscheibe
|
||||||
|
Enriched Uranium = Angereichertes Uran
|
||||||
|
Uranium Fuel = Uranbrennstoff
|
||||||
|
Diamond Drill Head = Diamantbohrkopf
|
||||||
|
Blue Energy Crystal = Blauer Energiekristall
|
||||||
|
Green Energy Crystal = Gruener Energiekristall
|
||||||
|
Red Energy Crystal = Roter Energiekristall
|
||||||
|
Fine Copper Wire = Feinkupferdraht
|
||||||
|
Copper Coil = Kupferspule
|
||||||
|
Electric Motor = Elektromotor
|
||||||
|
Low Voltage Transformer = Niederspannungstransformator
|
||||||
|
Medium Voltage Transformer = Mittelspannungstransformator
|
||||||
|
High Voltage Transformer = Hochspannungstransformator
|
||||||
|
Control Logic Unit = Steuer- und Regelungseinheit
|
||||||
|
Mixed Metal Ingot = Mischmetallbarren
|
||||||
|
Composite Plate = Verbundplatte
|
||||||
|
Copper Plate = Kupferplatte
|
||||||
|
Carbon Plate = Kohlefaserplatte
|
||||||
|
Graphite = Graphit
|
||||||
|
Carbon Cloth = Kohlefasergewebe
|
||||||
|
Raw Latex = Rohlatex
|
||||||
|
Rubber Fiber = Gummifaser
|
||||||
|
|
||||||
|
## Machine misc
|
||||||
|
Machine cannot be removed because it is not empty = Die Maschine kann nicht entfernt werden, weil sie noch nicht leer ist.
|
||||||
|
Inventory move disallowed due to protection = Das Inventar ist geschuetzt, Zugriff verweigert.
|
||||||
|
# $1: Machine name (Includes tier)
|
||||||
|
%s Active = %s ist eingeschaltet
|
||||||
|
%s Disabled = %s ist ausgeschaltet
|
||||||
|
%s Idle = %s ist bereit
|
||||||
|
%s Improperly Placed = %s ist falsch plaziert
|
||||||
|
%s Unpowered = %s hat keine Stromversorgung
|
||||||
|
%s Out Of Fuel = %s hat keinen Brennstoff
|
||||||
|
%s Has Bad Cabling = %s ist falsch verkabelt
|
||||||
|
%s Has No Network = %s hat kein Netzwerk
|
||||||
|
%s Finished = %s ist fertig
|
||||||
|
Enable/Disable = Einschalten/Ausschalten
|
||||||
|
Range = Reichweite
|
||||||
|
Upgrade Slots = Verbesserungsfaecher
|
||||||
|
In: = Rein:
|
||||||
|
Out: = Raus:
|
||||||
|
Slot %d = Fach %d
|
||||||
|
Mode: %s = Methode: %s
|
||||||
|
single items = Einzelstuecke
|
||||||
|
whole stacks = Ganzer Stapel
|
||||||
|
|
||||||
|
## Machine names
|
||||||
|
# $1: Tier
|
||||||
|
%s Alloy Furnace = %s Legierungsofen
|
||||||
|
%s Battery Box = %s Batteriebox
|
||||||
|
%s Cable = %s Kabel
|
||||||
|
%s Electric Furnace = %s Elektro-Ofen
|
||||||
|
%s Grinder = %s Schleifmaschine
|
||||||
|
%s Generator = %s Generator
|
||||||
|
%s Solar Array = %s Solaranlage
|
||||||
|
Injector = Injektor
|
||||||
|
Constructor Mk%d = Konstruktor Modell %d
|
||||||
|
Frame = Rahmen
|
||||||
|
Frame Motor = Rahmenmotor
|
||||||
|
Template = Schablone
|
||||||
|
Template (replacing) = Schablone (ersetzend)
|
||||||
|
Template motor = Schablonenmotor
|
||||||
|
Template tool = Schablonenwerkzeug
|
||||||
|
Battery Box = Batteriebox
|
||||||
|
Supply Converter = Stromumwandler
|
||||||
|
Switching Station = Schaltanlage
|
||||||
|
CNC Machine = CNC-Maschine
|
||||||
|
Coal Alloy Furnace = Kohle-Legierungsofen
|
||||||
|
Extractor = Extraktor
|
||||||
|
Compressor = Kompressor
|
||||||
|
Solar Panel = Solarmodul
|
||||||
|
Geothermal Generator = Geothermie-Generator
|
||||||
|
Music Player = Musikspieler
|
||||||
|
Water Mill = Wassermuehle
|
||||||
|
Tool Workshop = Werkzeugwerkstatt
|
||||||
|
Wind Mill = Windmuehle
|
||||||
|
Wind Mill Frame = Windmuehlengeruest
|
||||||
|
Forcefield Emitter = Kraftfeld-Emitter
|
||||||
|
Forcefield = Kraftfeld
|
||||||
|
Nuclear Reactor Core = Reaktorkern
|
||||||
|
Nuclear Reactor Rod Compartment = Brennstabfaecher
|
||||||
|
Quarry = Steinbruch
|
||||||
|
|
||||||
|
## Machine-specific
|
||||||
|
# $1: Pruduced EU
|
||||||
|
Charge = Aufladen
|
||||||
|
Discharge = Entladen
|
||||||
|
Power level = Energiestufe
|
||||||
|
# $1: Tier $2: current_charge $3: max_charge
|
||||||
|
%s Battery Box: %d/%d = %s Batteriebox: %d/%d
|
||||||
|
# $1: Machine name $2: Supply $3: Demand
|
||||||
|
%s. Supply: %d Demand: %d = %s. Versorgung: %d Bedarf: %d
|
||||||
|
Production at %d%% = Produktion bei %d%%
|
||||||
|
Choose Milling Program: = Waehle ein Fraesprogramm:
|
||||||
|
Slim Elements half / normal height: = Schmale Elemente von halber / normaler Hoehe:
|
||||||
|
Current track %s = Aktueller Titel %s
|
||||||
|
|
||||||
|
## CNC
|
||||||
|
Cylinder = Zylinder
|
||||||
|
Element Cross = Halbes Kreuzelement
|
||||||
|
Element Cross Double = Kreuzelement
|
||||||
|
Element Edge = Halbes Eckelement
|
||||||
|
Element Edge Double = Eckelement
|
||||||
|
Element End = Halbes Endelement
|
||||||
|
Element End Double = Endelement
|
||||||
|
Element Straight = Halbes aufrechtes Element
|
||||||
|
Element Straight Double = Aufrechtes Element
|
||||||
|
Element T = Halbes T-Element
|
||||||
|
Element T Double = T-Element
|
||||||
|
Horizontal Cylinder = Liegender Zylinder
|
||||||
|
One Curved Edge Block = Block mit einer abgerundeten Kante
|
||||||
|
Pyramid = Pyramide
|
||||||
|
Slope = Schraege
|
||||||
|
Slope Edge = Schraege mit Ecke
|
||||||
|
Slope Inner Edge = Schraege mit Innenecke
|
||||||
|
Slope Lying = Liegende Schraege
|
||||||
|
Slope Upside Down = Umgedrehte Schraege
|
||||||
|
Slope Upside Down Edge = Umgedrehte Schraege mit Ecke
|
||||||
|
Slope Upside Down Inner Edge = Umgedrehte Schraege mit Innenecke
|
||||||
|
Sphere = Kugel
|
||||||
|
Spike = Spitze
|
||||||
|
Stick = Stange
|
||||||
|
Two Curved Edge Block = Block mit zwei abgerundeten Kanten
|
||||||
|
Brick = Ziegel:
|
||||||
|
Cobble = Pflasterstein:
|
||||||
|
Dirt = Erde:
|
||||||
|
Leaves = Laub:
|
||||||
|
Sandstone = Sandstein:
|
||||||
|
Steel = Stahl:
|
||||||
|
Stone = Stein:
|
||||||
|
Tree = Baumstamm:
|
||||||
|
Wooden = Holz:
|
||||||
|
|
||||||
|
## Grinder Recipes
|
||||||
|
# $1: Name
|
||||||
|
%s Dust = %sstaub
|
||||||
|
Akalin = Akalin
|
||||||
|
Alatro = Alatro
|
||||||
|
Arol = Arol
|
||||||
|
Brass = Messing
|
||||||
|
Bronze = Bronze
|
||||||
|
Chromium = Chrom
|
||||||
|
Coal = Kohle
|
||||||
|
Copper = Kupfer
|
||||||
|
Gold = Gold
|
||||||
|
Iron = Eisen
|
||||||
|
Mithril = Mithril
|
||||||
|
Silver = Silber
|
||||||
|
Stainless Steel = Edelstahl
|
||||||
|
Talinite = Talinite
|
||||||
|
Tin = Zinn
|
||||||
|
Zinc = Zink
|
||||||
|
|
||||||
|
## Tools
|
||||||
|
RE Battery = Akkubatterie
|
||||||
|
Water Can = Wasserkanister
|
||||||
|
Lava Can = Lavakanister
|
||||||
|
Chainsaw = Kettensaege
|
||||||
|
Flashlight = Taschenlampe
|
||||||
|
3 nodes deep. = 3 Bloecke tief.
|
||||||
|
3 nodes tall. = 3 Bloecke hoch.
|
||||||
|
3 nodes wide. = 3 Bloecke breit.
|
||||||
|
3x3 nodes. = 3x3 Bloecke.
|
||||||
|
Hold shift and use to change Mining Drill Mk%d modes. = Halte die Shift-Taste beim Benutzen gedrueckt, um die Funktion des Bergbaubohrers Modell %d zu aendern.
|
||||||
|
Mining Drill Mk%d Mode %d = Bergbaubohrer Modell %d Funktion %d
|
||||||
|
Mining Drill Mk%d = Bergbaubohrer Modell %d
|
||||||
|
Mining Laser Mk%d = Bergbaulaser Modell %d
|
||||||
|
Single node. = Einzelblock
|
||||||
|
Sonic Screwdriver = Schallschraubendreher
|
||||||
|
Tree Tap = Baumzapfhahn
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# es.txt
|
|
||||||
# Spanish Translation for Technic Mod
|
# Spanish Translation for Technic Mod
|
||||||
# Traduccion al Español del Mod Technic
|
# Traduccion al Español del Mod Technic
|
||||||
# Autor: Diego Martínez <kaeza>
|
# Autor: Diego Martínez <kaeza>
|
||||||
|
|
|
@ -45,7 +45,13 @@ Inventory move disallowed due to protection =
|
||||||
%s Finished =
|
%s Finished =
|
||||||
Enable/Disable =
|
Enable/Disable =
|
||||||
Range =
|
Range =
|
||||||
|
Upgrade Slots =
|
||||||
|
In: =
|
||||||
|
Out: =
|
||||||
|
Slot %d =
|
||||||
|
Mode: %s =
|
||||||
|
single items =
|
||||||
|
whole stacks =
|
||||||
|
|
||||||
## Machine names
|
## Machine names
|
||||||
# $1: Tier
|
# $1: Tier
|
||||||
|
@ -94,6 +100,9 @@ Power level =
|
||||||
# $1: Machine name $2: Supply $3: Demand
|
# $1: Machine name $2: Supply $3: Demand
|
||||||
%s. Supply: %d Demand: %d =
|
%s. Supply: %d Demand: %d =
|
||||||
Production at %d%% =
|
Production at %d%% =
|
||||||
|
Choose Milling Program: =
|
||||||
|
Slim Elements half / normal height: =
|
||||||
|
Current track %s =
|
||||||
|
|
||||||
## CNC
|
## CNC
|
||||||
Cylinder =
|
Cylinder =
|
||||||
|
|
|
@ -37,7 +37,7 @@ local twosize_products = {
|
||||||
|
|
||||||
local cnc_formspec =
|
local cnc_formspec =
|
||||||
"invsize[9,11;]"..
|
"invsize[9,11;]"..
|
||||||
"label[1,0;Choose Milling Program:]"..
|
"label[1,0;"..S("Choose Milling Program:").."]"..
|
||||||
"image_button[1,0.5;1,1;technic_cnc_slope.png;slope; ]"..
|
"image_button[1,0.5;1,1;technic_cnc_slope.png;slope; ]"..
|
||||||
"image_button[2,0.5;1,1;technic_cnc_slope_edge.png;slope_edge; ]"..
|
"image_button[2,0.5;1,1;technic_cnc_slope_edge.png;slope_edge; ]"..
|
||||||
"image_button[3,0.5;1,1;technic_cnc_slope_inner_edge.png;slope_inner_edge; ]"..
|
"image_button[3,0.5;1,1;technic_cnc_slope_inner_edge.png;slope_inner_edge; ]"..
|
||||||
|
@ -56,7 +56,7 @@ local cnc_formspec =
|
||||||
"image_button[2,2.5;1,1;technic_cnc_onecurvededge.png;onecurvededge; ]"..
|
"image_button[2,2.5;1,1;technic_cnc_onecurvededge.png;onecurvededge; ]"..
|
||||||
"image_button[3,2.5;1,1;technic_cnc_twocurvededge.png;twocurvededge; ]"..
|
"image_button[3,2.5;1,1;technic_cnc_twocurvededge.png;twocurvededge; ]"..
|
||||||
|
|
||||||
"label[1,3.5;Slim Elements half / normal height:]"..
|
"label[1,3.5;"..S("Slim Elements half / normal height:").."]"..
|
||||||
|
|
||||||
"image_button[1,4;1,0.5;technic_cnc_full.png;full; ]"..
|
"image_button[1,4;1,0.5;technic_cnc_full.png;full; ]"..
|
||||||
"image_button[1,4.5;1,0.5;technic_cnc_half.png;half; ]"..
|
"image_button[1,4.5;1,0.5;technic_cnc_half.png;half; ]"..
|
||||||
|
@ -66,9 +66,9 @@ local cnc_formspec =
|
||||||
"image_button[5,4;1,1;technic_cnc_element_t.png;element_t; ]"..
|
"image_button[5,4;1,1;technic_cnc_element_t.png;element_t; ]"..
|
||||||
"image_button[6,4;1,1;technic_cnc_element_edge.png;element_edge; ]"..
|
"image_button[6,4;1,1;technic_cnc_element_edge.png;element_edge; ]"..
|
||||||
|
|
||||||
"label[0, 5.5;In:]"..
|
"label[0, 5.5;"..S("In:").."]"..
|
||||||
"list[current_name;src;0.5,5.5;1,1;]"..
|
"list[current_name;src;0.5,5.5;1,1;]"..
|
||||||
"label[4, 5.5;Out:]"..
|
"label[4, 5.5;"..S("Out:").."]"..
|
||||||
"list[current_name;dst;5,5.5;4,1;]"..
|
"list[current_name;dst;5,5.5;4,1;]"..
|
||||||
|
|
||||||
"list[current_player;main;0,7;8,4;]"
|
"list[current_player;main;0,7;8,4;]"
|
||||||
|
|
|
@ -29,7 +29,7 @@ local music_player_formspec =
|
||||||
"button[6,3;1,1;track9;9]"..
|
"button[6,3;1,1;track9;9]"..
|
||||||
"button[4,4;1,2;play;Play]"..
|
"button[4,4;1,2;play;Play]"..
|
||||||
"button[6,4;1,2;stop;Stop]"..
|
"button[6,4;1,2;stop;Stop]"..
|
||||||
"label[4,0;Current track --]"
|
"label[4,0;"..S("Current track %s"):format("--").."]"
|
||||||
|
|
||||||
local function play_track(pos, track)
|
local function play_track(pos, track)
|
||||||
return minetest.sound_play("technic_track"..tostring(track),
|
return minetest.sound_play("technic_track"..tostring(track),
|
||||||
|
@ -78,8 +78,8 @@ minetest.register_node("technic:music_player", {
|
||||||
"button[6,3;1,1;track9;9]"..
|
"button[6,3;1,1;track9;9]"..
|
||||||
"button[4,4;1,2;play;Play]"..
|
"button[4,4;1,2;play;Play]"..
|
||||||
"button[6,4;1,2;stop;Stop]"..
|
"button[6,4;1,2;stop;Stop]"..
|
||||||
"label[4,0;Current track "
|
"label[4,0;"..S("Current track %s")
|
||||||
..current_track.."]")
|
:format(current_track).."]")
|
||||||
if fields.play then
|
if fields.play then
|
||||||
if music_handle then
|
if music_handle then
|
||||||
minetest.sound_stop(music_handle)
|
minetest.sound_stop(music_handle)
|
||||||
|
|
|
@ -134,7 +134,7 @@ minetest.register_node("technic:constructor_mk1_off", {
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
"invsize[8,9;]"..
|
"invsize[8,9;]"..
|
||||||
"label[0,0;"..S("Constructor Mk%d"):format(1).."]"..
|
"label[0,0;"..S("Constructor Mk%d"):format(1).."]"..
|
||||||
"label[5,0;Slot 1]"..
|
"label[5,0;"..S("Slot %d"):format(1).."]"..
|
||||||
"list[current_name;slot1;6,0;1,1;]"..
|
"list[current_name;slot1;6,0;1,1;]"..
|
||||||
"list[current_player;main;0,5;8,4;]")
|
"list[current_player;main;0,5;8,4;]")
|
||||||
meta:set_string("infotext", S("Constructor Mk%d"):format(1))
|
meta:set_string("infotext", S("Constructor Mk%d"):format(1))
|
||||||
|
@ -215,9 +215,9 @@ minetest.register_node("technic:constructor_mk2_off", {
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
"invsize[8,9;]"..
|
"invsize[8,9;]"..
|
||||||
"label[0,0;"..S("Constructor Mk%d"):format(2).."]"..
|
"label[0,0;"..S("Constructor Mk%d"):format(2).."]"..
|
||||||
"label[5,0;Slot 1]"..
|
"label[5,0;"..S("Slot %d"):format(1).."]"..
|
||||||
"list[current_name;slot1;6,0;1,1;]"..
|
"list[current_name;slot1;6,0;1,1;]"..
|
||||||
"label[5,1;Slot 2]"..
|
"label[5,1;"..S("Slot %d"):format(2).."]"..
|
||||||
"list[current_name;slot2;6,1;1,1;]"..
|
"list[current_name;slot2;6,1;1,1;]"..
|
||||||
"list[current_player;main;0,5;8,4;]")
|
"list[current_player;main;0,5;8,4;]")
|
||||||
meta:set_string("infotext", S("Constructor Mk%d"):format(2))
|
meta:set_string("infotext", S("Constructor Mk%d"):format(2))
|
||||||
|
@ -316,13 +316,13 @@ minetest.register_node("technic:constructor_mk3_off", {
|
||||||
meta:set_string("formspec",
|
meta:set_string("formspec",
|
||||||
"invsize[8,9;]"..
|
"invsize[8,9;]"..
|
||||||
"label[0,0;"..S("Constructor Mk%d"):format(3).."]"..
|
"label[0,0;"..S("Constructor Mk%d"):format(3).."]"..
|
||||||
"label[5,0;Slot 1]"..
|
"label[5,0;"..S("Slot %d"):format(1).."]"..
|
||||||
"list[current_name;slot1;6,0;1,1;]"..
|
"list[current_name;slot1;6,0;1,1;]"..
|
||||||
"label[5,1;Slot 2]"..
|
"label[5,1;"..S("Slot %d"):format(2).."]"..
|
||||||
"list[current_name;slot2;6,1;1,1;]"..
|
"list[current_name;slot2;6,1;1,1;]"..
|
||||||
"label[5,2;Slot 3]"..
|
"label[5,2;"..S("Slot %d"):format(3).."]"..
|
||||||
"list[current_name;slot3;6,2;1,1;]"..
|
"list[current_name;slot3;6,2;1,1;]"..
|
||||||
"label[5,3;Slot 4]"..
|
"label[5,3;"..S("Slot %d"):format(4).."]"..
|
||||||
"list[current_name;slot4;6,3;1,1;]"..
|
"list[current_name;slot4;6,3;1,1;]"..
|
||||||
"list[current_player;main;0,5;8,4;]")
|
"list[current_player;main;0,5;8,4;]")
|
||||||
meta:set_string("infotext", S("Constructor Mk%d"):format(3))
|
meta:set_string("infotext", S("Constructor Mk%d"):format(3))
|
||||||
|
|
|
@ -798,7 +798,7 @@ minetest.register_craftitem("technic:template_replacer",{
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_tool("technic:template_tool",{
|
minetest.register_tool("technic:template_tool",{
|
||||||
description = S("Template tool"),
|
description = S("Template Tool"),
|
||||||
inventory_image = "technic_template_tool.png",
|
inventory_image = "technic_template_tool.png",
|
||||||
on_use = function(itemstack, puncher, pointed_thing)
|
on_use = function(itemstack, puncher, pointed_thing)
|
||||||
local pos = pointed_thing.under
|
local pos = pointed_thing.under
|
||||||
|
@ -851,7 +851,7 @@ local function template_motor_on(pos, node)
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("technic:template_motor",{
|
minetest.register_node("technic:template_motor",{
|
||||||
description = S("Template motor"),
|
description = S("Template Motor"),
|
||||||
tiles = {"pipeworks_filter_top.png^[transformR90", "technic_lv_cable.png", "technic_lv_cable.png",
|
tiles = {"pipeworks_filter_top.png^[transformR90", "technic_lv_cable.png", "technic_lv_cable.png",
|
||||||
"technic_lv_cable.png", "technic_lv_cable.png", "technic_lv_cable.png"},
|
"technic_lv_cable.png", "technic_lv_cable.png", "technic_lv_cable.png"},
|
||||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,mesecon=2},
|
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2,mesecon=2},
|
||||||
|
|
|
@ -67,7 +67,7 @@ minetest.register_node("technic:injector", {
|
||||||
"invsize[8,9;]"..
|
"invsize[8,9;]"..
|
||||||
"label[0,0;"..S("Injector").."]"..
|
"label[0,0;"..S("Injector").."]"..
|
||||||
"button[0,1;.8,.8;mode;]"..
|
"button[0,1;.8,.8;mode;]"..
|
||||||
"label[.8,1;Mode: single items]"..
|
"label[.8,1;"..S("Mode: %s"):format("single items").."]"..
|
||||||
"list[current_name;main;0,2;8,2;]"..
|
"list[current_name;main;0,2;8,2;]"..
|
||||||
"list[current_player;main;0,5;8,4;]")
|
"list[current_player;main;0,5;8,4;]")
|
||||||
meta:set_string("infotext", S("Injector"))
|
meta:set_string("infotext", S("Injector"))
|
||||||
|
@ -95,7 +95,7 @@ minetest.register_node("technic:injector", {
|
||||||
"invsize[8,9;]"..
|
"invsize[8,9;]"..
|
||||||
"label[0,0;"..S("Injector").."]"..
|
"label[0,0;"..S("Injector").."]"..
|
||||||
"button[0,1;.8,.8;mode;]"..
|
"button[0,1;.8,.8;mode;]"..
|
||||||
"label[.8,1;Mode: "..mode.."]"..
|
"label[.8,1;"..S("Mode: %s"):format(S(mode)).."]"..
|
||||||
"list[current_name;main;0,2;8,2;]"..
|
"list[current_name;main;0,2;8,2;]"..
|
||||||
"list[current_player;main;0,5;8,4;]")
|
"list[current_player;main;0,5;8,4;]")
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -105,7 +105,7 @@ function technic.register_alloy_furnace(data)
|
||||||
formspec = formspec..
|
formspec = formspec..
|
||||||
"list[current_name;upgrade1;1,4;1,1;]"..
|
"list[current_name;upgrade1;1,4;1,1;]"..
|
||||||
"list[current_name;upgrade2;2,4;1,1;]"..
|
"list[current_name;upgrade2;2,4;1,1;]"..
|
||||||
"label[1,5;Upgrade Slots]"
|
"label[1,5;"..S("Upgrade Slots").."]"
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("technic:"..ltier.."_alloy_furnace", {
|
minetest.register_node("technic:"..ltier.."_alloy_furnace", {
|
||||||
|
|
|
@ -41,11 +41,11 @@ function technic.register_electric_furnace(data)
|
||||||
formspec = formspec..
|
formspec = formspec..
|
||||||
"list[current_name;upgrade1;1,4;1,1;]"..
|
"list[current_name;upgrade1;1,4;1,1;]"..
|
||||||
"list[current_name;upgrade2;2,4;1,1;]"..
|
"list[current_name;upgrade2;2,4;1,1;]"..
|
||||||
"label[1,5;Upgrade Slots]"
|
"label[1,5;"..S("Upgrade Slots").."]"
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("technic:"..ltier.."_electric_furnace", {
|
minetest.register_node("technic:"..ltier.."_electric_furnace", {
|
||||||
description = S("%s Electric furnace"):format(tier),
|
description = S("%s Electric Furnace"):format(tier),
|
||||||
tiles = {"technic_"..ltier.."_electric_furnace_top.png",
|
tiles = {"technic_"..ltier.."_electric_furnace_top.png",
|
||||||
"technic_"..ltier.."_electric_furnace_bottom.png",
|
"technic_"..ltier.."_electric_furnace_bottom.png",
|
||||||
tube_side_texture,
|
tube_side_texture,
|
||||||
|
@ -60,7 +60,7 @@ function technic.register_electric_furnace(data)
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local name = minetest.get_node(pos).name
|
local name = minetest.get_node(pos).name
|
||||||
meta:set_string("infotext", S("%s Electric furnace"):format(tier))
|
meta:set_string("infotext", S("%s Electric Furnace"):format(tier))
|
||||||
meta:set_int("tube_time", 0)
|
meta:set_int("tube_time", 0)
|
||||||
meta:set_string("formspec", formspec)
|
meta:set_string("formspec", formspec)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
@ -76,7 +76,7 @@ function technic.register_electric_furnace(data)
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("technic:"..ltier.."_electric_furnace_active", {
|
minetest.register_node("technic:"..ltier.."_electric_furnace_active", {
|
||||||
description = tier.." Electric furnace",
|
description = ("%s Electric Furnace"):format(tier),
|
||||||
tiles = {"technic_"..ltier.."_electric_furnace_top.png",
|
tiles = {"technic_"..ltier.."_electric_furnace_top.png",
|
||||||
"technic_"..ltier.."_electric_furnace_bottom.png",
|
"technic_"..ltier.."_electric_furnace_bottom.png",
|
||||||
tube_side_texture,
|
tube_side_texture,
|
||||||
|
@ -93,7 +93,7 @@ function technic.register_electric_furnace(data)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local name = minetest.get_node(pos).name
|
local name = minetest.get_node(pos).name
|
||||||
local data = minetest.registered_nodes[name].technic
|
local data = minetest.registered_nodes[name].technic
|
||||||
meta:set_string("infotext", S("%s Electric furnace"):format(tier))
|
meta:set_string("infotext", S("%s Electric Furnace"):format(tier))
|
||||||
meta:set_int("tube_time", 0)
|
meta:set_int("tube_time", 0)
|
||||||
meta:set_string("formspec", formspec)
|
meta:set_string("formspec", formspec)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
|
|
@ -34,12 +34,12 @@ function technic.register_grinder(data)
|
||||||
"list[current_name;src;3,1;1,1;]"..
|
"list[current_name;src;3,1;1,1;]"..
|
||||||
"list[current_name;dst;5,1;2,2;]"..
|
"list[current_name;dst;5,1;2,2;]"..
|
||||||
"list[current_player;main;0,6;8,4;]"..
|
"list[current_player;main;0,6;8,4;]"..
|
||||||
"label[0,0;"..tier.." Grinder]"
|
"label[0,0;"..S("%s Grinder"):format(tier).."]"
|
||||||
if data.upgrade then
|
if data.upgrade then
|
||||||
formspec = formspec..
|
formspec = formspec..
|
||||||
"list[current_name;upgrade1;1,4;1,1;]"..
|
"list[current_name;upgrade1;1,4;1,1;]"..
|
||||||
"list[current_name;upgrade2;2,4;1,1;]"..
|
"list[current_name;upgrade2;2,4;1,1;]"..
|
||||||
"label[1,5;Upgrade Slots]"
|
"label[1,5;"..S("Upgrade Slots").."]"
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("technic:"..ltier.."_grinder", {
|
minetest.register_node("technic:"..ltier.."_grinder", {
|
||||||
|
|
35
technic_chests/locale/de.txt
Normal file
35
technic_chests/locale/de.txt
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# German Translation for technic_chests
|
||||||
|
# Deutsche Übersetzung von technic_chests
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
%s Chest = %struhe
|
||||||
|
%s Locked Chest = Verschlossene %struhe
|
||||||
|
%s Locked Chest (owned by %s) = Verschlossene %struhe (gehoert %s)
|
||||||
|
Color Filter: %s = Farbfilter: %s
|
||||||
|
Edit chest description: = Bearbeite die Beschreibung
|
||||||
|
|
||||||
|
# Colors
|
||||||
|
Black = Schwarz
|
||||||
|
Blue = Blau
|
||||||
|
Brown = Braun
|
||||||
|
Cyan = Tuerkis
|
||||||
|
Dark Green = Dunkelgruen
|
||||||
|
Dark Grey = Dunkelgrau
|
||||||
|
Green = Gruen
|
||||||
|
Grey = Grau
|
||||||
|
Magenta = Magenta
|
||||||
|
Orange = Orange
|
||||||
|
Pink = Rosa
|
||||||
|
Red = Rot
|
||||||
|
Violet = Violett
|
||||||
|
White = Weiss
|
||||||
|
Yellow = Gelb
|
||||||
|
None = Farblos
|
||||||
|
|
||||||
|
# Materials
|
||||||
|
Copper = Kupfer
|
||||||
|
Gold = Gold
|
||||||
|
Iron = Eisen
|
||||||
|
Mithril = Mithril
|
||||||
|
Silver = Silber
|
||||||
|
|
|
@ -10,7 +10,7 @@ Edit chest description: =
|
||||||
Black =
|
Black =
|
||||||
Blue =
|
Blue =
|
||||||
Brown =
|
Brown =
|
||||||
Byan =
|
Cyan =
|
||||||
Dark Green =
|
Dark Green =
|
||||||
Dark Grey =
|
Dark Grey =
|
||||||
Green =
|
Green =
|
||||||
|
|
|
@ -11,7 +11,7 @@ local chest_mark_colors = {
|
||||||
{"black", S("Black")},
|
{"black", S("Black")},
|
||||||
{"blue", S("Blue")},
|
{"blue", S("Blue")},
|
||||||
{"brown", S("Brown")},
|
{"brown", S("Brown")},
|
||||||
{"cyan", S("Byan")},
|
{"cyan", S("Cyan")},
|
||||||
{"dark_green", S("Dark Green")},
|
{"dark_green", S("Dark Green")},
|
||||||
{"dark_grey", S("Dark Grey")},
|
{"dark_grey", S("Dark Grey")},
|
||||||
{"green", S("Green")},
|
{"green", S("Green")},
|
||||||
|
@ -113,7 +113,7 @@ function technic.chests:register(name, data)
|
||||||
local locked_after_place = nil
|
local locked_after_place = nil
|
||||||
local front = {"technic_"..lname.."_chest_front.png"}
|
local front = {"technic_"..lname.."_chest_front.png"}
|
||||||
data.formspec = "invsize["..width..",10;]"..
|
data.formspec = "invsize["..width..",10;]"..
|
||||||
"label[0,0;"..name.." Chest]"..
|
"label[0,0;"..S("%s Chest"):format(name).."]"..
|
||||||
"list[current_name;main;0,1;"..width..",4;]"..
|
"list[current_name;main;0,1;"..width..",4;]"..
|
||||||
"list[current_player;main;0,6;8,4;]"..
|
"list[current_player;main;0,6;8,4;]"..
|
||||||
"background[-0.19,-0.25;"..width..".4,10.75;ui_form_bg.png]"..
|
"background[-0.19,-0.25;"..width..".4,10.75;ui_form_bg.png]"..
|
||||||
|
|
|
@ -1,38 +1,41 @@
|
||||||
|
|
||||||
|
local S = technic.worldgen.gettext
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:uranium", {
|
minetest.register_craftitem(":technic:uranium", {
|
||||||
description = "Uranium",
|
description = S("Uranium"),
|
||||||
inventory_image = "technic_uranium.png",
|
inventory_image = "technic_uranium.png",
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:chromium_lump", {
|
minetest.register_craftitem(":technic:chromium_lump", {
|
||||||
description = "Chromium Lump",
|
description = S("Chromium Lump"),
|
||||||
inventory_image = "technic_chromium_lump.png",
|
inventory_image = "technic_chromium_lump.png",
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:chromium_ingot", {
|
minetest.register_craftitem(":technic:chromium_ingot", {
|
||||||
description = "Chromium Ingot",
|
description = S("Chromium Ingot"),
|
||||||
inventory_image = "technic_chromium_ingot.png",
|
inventory_image = "technic_chromium_ingot.png",
|
||||||
on_place_on_ground = minetest.craftitem_place_item,
|
on_place_on_ground = minetest.craftitem_place_item,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:zinc_lump", {
|
minetest.register_craftitem(":technic:zinc_lump", {
|
||||||
description = "Zinc Lump",
|
description = S("Zinc Lump"),
|
||||||
inventory_image = "technic_zinc_lump.png",
|
inventory_image = "technic_zinc_lump.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:zinc_ingot", {
|
minetest.register_craftitem(":technic:zinc_ingot", {
|
||||||
description = "Zinc Ingot",
|
description = S("Zinc Ingot"),
|
||||||
inventory_image = "technic_zinc_ingot.png",
|
inventory_image = "technic_zinc_ingot.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:brass_ingot", {
|
minetest.register_craftitem(":technic:brass_ingot", {
|
||||||
description = "Brass Ingot",
|
description = S("Brass Ingot"),
|
||||||
inventory_image = "technic_brass_ingot.png",
|
inventory_image = "technic_brass_ingot.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem(":technic:stainless_steel_ingot", {
|
minetest.register_craftitem(":technic:stainless_steel_ingot", {
|
||||||
description = "Stainless Steel Ingot",
|
description = S("Stainless Steel Ingot"),
|
||||||
inventory_image = "technic_stainless_steel_ingot.png",
|
inventory_image = "technic_stainless_steel_ingot.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
default
|
default
|
||||||
technic
|
technic
|
||||||
|
intllib?
|
||||||
mg?
|
mg?
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
local modpath = minetest.get_modpath("technic_worldgen")
|
local modpath = minetest.get_modpath("technic_worldgen")
|
||||||
|
|
||||||
|
technic.worldgen = {}
|
||||||
|
if intllib then
|
||||||
|
technic.worldgen.gettext = intllib.Getter()
|
||||||
|
else
|
||||||
|
technic.worldgen.gettext = function(s) return s end
|
||||||
|
end
|
||||||
|
|
||||||
dofile(modpath.."/nodes.lua")
|
dofile(modpath.."/nodes.lua")
|
||||||
dofile(modpath.."/oregen.lua")
|
dofile(modpath.."/oregen.lua")
|
||||||
dofile(modpath.."/crafts.lua")
|
dofile(modpath.."/crafts.lua")
|
||||||
|
|
30
technic_worldgen/locale/de.txt
Normal file
30
technic_worldgen/locale/de.txt
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# German Translation for technic_worldgen
|
||||||
|
# Deutsche Übersetzung von technic_worldgen
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
## crafts.lua
|
||||||
|
Uranium = Uran
|
||||||
|
Chromium Lump = Chromklumpen
|
||||||
|
Chromium Ingot = Chrombarren
|
||||||
|
Zinc Lump = Zinkklumpen
|
||||||
|
Zinc Ingot = Zinkbarren
|
||||||
|
Brass Ingot = Messingbarren
|
||||||
|
Stainless Steel Ingot = Edelstahlbarren
|
||||||
|
|
||||||
|
## nodes.lua
|
||||||
|
Uranium Ore = Uranerz
|
||||||
|
Chromium Ore = Chromerz
|
||||||
|
Zinc Ore = Zinkerz
|
||||||
|
Granite = Granit
|
||||||
|
Marble = Marmor
|
||||||
|
Marble Bricks = Marmorziegel
|
||||||
|
Uranium Block = Uranblock
|
||||||
|
Chromium Block = Chromblock
|
||||||
|
Zinc Block = Zinkblock
|
||||||
|
Stainless Steel Block = Edelstahlblock
|
||||||
|
Brass Block = Messingblock
|
||||||
|
|
||||||
|
## rubber.lua
|
||||||
|
Rubber Tree Sapling = Gummibaumsetzling
|
||||||
|
Rubber Tree = Gummibaum
|
||||||
|
|
28
technic_worldgen/locale/template.txt
Normal file
28
technic_worldgen/locale/template.txt
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# template.txt
|
||||||
|
# technic_worldgen translation template
|
||||||
|
|
||||||
|
###crafts.lua
|
||||||
|
Uranium =
|
||||||
|
Chromium Lump =
|
||||||
|
Chromium Ingot =
|
||||||
|
Zinc Lump =
|
||||||
|
Zinc Ingot =
|
||||||
|
Brass Ingot =
|
||||||
|
Stainless Steel Ingot =
|
||||||
|
|
||||||
|
###nodes.lua
|
||||||
|
Uranium Ore =
|
||||||
|
Chromium Ore =
|
||||||
|
Zinc Ore =
|
||||||
|
Granite =
|
||||||
|
Marble =
|
||||||
|
Marble Bricks =
|
||||||
|
Uranium Block =
|
||||||
|
Chromium Block =
|
||||||
|
Zinc Block =
|
||||||
|
Stainless Steel Block =
|
||||||
|
Brass Block =
|
||||||
|
|
||||||
|
###rubber.lua
|
||||||
|
Rubber Tree Sapling =
|
||||||
|
Rubber Tree =
|
|
@ -1,5 +1,8 @@
|
||||||
|
|
||||||
|
local S = technic.worldgen.gettext
|
||||||
|
|
||||||
minetest.register_node( ":technic:mineral_uranium", {
|
minetest.register_node( ":technic:mineral_uranium", {
|
||||||
description = "Uranium Ore",
|
description = S("Uranium Ore"),
|
||||||
tiles = { "default_stone.png^technic_mineral_uranium.png" },
|
tiles = { "default_stone.png^technic_mineral_uranium.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -8,7 +11,7 @@ minetest.register_node( ":technic:mineral_uranium", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node( ":technic:mineral_chromium", {
|
minetest.register_node( ":technic:mineral_chromium", {
|
||||||
description = "Chromium Ore",
|
description = S("Chromium Ore"),
|
||||||
tiles = { "default_stone.png^technic_mineral_chromium.png" },
|
tiles = { "default_stone.png^technic_mineral_chromium.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -17,7 +20,7 @@ minetest.register_node( ":technic:mineral_chromium", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node( ":technic:mineral_zinc", {
|
minetest.register_node( ":technic:mineral_zinc", {
|
||||||
description = "Zinc Ore",
|
description = S("Zinc Ore"),
|
||||||
tile_images = { "default_stone.png^technic_mineral_zinc.png" },
|
tile_images = { "default_stone.png^technic_mineral_zinc.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -26,7 +29,7 @@ minetest.register_node( ":technic:mineral_zinc", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node( ":technic:granite", {
|
minetest.register_node( ":technic:granite", {
|
||||||
description = "Granite",
|
description = S("Granite"),
|
||||||
tiles = { "technic_granite.png" },
|
tiles = { "technic_granite.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -34,7 +37,7 @@ minetest.register_node( ":technic:granite", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node( ":technic:marble", {
|
minetest.register_node( ":technic:marble", {
|
||||||
description = "Marble",
|
description = S("Marble"),
|
||||||
tiles = { "technic_marble.png" },
|
tiles = { "technic_marble.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -42,7 +45,7 @@ minetest.register_node( ":technic:marble", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node( ":technic:marble_bricks", {
|
minetest.register_node( ":technic:marble_bricks", {
|
||||||
description = "Marble Bricks",
|
description = S("Marble Bricks"),
|
||||||
tiles = { "technic_marble_bricks.png" },
|
tiles = { "technic_marble_bricks.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
|
@ -50,7 +53,7 @@ minetest.register_node( ":technic:marble_bricks", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:uranium_block", {
|
minetest.register_node(":technic:uranium_block", {
|
||||||
description = "Uranium Block",
|
description = S("Uranium Block"),
|
||||||
tiles = { "technic_uranium_block.png" },
|
tiles = { "technic_uranium_block.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
@ -58,7 +61,7 @@ minetest.register_node(":technic:uranium_block", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:chromium_block", {
|
minetest.register_node(":technic:chromium_block", {
|
||||||
description = "Chromium Block",
|
description = S("Chromium Block"),
|
||||||
tiles = { "technic_chromium_block.png" },
|
tiles = { "technic_chromium_block.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
@ -66,7 +69,7 @@ minetest.register_node(":technic:chromium_block", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:zinc_block", {
|
minetest.register_node(":technic:zinc_block", {
|
||||||
description = "Zinc Block",
|
description = S("Zinc Block"),
|
||||||
tiles = { "technic_zinc_block.png" },
|
tiles = { "technic_zinc_block.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
@ -74,7 +77,7 @@ minetest.register_node(":technic:zinc_block", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:stainless_steel_block", {
|
minetest.register_node(":technic:stainless_steel_block", {
|
||||||
description = "Stainless Steel Block",
|
description = S("Stainless Steel Block"),
|
||||||
tiles = { "technic_stainless_steel_block.png" },
|
tiles = { "technic_stainless_steel_block.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
@ -82,7 +85,7 @@ minetest.register_node(":technic:stainless_steel_block", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":technic:brass_block", {
|
minetest.register_node(":technic:brass_block", {
|
||||||
description = "Brass Block",
|
description = S("Brass Block"),
|
||||||
tiles = { "technic_brass_block.png" },
|
tiles = { "technic_brass_block.png" },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = {cracky=1, level=2},
|
groups = {cracky=1, level=2},
|
||||||
|
@ -98,3 +101,4 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("technic:diamond_block", "default:diamondblock")
|
minetest.register_alias("technic:diamond_block", "default:diamondblock")
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
-- Code of rubber tree by PilzAdam
|
-- Code of rubber tree by PilzAdam
|
||||||
|
|
||||||
|
local S = technic.worldgen.gettext
|
||||||
|
|
||||||
minetest.register_node(":moretrees:rubber_tree_sapling", {
|
minetest.register_node(":moretrees:rubber_tree_sapling", {
|
||||||
description = "Rubber Tree Sapling",
|
description = S("Rubber Tree Sapling"),
|
||||||
drawtype = "plantlike",
|
drawtype = "plantlike",
|
||||||
tiles = {"technic_rubber_sapling.png"},
|
tiles = {"technic_rubber_sapling.png"},
|
||||||
inventory_image = "technic_rubber_sapling.png",
|
inventory_image = "technic_rubber_sapling.png",
|
||||||
|
@ -19,7 +21,7 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":moretrees:rubber_tree_trunk", {
|
minetest.register_node(":moretrees:rubber_tree_trunk", {
|
||||||
description = "Rubber Tree",
|
description = S("Rubber Tree"),
|
||||||
tiles = {"default_tree_top.png", "default_tree_top.png",
|
tiles = {"default_tree_top.png", "default_tree_top.png",
|
||||||
"technic_rubber_tree_full.png"},
|
"technic_rubber_tree_full.png"},
|
||||||
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
||||||
|
@ -32,7 +34,7 @@ minetest.register_node(":moretrees:rubber_tree_trunk", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {
|
minetest.register_node(":moretrees:rubber_tree_trunk_empty", {
|
||||||
description = "Rubber Tree",
|
description = S("Rubber Tree"),
|
||||||
tiles = {"default_tree_top.png", "default_tree_top.png",
|
tiles = {"default_tree_top.png", "default_tree_top.png",
|
||||||
"technic_rubber_tree_empty.png"},
|
"technic_rubber_tree_empty.png"},
|
||||||
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
default
|
default
|
||||||
technic
|
technic
|
||||||
technic_chests
|
technic_chests
|
||||||
|
intllib?
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,14 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||||
dofile(modpath.."/support.lua")
|
dofile(modpath.."/support.lua")
|
||||||
dofile(modpath.."/technic.lua")
|
dofile(modpath.."/technic.lua")
|
||||||
|
|
||||||
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
|
local S
|
||||||
|
if intllib then
|
||||||
|
S = intllib.Getter()
|
||||||
|
else
|
||||||
|
S = function(s) return s end
|
||||||
|
end
|
||||||
|
|
||||||
local function get_meta_type(name, metaname)
|
local function get_meta_type(name, metaname)
|
||||||
local def = wrench.registered_nodes[name]
|
local def = wrench.registered_nodes[name]
|
||||||
if not def or not def.metas or not def.metas[metaname] then
|
if not def or not def.metas or not def.metas[metaname] then
|
||||||
|
@ -60,7 +68,7 @@ for name, info in pairs(wrench.registered_nodes) do
|
||||||
newdef[key] = value
|
newdef[key] = value
|
||||||
end
|
end
|
||||||
newdef.stack_max = 1
|
newdef.stack_max = 1
|
||||||
newdef.description = newdef.description.." with items"
|
newdef.description = S("%s with items"):format(newdef.description)
|
||||||
newdef.groups = {}
|
newdef.groups = {}
|
||||||
newdef.groups.not_in_creative_inventory = 1
|
newdef.groups.not_in_creative_inventory = 1
|
||||||
newdef.on_construct = nil
|
newdef.on_construct = nil
|
||||||
|
@ -71,7 +79,7 @@ for name, info in pairs(wrench.registered_nodes) do
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_tool("wrench:wrench", {
|
minetest.register_tool("wrench:wrench", {
|
||||||
description = "Wrench",
|
description = S("Wrench"),
|
||||||
inventory_image = "technic_wrench.png",
|
inventory_image = "technic_wrench.png",
|
||||||
tool_capabilities = {
|
tool_capabilities = {
|
||||||
full_punch_interval = 0.9,
|
full_punch_interval = 0.9,
|
||||||
|
|
7
wrench/locale/de.txt
Normal file
7
wrench/locale/de.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# German Translation for technic_wrench
|
||||||
|
# Deutsche Übersetzung von technic_wrench
|
||||||
|
# by Xanthin
|
||||||
|
|
||||||
|
Wrench = Schraubenschluessel
|
||||||
|
%s with items = %s mit Gegenstaenden
|
||||||
|
|
5
wrench/locale/template.txt
Normal file
5
wrench/locale/template.txt
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# technic_wrench translation template
|
||||||
|
|
||||||
|
Wrench =
|
||||||
|
%s with items =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user