Make speed indicator in Rotary Macerator formspec translatable

This commit is contained in:
mrkubax10 2024-03-11 18:46:50 +01:00
parent a3e17ea5a1
commit 4b2b0e4836

View File

@ -37,7 +37,7 @@ rotaryMacerator.getFormspec=function(pos)
or "image[4.9,2.8;1,1;gui_furnace_arrow_bg.png^[transformR270]"),
"list[context;dst;6,2.8;1,1;]",
"list[context;upgrades;9,0.9;1,4]",
"label[0.5,2.8;Speed: "..rpm.."]",
"label[0.5,2.8;"..minetest.formspec_escape(S("Speed: @1",rpm)).."]",
"listring[context;src]",
"listring[context;modifier]",
"listring[context;powerStorage]",
@ -60,7 +60,7 @@ rotaryMacerator.getFormspec=function(pos)
mcl_formspec.get_itemslot_bg(6,2.8,1,1),
"list[context;upgrades;9,0.9;1,4]",
mcl_formspec.get_itemslot_bg(9,0.9,1,4),
"label[0.5,2.8;Speed: "..rpm.."]",
"label[0.5,2.8;"..minetest.formspec_escape(S("Speed: @1",rpm)).."]",
"listring[context;src]",
"listring[context;modifier]",
"listring[context;powerStorage]",