Merge and update translations (#186)

This commit is contained in:
CarlosBarrazaE
2021-11-13 22:14:19 -03:00
committed by GitHub
parent fe34e3f3cd
commit dce587cf33
26 changed files with 863 additions and 2679 deletions

View File

@ -8,11 +8,11 @@ Licensed under the zlib license. See LICENSE.md for more information.
local S = moreblocks.S
local descriptions = {
["micro"] = S("%s Microblock"),
["slab"] = S("%s Slab"),
["slope"] = S("%s Slope"),
["panel"] = S("%s Panel"),
["stair"] = S("%s Stairs"),
["micro"] = "Microblock",
["slab"] = "Slab",
["slope"] = "Slope",
["panel"] = "Panel",
["stair"] = "Stairs",
}
-- Extends the standad rotate_node placement so that it takes into account
@ -119,8 +119,9 @@ stairsplus.rotate_node_aux = function(itemstack, placer, pointed_thing)
end
stairsplus.register_single = function(category, alternate, info, modname, subname, recipeitem, fields)
local src_def = minetest.registered_nodes[recipeitem] or {}
local desc_base = descriptions[category]:format(fields.description)
local desc_base = S("@1 "..descriptions[category], fields.description)
local def = {}
if category ~= "slab" then