update translations (thx Niklp)

This commit is contained in:
tenplus1 2023-08-27 07:59:39 +01:00
parent 00b34b49e5
commit 7525535715
3 changed files with 23 additions and 28 deletions

View File

@ -3,14 +3,8 @@
-- License: MIT -- License: MIT
-- Intllib support -- Translation support
local S local S = minetest.get_translator("bees")
if minetest.get_translator then
S = minetest.get_translator("bees")
else
S = function(s) return s end
end
-- --
-- FUNCTIONS -- FUNCTIONS
@ -812,19 +806,19 @@ minetest.register_abm({
-- --
minetest.register_craftitem("bees:frame_empty", { minetest.register_craftitem("bees:frame_empty", {
description = S("Empty hive frame"), description = S("Empty Hive Frame"),
inventory_image = "bees_frame_empty.png", inventory_image = "bees_frame_empty.png",
stack_max = 24 stack_max = 24
}) })
minetest.register_craftitem("bees:frame_full", { minetest.register_craftitem("bees:frame_full", {
description = S("Filled hive frame"), description = S("Filled Hive Frame"),
inventory_image = "bees_frame_full.png", inventory_image = "bees_frame_full.png",
stack_max = 12 stack_max = 12
}) })
minetest.register_craftitem("bees:bottle_honey", { minetest.register_craftitem("bees:bottle_honey", {
description = S("Honey bottle"), description = S("Honey Bottle"),
inventory_image = "bees_bottle_honey.png", inventory_image = "bees_bottle_honey.png",
stack_max = 12, stack_max = 12,
on_use = minetest.item_eat(3, "vessels:glass_bottle"), on_use = minetest.item_eat(3, "vessels:glass_bottle"),
@ -832,13 +826,13 @@ minetest.register_craftitem("bees:bottle_honey", {
}) })
minetest.register_craftitem("bees:wax", { minetest.register_craftitem("bees:wax", {
description = S("Bees wax"), description = S("Bees Wax"),
inventory_image = "bees_wax.png", inventory_image = "bees_wax.png",
stack_max = 48 stack_max = 48
}) })
minetest.register_craftitem("bees:honey_comb", { minetest.register_craftitem("bees:honey_comb", {
description = S("honey comb"), description = S("Honey Comb"),
inventory_image = "bees_comb.png", inventory_image = "bees_comb.png",
on_use = minetest.item_eat(2), on_use = minetest.item_eat(2),
stack_max = 8 stack_max = 8
@ -916,7 +910,7 @@ end
-- --
minetest.register_tool("bees:smoker", { minetest.register_tool("bees:smoker", {
description = S("smoker"), description = S("Smoker"),
inventory_image = "bees_smoker.png", inventory_image = "bees_smoker.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 3.0, full_punch_interval = 3.0,
@ -965,7 +959,7 @@ minetest.register_tool("bees:smoker", {
}) })
minetest.register_tool("bees:grafting_tool", { minetest.register_tool("bees:grafting_tool", {
description = S("Grafting tool"), description = S("Grafting Tool"),
inventory_image = "bees_grafting_tool.png", inventory_image = "bees_grafting_tool.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 3.0, full_punch_interval = 3.0,

View File

@ -1,21 +1,21 @@
# Template # textdomain: bees
Bees=
Honey Extractor= Honey Extractor=
Bees=
Wild Bee Hive= Wild Bee Hive=
Artificial Bee Hive=
Industrial Bee Hive=
Colony died, not enough flowers in area!= Colony died, not enough flowers in area!=
Artificial Bee Hive=
Requires Queen bee to function= Requires Queen bee to function=
Progress= progress:=
Does not have empty frame(s)= Does not have empty frame(s)=
Queen inserted, now for empty frames= Queen inserted, now for the empty frames=
Bees are aclimating= Bees are aclimating=
Empty hive frame= Empty Hive Frame=
Filled hive frame= Filled Hive Frame=
Honey Bottle= Honey Bottle=
Bees wax= Bees Wax=
Honey comb= Honey Comb=
Queen Bee= Queen Bee=
Smoker= Smoker=
Grafting tool= Grafting Tool=
Industrial Bee Hive=
Bees! Bees for all!=

View File

@ -1,4 +1,5 @@
name = bees name = bees
description = Adds bees and hives to Minetest.
depends = default depends = default
optional_depends = lucky_block optional_depends = lucky_block
description = Adds bees and hives to Minetest. min_minetest_version = 5.0