Make many help texts translatable and fix bugs

This commit is contained in:
Wuzzy 2019-03-25 12:05:57 +01:00
parent c5db9987c3
commit 967905264d
36 changed files with 72 additions and 50 deletions

View file

@ -160,7 +160,7 @@ end
minetest.register_craftitem("mcl_potions:potion_water", {
description = S("Water Bottle"),
_doc_items_longdesc = S("Water bottles can be used to fill cauldrons. Drinking water has no effect."),
_doc_items_usagehelp = S("Rightclick to drink. Rightclick a cauldron to pour the water into the cauldron."),
_doc_items_usagehelp = S("Use the “Place” key to drink. Place this item on a cauldron to pour the water into the cauldron."),
stack_max = 1,
inventory_image = potion_image("#0000FF"),
wield_image = potion_image("#0000FF"),
@ -204,7 +204,8 @@ minetest.register_craftitem("mcl_potions:potion_water", {
minetest.register_craftitem("mcl_potions:potion_river_water", {
description = S("River Water Bottle"),
_doc_items_longdesc = S("River water bottles can be used to fill cauldrons. Drinking it has no effect."),
_doc_items_usagehelp = "Rightclick to drink. Rightclick a cauldron to pour the river water into the cauldron.",
_doc_items_usagehelp = S("Use the “Place” key to drink. Place this item on a cauldron to pour the river water into the cauldron."),
stack_max = 1,
inventory_image = potion_image("#0044FF"),
wield_image = potion_image("#0044FF"),
@ -247,7 +248,7 @@ minetest.register_craftitem("mcl_potions:potion_river_water", {
local how_to_drink = "To drink it, wield it, then rightclick."
local how_to_drink = S("Use the “Place” key to drink it.")
minetest.register_craftitem("mcl_potions:potion_awkward", {
description = S("Awkward Potion"),

View file

@ -18,3 +18,6 @@ This potion has a bitter taste and is used for brewing more potions. Drinking it
Glistering Melon=Glitzermelone
This shiny melon is full of tiny gold nuggets and would be nice in an item frame. It isn't edible and not useful for anything else.=Diese glänzende Melone ist voller winziger Goldnuggets und sähe ganz nett in einem Rahmen aus. Er ist nicht essbar und auch sonst zu nichts zu gebrauchen.
Dragon's Breath=Drachenatem
Use the “Place” key to drink it.=Benutzen Sie die „Platzieren“-Taste zum Trinken.
Use the “Place” key to drink. Place this item on a cauldron to pour the water into the cauldron.=Benutzen Sie die „Platzieren“-Taste zum Trinken. Platzieren Sie diesen Gegenstand auf einen Kessel, um das Wasser in den Kessel zu schütten.
Use the “Place” key to drink. Place this item on a cauldron to pour the river water into the cauldron.=Benutzen Sie die „Platzieren“-Taste zum Trinken. Platzieren Sie diesen Gegenstand auf einen Kessel, um das Flusswasser in den Kessel zu schütten.

View file

@ -18,3 +18,6 @@ This potion has a bitter taste and is used for brewing more potions. Drinking it
Glistering Melon=
This shiny melon is full of tiny gold nuggets and would be nice in an item frame. It isn't edible and not useful for anything else.=
Dragon's Breath=
Use the “Place” key to drink it.=
Use the “Place” key to drink. Place this item on a cauldron to pour the water into the cauldron.=
Use the “Place” key to drink. Place this item on a cauldron to pour the river water into the cauldron.=