1
0
Fork 0

Add translation templates for 3 mods

objects
Wuzzy 2019-03-13 22:52:14 +01:00
parent 550efda495
commit 2b586549cf
8 changed files with 61 additions and 8 deletions

View File

@ -1,3 +1,4 @@
local S = minetest.get_translator("mcl_falling_nodes")
local dmes = minetest.get_modpath("mcl_death_messages") ~= nil local dmes = minetest.get_modpath("mcl_death_messages") ~= nil
local get_falling_depth = function(self) local get_falling_depth = function(self)
@ -48,9 +49,9 @@ local deal_falling_damage = function(self, dtime)
-- TODO: Reduce damage if wearing a helmet -- TODO: Reduce damage if wearing a helmet
local msg local msg
if minetest.get_item_group(self.node.name, "anvil") ~= 0 then if minetest.get_item_group(self.node.name, "anvil") ~= 0 then
msg = "%s was smashed by a falling anvil." msg = S("%s was smashed by a falling anvil.")
else else
msg = "%s was smashed by a falling block." msg = S("%s was smashed by a falling block.")
end end
if dmes then if dmes then
mcl_death_messages.player_damage(v, string.format(msg, v:get_player_name())) mcl_death_messages.player_damage(v, string.format(msg, v:get_player_name()))

View File

@ -0,0 +1,3 @@
# textdomain: mcl_falling_nodes
%s was smashed by a falling anvil.=
%s was smashed by a falling block.=

View File

@ -1,2 +0,0 @@
Armor = Panzerung
%s: %d%% = %s: %d%%

View File

@ -0,0 +1,2 @@
Armor=Panzerung
%s: %d%%=%s: %d%%

View File

@ -1,4 +1,4 @@
Armor = Armatura Armor=Armatura
# Format string for displaying the armor. E.g. "Armor: 100%" # Format string for displaying the armor. E.g. "Armor: 100%"
%s: %d%% = %s: %d%%=%s: %d%%

View File

@ -1,4 +1,4 @@
Armor = Armor=
# Format string for displaying the armor. E.g. "Armor: 100%" # Format string for displaying the armor. E.g. "Armor: 100%"
%s: %d%% = %s: %d%%=

View File

@ -0,0 +1,49 @@
# textdomain: mcl_achievements
Aquire Hardware=
Bake Bread=
Benchmarking=
Cow Tipper=
Craft a bookshelf.=
Craft a cake using wheat, sugar, milk and an egg.=
Craft a crafting table from 4 wooden planks.=
Craft a stone pickaxe using sticks and cobblestone.=
Craft a wooden sword using wooden planks and sticks on a crafting table.=
DIAMONDS!=
Delicious Fish=
Dispense With This=
Eat a cooked porkchop.=
Eat a cooked rabbit.=
Get really desperate and eat rotten flesh.=
Getting Wood=
Getting an Upgrade=
Hit a skeleton, wither skeleton or stray by bow and arrow from a distance of at least 20 meters.=
Hot Topic=
Into Fire=
Into the Nether=
Iron Belly=
Librarian=
Mine emerald ore.=
On A Rail=
Pick up a blaze rod from the floor.=
Pick up a diamond from the floor.=
Pick up a wood item from the ground.@nHint: Punch a tree trunk until it pops out as an item.=
Pick up leather from the floor.@nHint: Cows and some other animals have a chance to drop leather, when killed.=
Place a dispenser.=
Place a flower pot.=
Pork Chop=
Pot Planter=
Rabbit Season=
Sniper Duel=
Take a cooked fish from a furnace.@nHint: Use a fishing rod to catch a fish and cook it in a furnace.=
Take an iron ingot from a furnace's output slot.@nHint: To smelt an iron ingot, put a fuel (like coal) and iron ore into a furnace.=
The Haggler=
The Lie=
Time to Farm!=
Time to Mine!=
Time to Strike!=
Travel by minecart for at least 1000 meters from your starting point in a single ride.=
Use 8 cobblestones to craft a furnace.=
Use a crafting table to craft a wooden hoe from wooden planks and sticks.=
Use a crafting table to craft a wooden pickaxe from wooden planks and sticks.=
Use obsidian and a fire starter to construct a Nether portal.=
Use wheat to craft a bread.=