Add missing translation

This commit is contained in:
Wuzzy 2019-08-28 22:01:02 +02:00
parent ac8c7ff609
commit 48893eb1df

View File

@ -1591,7 +1591,7 @@ minetest.register_node(
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
meta:set_string("formspec", default.ui.get_page("default:bookshelf")) meta:set_string("formspec", default.ui.get_page("default:bookshelf"))
meta:set_string("infotext", "Bookshelf") meta:set_string("infotext", S("Bookshelf"))
local inv = meta:get_inventory() local inv = meta:get_inventory()
inv:set_size("main", 4*2) inv:set_size("main", 4*2)
end, end,
@ -1606,7 +1606,7 @@ minetest.register_node(
if text ~= "" then if text ~= "" then
meta:set_string("infotext", text) meta:set_string("infotext", text)
else else
meta:set_string("infotext", "Bookshelf") meta:set_string("infotext", S("Bookshelf"))
end end
end, end,
}) })