mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-07-03 16:10:26 +02:00
Add MT 5.0.0 translation support
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
local S = minetest.get_translator("mesecons_extrawires")
|
||||
|
||||
local function crossover_get_rules(node)
|
||||
return {
|
||||
{--first wire
|
||||
@ -19,7 +21,7 @@ local crossover_states = {
|
||||
}
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_off", {
|
||||
description = "Insulated Mesecon Crossover",
|
||||
description = S("Insulated Mesecon Crossover"),
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
tiles = {
|
||||
@ -45,7 +47,7 @@ minetest.register_node("mesecons_extrawires:crossover_off", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_01", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
@ -72,7 +74,7 @@ minetest.register_node("mesecons_extrawires:crossover_01", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_10", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
@ -99,7 +101,7 @@ minetest.register_node("mesecons_extrawires:crossover_10", {
|
||||
})
|
||||
|
||||
minetest.register_node("mesecons_extrawires:crossover_on", {
|
||||
description = "You hacker you!",
|
||||
description = S("You hacker you!"),
|
||||
drop = "mesecons_extrawires:crossover_off",
|
||||
drawtype = "mesh",
|
||||
mesh = "mesecons_extrawires_crossover.b3d",
|
||||
|
Reference in New Issue
Block a user