Add german translations for all mods

This commit is contained in:
Xanthin
2014-04-16 19:10:00 +02:00
committed by ShadowNinja
parent db20250371
commit 39c41a06f4
33 changed files with 437 additions and 65 deletions

View File

@ -1,38 +1,41 @@
local S = technic.worldgen.gettext
minetest.register_craftitem(":technic:uranium", {
description = "Uranium",
description = S("Uranium"),
inventory_image = "technic_uranium.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem(":technic:chromium_lump", {
description = "Chromium Lump",
description = S("Chromium Lump"),
inventory_image = "technic_chromium_lump.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem(":technic:chromium_ingot", {
description = "Chromium Ingot",
description = S("Chromium Ingot"),
inventory_image = "technic_chromium_ingot.png",
on_place_on_ground = minetest.craftitem_place_item,
})
minetest.register_craftitem(":technic:zinc_lump", {
description = "Zinc Lump",
description = S("Zinc Lump"),
inventory_image = "technic_zinc_lump.png",
})
minetest.register_craftitem(":technic:zinc_ingot", {
description = "Zinc Ingot",
description = S("Zinc Ingot"),
inventory_image = "technic_zinc_ingot.png",
})
minetest.register_craftitem(":technic:brass_ingot", {
description = "Brass Ingot",
description = S("Brass Ingot"),
inventory_image = "technic_brass_ingot.png",
})
minetest.register_craftitem(":technic:stainless_steel_ingot", {
description = "Stainless Steel Ingot",
description = S("Stainless Steel Ingot"),
inventory_image = "technic_stainless_steel_ingot.png",
})

View File

@ -1,3 +1,4 @@
default
technic
intllib?
mg?

View File

@ -1,5 +1,12 @@
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.."/oregen.lua")
dofile(modpath.."/crafts.lua")

View 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

View 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 =

View File

@ -1,5 +1,8 @@
local S = technic.worldgen.gettext
minetest.register_node( ":technic:mineral_uranium", {
description = "Uranium Ore",
description = S("Uranium Ore"),
tiles = { "default_stone.png^technic_mineral_uranium.png" },
is_ground_content = true,
groups = {cracky=3},
@ -8,7 +11,7 @@ minetest.register_node( ":technic:mineral_uranium", {
})
minetest.register_node( ":technic:mineral_chromium", {
description = "Chromium Ore",
description = S("Chromium Ore"),
tiles = { "default_stone.png^technic_mineral_chromium.png" },
is_ground_content = true,
groups = {cracky=3},
@ -17,7 +20,7 @@ minetest.register_node( ":technic:mineral_chromium", {
})
minetest.register_node( ":technic:mineral_zinc", {
description = "Zinc Ore",
description = S("Zinc Ore"),
tile_images = { "default_stone.png^technic_mineral_zinc.png" },
is_ground_content = true,
groups = {cracky=3},
@ -26,7 +29,7 @@ minetest.register_node( ":technic:mineral_zinc", {
})
minetest.register_node( ":technic:granite", {
description = "Granite",
description = S("Granite"),
tiles = { "technic_granite.png" },
is_ground_content = true,
groups = {cracky=3},
@ -34,7 +37,7 @@ minetest.register_node( ":technic:granite", {
})
minetest.register_node( ":technic:marble", {
description = "Marble",
description = S("Marble"),
tiles = { "technic_marble.png" },
is_ground_content = true,
groups = {cracky=3},
@ -42,7 +45,7 @@ minetest.register_node( ":technic:marble", {
})
minetest.register_node( ":technic:marble_bricks", {
description = "Marble Bricks",
description = S("Marble Bricks"),
tiles = { "technic_marble_bricks.png" },
is_ground_content = true,
groups = {cracky=3},
@ -50,7 +53,7 @@ minetest.register_node( ":technic:marble_bricks", {
})
minetest.register_node(":technic:uranium_block", {
description = "Uranium Block",
description = S("Uranium Block"),
tiles = { "technic_uranium_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
@ -58,7 +61,7 @@ minetest.register_node(":technic:uranium_block", {
})
minetest.register_node(":technic:chromium_block", {
description = "Chromium Block",
description = S("Chromium Block"),
tiles = { "technic_chromium_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
@ -66,7 +69,7 @@ minetest.register_node(":technic:chromium_block", {
})
minetest.register_node(":technic:zinc_block", {
description = "Zinc Block",
description = S("Zinc Block"),
tiles = { "technic_zinc_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
@ -74,7 +77,7 @@ minetest.register_node(":technic:zinc_block", {
})
minetest.register_node(":technic:stainless_steel_block", {
description = "Stainless Steel Block",
description = S("Stainless Steel Block"),
tiles = { "technic_stainless_steel_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
@ -82,7 +85,7 @@ minetest.register_node(":technic:stainless_steel_block", {
})
minetest.register_node(":technic:brass_block", {
description = "Brass Block",
description = S("Brass Block"),
tiles = { "technic_brass_block.png" },
is_ground_content = true,
groups = {cracky=1, level=2},
@ -98,3 +101,4 @@ minetest.register_craft({
})
minetest.register_alias("technic:diamond_block", "default:diamondblock")

View File

@ -1,7 +1,9 @@
-- Code of rubber tree by PilzAdam
local S = technic.worldgen.gettext
minetest.register_node(":moretrees:rubber_tree_sapling", {
description = "Rubber Tree Sapling",
description = S("Rubber Tree Sapling"),
drawtype = "plantlike",
tiles = {"technic_rubber_sapling.png"},
inventory_image = "technic_rubber_sapling.png",
@ -19,7 +21,7 @@ minetest.register_craft({
})
minetest.register_node(":moretrees:rubber_tree_trunk", {
description = "Rubber Tree",
description = S("Rubber Tree"),
tiles = {"default_tree_top.png", "default_tree_top.png",
"technic_rubber_tree_full.png"},
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", {
description = "Rubber Tree",
description = S("Rubber Tree"),
tiles = {"default_tree_top.png", "default_tree_top.png",
"technic_rubber_tree_empty.png"},
groups = {tree=1, snappy=1, choppy=2, oddly_breakable_by_hand=1,