mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-04 08:30:24 +02:00
Add MT 5.0.0 translation support
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator("mesecons_delayer")
|
||||
|
||||
-- Function that get the input/output rules of the delayer
|
||||
local delayer_get_output_rules = function(node)
|
||||
local rules = {{x = 0, y = 0, z = 1}}
|
||||
@ -62,7 +64,7 @@ local boxes = {
|
||||
}
|
||||
|
||||
minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
|
||||
description = "Delayer",
|
||||
description = S("Delayer"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
"mesecons_delayer_off_"..tostring(i)..".png",
|
||||
@ -120,7 +122,7 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), {
|
||||
|
||||
|
||||
minetest.register_node("mesecons_delayer:delayer_on_"..tostring(i), {
|
||||
description = "You hacker you",
|
||||
description = S("You hacker you"),
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
"mesecons_delayer_on_"..tostring(i)..".png",
|
||||
|
Reference in New Issue
Block a user