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_pressureplates")
local pp_box_off = {
type = "fixed",
fixed = { -7/16, -8/16, -7/16, 7/16, -7/16, 7/16 },
@ -89,7 +91,7 @@ end
mesecon.register_pressure_plate(
"mesecons_pressureplates:pressure_plate_wood",
"Wooden Pressure Plate",
S("Wooden Pressure Plate"),
{"jeija_pressure_plate_wood_off.png","jeija_pressure_plate_wood_off.png","jeija_pressure_plate_wood_off_edges.png"},
{"jeija_pressure_plate_wood_on.png","jeija_pressure_plate_wood_on.png","jeija_pressure_plate_wood_on_edges.png"},
"jeija_pressure_plate_wood_wield.png",
@ -100,7 +102,7 @@ mesecon.register_pressure_plate(
mesecon.register_pressure_plate(
"mesecons_pressureplates:pressure_plate_stone",
"Stone Pressure Plate",
S("Stone Pressure Plate"),
{"jeija_pressure_plate_stone_off.png","jeija_pressure_plate_stone_off.png","jeija_pressure_plate_stone_off_edges.png"},
{"jeija_pressure_plate_stone_on.png","jeija_pressure_plate_stone_on.png","jeija_pressure_plate_stone_on_edges.png"},
"jeija_pressure_plate_stone_wield.png",