From 7b3b2d33cfd4aa6440a7bcc6cd05413afac86137 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 29 Aug 2019 00:31:26 +0200 Subject: [PATCH] Translate NPC strings --- mods/mobs/locale/mobs.de.tr | 31 ++++++++++++++++++- mods/mobs/locale/template.txt | 56 +++++++++++++++++++---------------- mods/mobs/mob_npc.lua | 2 +- 3 files changed, 61 insertions(+), 28 deletions(-) diff --git a/mods/mobs/locale/mobs.de.tr b/mods/mobs/locale/mobs.de.tr index 552309a..a788e9f 100644 --- a/mods/mobs/locale/mobs.de.tr +++ b/mods/mobs/locale/mobs.de.tr @@ -25,7 +25,36 @@ Farmer=Bauer Tavern Keeper=Wirt Blacksmith=Schmied Butcher=Fleischer -Villager is no longer hungry.=Dorfbewohner hat keinen Hunger mehr. Sheep=Schaf Skunk=Stinktier Walker=Läufer +Hi! I'm a farmer. I take care of crops.=Hallo! Ich bin ein Bauer. Ich kümmere mich um die Felder. +In my village, I keep a tavern and the townsfolk entertained.=In meinem Dorf bewirtschafte ich eine Taverne und unterhalte meine Leute. +Hi! I'm a blacksmith. Smelting ores is my job.=Hi! Ich bin ein Schmied. Ich schmelze Erze. +Hi! I'm a butcher. I sell meat.=Hallo! Ich bin ein Fleischer. Ich verkaufe Fleisch. +If you want to trade, show me a trading book.=Wenn du mit mir handeln willst, zeig mir ein Handelsbuch. +I don't want to eat anymore!=Ich will nichts mehr essen! +I'm not hungry!=Ich bin nicht hungrig! +I'm full already.=Ich bin schon satt. +I don't want food right now.=Ich will jetzt nichts zu essen. +Ah, that hit the spot!=Ah, das war gut! +Thanks, now I'm filled up.=Danke, jetzt bin ich pappsatt! +Burp!=Rülps! +Thank you, now I feel much better!=Danke, jetzt geht es mir viel besser! +Munch-munch!=Mampf! +Yummies!=Lecker! +Yum-yum!=Mjam-mjam! +Chomp!=Schmatz! +Thanks, I liked that!=Danke, das hat geschmeckt! +I could use a snack.=Ich könnte einen Imbiss gebrauchen. +I'm a bit hungry.=Ich bin etwas hungrig. +Hello!=Hallo! +What's up?=Guten Tag! +Nice to see you.=Schön, dich zu sehen. +I don't feel so good.=Mir geht es nicht so gut. +I ... I am hurt.=Ich ... ich bin verletzt. +Leave me alone.=Lass mich in Frieden. +What do you want from me?=Was willst du von mir? +Go away!=Geh weg! +Screw you!=Verdammt seist du! +Villager says: “@1”=Dorfbewohner sagt: „@1“ diff --git a/mods/mobs/locale/template.txt b/mods/mobs/locale/template.txt index 97d5c08..9ce9b24 100644 --- a/mods/mobs/locale/template.txt +++ b/mods/mobs/locale/template.txt @@ -1,31 +1,35 @@ # textdomain: mobs -Hunter= -Kill 5 animals for food= -Bomb has Been Defused!= -Kill a mineturtle= -Ranger= -Capture a tame animal= -Best Friends Forever= -Tame an animal= -Spawned @1 at @2= -Not tamed!= -@1 is owner!= -Missed!= -Wool Bundle= -Raw Meat= -Cooked Meat= -Net= -(Right-click to capture)= -Lasso= -Boar= -Raw Porkchop= -Cooked Porkchop= -Mine Turtle= Farmer= Tavern Keeper= Blacksmith= Butcher= -Villager is no longer hungry.= -Sheep= -Skunk= -Walker= +Hi! I'm a farmer. I take care of crops.= +In my village, I keep a tavern and the townsfolk entertained.= +Hi! I'm a blacksmith. Smelting ores is my job.= +Hi! I'm a butcher. I sell meat.= +If you want to trade, show me a trading book.= +I don't want to eat anymore!= +I'm not hungry!= +I'm full already.= +I don't want food right now.= +Ah, that hit the spot!= +Thanks, now I'm filled up.= +Burp!= +Thank you, now I feel much better!= +Munch-munch!= +Yummies!= +Yum-yum!= +Chomp!= +Thanks, I liked that!= +I could use a snack.= +I'm a bit hungry.= +Hello!= +What's up?= +Nice to see you.= +I don't feel so good.= +I ... I am hurt.= +Leave me alone.= +What do you want from me?= +Go away!= +Screw you!= +Villager says: “@1”= diff --git a/mods/mobs/mob_npc.lua b/mods/mobs/mob_npc.lua index ebe5d7e..78d2f45 100644 --- a/mods/mobs/mob_npc.lua +++ b/mods/mobs/mob_npc.lua @@ -61,7 +61,7 @@ local msgs = { } local function say(text, to_player) - minetest.chat_send_player(to_player, S("Villager says: „@1“", text)) + minetest.chat_send_player(to_player, S("Villager says: “@1”", text)) end local function say_random(mtype, to_player)