mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Translate villager professions
This commit is contained in:
parent
805fa76282
commit
9d7f4f6544
3 changed files with 41 additions and 14 deletions
|
@ -58,3 +58,16 @@ Golden Horse Armor=Goldpferderüstung
|
||||||
Golden horse armor can be worn by horses to increase their protection from harm.=Eine Goldpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden zu erhöhen.
|
Golden horse armor can be worn by horses to increase their protection from harm.=Eine Goldpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden zu erhöhen.
|
||||||
Diamond Horse Armor=Diamantpferderüstung
|
Diamond Horse Armor=Diamantpferderüstung
|
||||||
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=Eine Diamantpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden beträchtlich zu erhöhen.
|
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=Eine Diamantpferderüstung kann von Pferden getragen werden, um ihren Schutz vor Schaden beträchtlich zu erhöhen.
|
||||||
|
Farmer=Bauer
|
||||||
|
Fisherman=Fischer
|
||||||
|
Fletcher=Pfeilmacher
|
||||||
|
Shepherd=Schäfer
|
||||||
|
Librarian=Bibliothekar
|
||||||
|
Cartographer=Kartograph
|
||||||
|
Armorer=Rüstungsschmied
|
||||||
|
Leatherworker=Lederarbeiter
|
||||||
|
Butcher=Metzger
|
||||||
|
Weapon Smith=Waffenschmied
|
||||||
|
Tool Smith=Werkzeugschmied
|
||||||
|
Cleric=Priester
|
||||||
|
Nitwit=Dorftrottel
|
||||||
|
|
|
@ -58,3 +58,16 @@ Golden Horse Armor=
|
||||||
Golden horse armor can be worn by horses to increase their protection from harm.=
|
Golden horse armor can be worn by horses to increase their protection from harm.=
|
||||||
Diamond Horse Armor=
|
Diamond Horse Armor=
|
||||||
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=
|
Diamond horse armor can be worn by horses to greatly increase their protection from harm.=
|
||||||
|
Farmer=
|
||||||
|
Fisherman=
|
||||||
|
Fletcher=
|
||||||
|
Shepherd=
|
||||||
|
Librarian=
|
||||||
|
Cartographer=
|
||||||
|
Armorer=
|
||||||
|
Leatherworker=
|
||||||
|
Butcher=
|
||||||
|
Weapon Smith=
|
||||||
|
Tool Smith=
|
||||||
|
Cleric=
|
||||||
|
Nitwit=
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
-- TODO: Farm stuff
|
-- TODO: Farm stuff
|
||||||
|
|
||||||
local S = minetest.get_translator("mobs_mc")
|
local S = minetest.get_translator("mobs_mc")
|
||||||
|
local N = function(s) return s end
|
||||||
|
|
||||||
-- playername-indexed table containing the previously used tradenum
|
-- playername-indexed table containing the previously used tradenum
|
||||||
local player_tradenum = {}
|
local player_tradenum = {}
|
||||||
|
@ -61,7 +62,7 @@ end
|
||||||
|
|
||||||
local professions = {
|
local professions = {
|
||||||
farmer = {
|
farmer = {
|
||||||
name = "Farmer",
|
name = N("Farmer"),
|
||||||
texture = "mobs_mc_villager_farmer.png",
|
texture = "mobs_mc_villager_farmer.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -91,7 +92,7 @@ local professions = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fisherman = {
|
fisherman = {
|
||||||
name = "Fisherman",
|
name = N("Fisherman"),
|
||||||
texture = "mobs_mc_villager_farmer.png",
|
texture = "mobs_mc_villager_farmer.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -103,7 +104,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fletcher = {
|
fletcher = {
|
||||||
name = "Fletcher",
|
name = N("Fletcher"),
|
||||||
texture = "mobs_mc_villager_farmer.png",
|
texture = "mobs_mc_villager_farmer.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -118,7 +119,7 @@ local professions = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
shepherd ={
|
shepherd ={
|
||||||
name = "Shepherd",
|
name = N("Shepherd"),
|
||||||
texture = "mobs_mc_villager_farmer.png",
|
texture = "mobs_mc_villager_farmer.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -147,7 +148,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
librarian = {
|
librarian = {
|
||||||
name = "Librarian",
|
name = N("Librarian"),
|
||||||
texture = "mobs_mc_villager_librarian.png",
|
texture = "mobs_mc_villager_librarian.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -176,7 +177,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cartographer = {
|
cartographer = {
|
||||||
name = "Cartographer",
|
name = N("Cartographer"),
|
||||||
texture = "mobs_mc_villager_librarian.png",
|
texture = "mobs_mc_villager_librarian.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -197,7 +198,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
armorer = {
|
armorer = {
|
||||||
name = "Armorer",
|
name = N("Armorer"),
|
||||||
texture = "mobs_mc_villager_smith.png",
|
texture = "mobs_mc_villager_smith.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -225,7 +226,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
leatherworker = {
|
leatherworker = {
|
||||||
name = "Leatherworker",
|
name = N("Leatherworker"),
|
||||||
texture = "mobs_mc_villager_butcher.png",
|
texture = "mobs_mc_villager_butcher.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -244,7 +245,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
butcher = {
|
butcher = {
|
||||||
name = "Butcher",
|
name = N("Butcher"),
|
||||||
texture = "mobs_mc_villager_butcher.png",
|
texture = "mobs_mc_villager_butcher.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -260,7 +261,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
weapon_smith = {
|
weapon_smith = {
|
||||||
name = "Weapon Smith",
|
name = N("Weapon Smith"),
|
||||||
texture = "mobs_mc_villager_smith.png",
|
texture = "mobs_mc_villager_smith.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -284,7 +285,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
tool_smith = {
|
tool_smith = {
|
||||||
name = "Tool Smith",
|
name = N("Tool Smith"),
|
||||||
texture = "mobs_mc_villager_smith.png",
|
texture = "mobs_mc_villager_smith.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -307,7 +308,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
cleric = {
|
cleric = {
|
||||||
name = "Cleric",
|
name = N("Cleric"),
|
||||||
texture = "mobs_mc_villager_priest.png",
|
texture = "mobs_mc_villager_priest.png",
|
||||||
trades = {
|
trades = {
|
||||||
{
|
{
|
||||||
|
@ -330,7 +331,7 @@ local professions = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
nitwit = {
|
nitwit = {
|
||||||
name = "Nitwit",
|
name = N("Nitwit"),
|
||||||
texture = "mobs_mc_villager.png",
|
texture = "mobs_mc_villager.png",
|
||||||
-- No trades for nitwit
|
-- No trades for nitwit
|
||||||
trades = nil,
|
trades = nil,
|
||||||
|
@ -490,7 +491,7 @@ local function show_trade_formspec(playername, trader, tradenum)
|
||||||
.."background[-0.19,-0.25;9.41,9.49;mobs_mc_trading_formspec_bg.png]"
|
.."background[-0.19,-0.25;9.41,9.49;mobs_mc_trading_formspec_bg.png]"
|
||||||
..disabled_img
|
..disabled_img
|
||||||
..mcl_vars.inventory_header
|
..mcl_vars.inventory_header
|
||||||
.."label[4,0;"..minetest.formspec_escape(profession).."]"
|
.."label[4,0;"..minetest.formspec_escape(minetest.colorize("#313131", S(profession))).."]"
|
||||||
.."list[current_player;main;0,4.5;9,3;9]"
|
.."list[current_player;main;0,4.5;9,3;9]"
|
||||||
.."list[current_player;main;0,7.74;9,1;]"
|
.."list[current_player;main;0,7.74;9,1;]"
|
||||||
..b_prev..b_next
|
..b_prev..b_next
|
||||||
|
|
Loading…
Reference in a new issue