Add workaround in achievements mod

This commit is contained in:
Wuzzy 2019-09-05 23:23:51 +02:00
parent a3152c39bb
commit 3a57a08e4e
1 changed files with 3 additions and 1 deletions

View File

@ -275,7 +275,9 @@ function achievements.get_formspec(name, row)
form = form .. "label[0.25,0.25;" .. minetest.formspec_escape(title) .. "]"
form = form .. "label[7.25,0.25;" .. minetest.formspec_escape(progress) .. "]"
form = form .. "label[0.5,0.75;" .. minetest.formspec_escape(description) .. "]"
-- TODO: Revert this back to a label
-- Currently a textarea as a workaround for a bug in Minetest that makes labels too short when translated.
form = form .. "textarea[0.75,0.75;7.75,2;;;" .. minetest.formspec_escape(description) .. "]"
return form
end