Add MT 5.0 translation support

This commit is contained in:
Wuzzy
2020-02-23 19:59:17 +01:00
parent 68c1729990
commit 1cd496292d
34 changed files with 231 additions and 163 deletions

View File

@ -1,3 +1,5 @@
local S = minetest.get_translator("mesecons_wires")
-- naming scheme: wire:(xp)(zp)(xm)(zm)(xpyp)(zpyp)(xmyp)(zmyp)_on/off
-- where x= x direction, z= z direction, y= y direction, p = +1, m = -1, e.g. xpym = {x=1, y=-1, z=0}
-- The (xp)/(zpyp)/.. statements shall be replaced by either 0 or 1
@ -202,7 +204,7 @@ local function register_wires()
end
mesecon.register_node(":mesecons:wire_"..nodeid, {
description = "Mesecon",
description = S("Mesecon"),
drawtype = "nodebox",
inventory_image = "mesecons_wire_inv.png",
wield_image = "mesecons_wire_inv.png",