Add Russian translation (#90)

This commit is contained in:
randomei
2024-12-21 21:00:35 +03:00
committed by GitHub
parent 7d4895d5d4
commit caa7ff6677
5 changed files with 34 additions and 4 deletions

View File

@ -1,4 +1,5 @@
local S = digilines.S
local FS = digilines.FS
local GET_COMMAND = "GET"
@ -53,7 +54,7 @@ minetest.register_node("digilines:lightsensor", {
},
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "field[channel;Channel;${channel}]")
meta:set_string("formspec", "field[channel;"..FS("Channel")..";${channel}]")
end,
on_receive_fields = function(pos, _, fields, sender)
local name = sender:get_player_name()