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_pistons")
local specs = {
normal = {
offname = "mesecons_pistons:piston_normal_off",
@ -261,7 +263,7 @@ local piston_on_box = {
-- Normal (non-sticky) Pistons:
-- offstate
minetest.register_node("mesecons_pistons:piston_normal_off", {
description = "Piston",
description = S("Piston"),
tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
@ -285,7 +287,7 @@ minetest.register_node("mesecons_pistons:piston_normal_off", {
-- onstate
minetest.register_node("mesecons_pistons:piston_normal_on", {
description = "Activated Piston Base",
description = S("Activated Piston Base"),
drawtype = "nodebox",
tiles = {
"mesecons_piston_top.png",
@ -314,7 +316,7 @@ minetest.register_node("mesecons_pistons:piston_normal_on", {
-- pusher
minetest.register_node("mesecons_pistons:piston_pusher_normal", {
description = "Piston Pusher",
description = S("Piston Pusher"),
drawtype = "nodebox",
tiles = {
"mesecons_piston_pusher_top.png",
@ -339,7 +341,7 @@ minetest.register_node("mesecons_pistons:piston_pusher_normal", {
-- Sticky ones
-- offstate
minetest.register_node("mesecons_pistons:piston_sticky_off", {
description = "Sticky Piston",
description = S("Sticky Piston"),
tiles = {
"mesecons_piston_top.png",
"mesecons_piston_bottom.png",
@ -363,7 +365,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_off", {
-- onstate
minetest.register_node("mesecons_pistons:piston_sticky_on", {
description = "Activated Sticky Piston Base",
description = S("Activated Sticky Piston Base"),
drawtype = "nodebox",
tiles = {
"mesecons_piston_top.png",
@ -392,7 +394,7 @@ minetest.register_node("mesecons_pistons:piston_sticky_on", {
-- pusher
minetest.register_node("mesecons_pistons:piston_pusher_sticky", {
description = "Sticky Piston Pusher",
description = S("Sticky Piston Pusher"),
drawtype = "nodebox",
tiles = {
"mesecons_piston_pusher_top.png",