mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-08 02:20:24 +02:00
Add MT 5.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}}
|
||||
@ -80,7 +82,7 @@ if i > 1 then
|
||||
end
|
||||
|
||||
local off_state = {
|
||||
description = "Delayer",
|
||||
description = S("Delayer"),
|
||||
tiles = {
|
||||
"mesecons_delayer_off_"..tostring(i)..".png",
|
||||
"mesecons_delayer_bottom.png",
|
||||
@ -123,7 +125,6 @@ minetest.register_node("mesecons_delayer:delayer_off_"..tostring(i), off_state)
|
||||
|
||||
-- Activated delayer definition defaults
|
||||
local on_state = {
|
||||
description = "You hacker you",
|
||||
tiles = {
|
||||
"mesecons_delayer_on_"..tostring(i)..".png",
|
||||
"mesecons_delayer_bottom.png",
|
||||
|
Reference in New Issue
Block a user