Detectors: Add missing strings for translation

This commit is contained in:
Wuzzy 2019-08-23 07:21:56 +02:00
parent 025e3cbec4
commit effbbc5219

View File

@ -153,10 +153,10 @@ local function node_detector_make_formspec(pos)
local meta = minetest.get_meta(pos)
if meta:get_string("distance") == "" then meta:set_string("distance", "0") end
meta:set_string("formspec", "size[9,2.5]" ..
"field[0.3, 0;9,2;scanname;Name of node to scan for (empty for any):;${scanname}]"..
"field[0.3,1.5;2.5,2;distance;Distance (0-"..mesecon.setting("node_detector_distance_max", 10).."):;${distance}]"..
"field[3,1.5;4,2;digiline_channel;Digiline Channel (optional):;${digiline_channel}]"..
"button_exit[7,0.75;2,3;;Save]")
"field[0.3, 0;9,2;scanname;"..F(S("Name of node to scan for (empty for any):"))..";${scanname}]"..
"field[0.3,1.5;2.5,2;distance;"..F(S("Distance (0-@1):", mesecon.setting("node_detector_distance_max", 10)))..";${distance}]"..
"field[3,1.5;4,2;digiline_channel;"..F(S("Digiline Channel (optional):"))..";${digiline_channel}]"..
"button_exit[7,0.75;2,3;;"..F(S("Save")).."]")
end
local function node_detector_on_receive_fields(pos, fieldname, fields, sender)