Add MT 5.0.0 translation support

This commit is contained in:
Wuzzy
2019-08-23 05:22:16 +02:00
parent 1a9704f184
commit f5df3bb5ed
30 changed files with 189 additions and 121 deletions

View File

@ -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",