mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Add translation support.
This commit is contained in:
parent
0bc9ab9233
commit
cd84c472dc
@ -215,11 +215,11 @@ local function update_formspecs(finished, ges)
|
|||||||
else
|
else
|
||||||
local comment = "You will fall asleep when "
|
local comment = "You will fall asleep when "
|
||||||
if players_in_bed_setting == 100 then
|
if players_in_bed_setting == 100 then
|
||||||
comment = comment .. "all players are in bed."
|
comment = S(comment .. "all players are in bed.")
|
||||||
else
|
else
|
||||||
comment = comment .. players_in_bed_setting .. "% of all players are in bed."
|
comment = S(comment .. "@1% of all players are in bed.", players_in_bed_setting)
|
||||||
end
|
end
|
||||||
text = text .. "\n" .. S(comment)
|
text = text .. "\n" .. comment
|
||||||
form_n = form_n .. bg_presleep
|
form_n = form_n .. bg_presleep
|
||||||
form_n = form_n .. button_leave
|
form_n = form_n .. button_leave
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user