aboutsummaryrefslogtreecommitdiff
path: root/builtin/fstk/ui.lua
diff options
context:
space:
mode:
authorRiceball LEE <snowyu.lee@gmail.com>2021-11-01 20:27:46 +0800
committerGitHub <noreply@github.com>2021-11-01 12:27:46 +0000
commit693f98373bc4681d8eac1ab898f9ca9b9c9860d2 (patch)
tree638b1434b4a693c33cfc9f34eba23766503d5f78 /builtin/fstk/ui.lua
parent6910c8d920acedb3f1df1ac03a5cdf14f5fb6081 (diff)
downloadminetest-693f98373bc4681d8eac1ab898f9ca9b9c9860d2.tar.gz
minetest-693f98373bc4681d8eac1ab898f9ca9b9c9860d2.tar.bz2
minetest-693f98373bc4681d8eac1ab898f9ca9b9c9860d2.zip
Localize error messages in mainmenu (#11495)
Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
Diffstat (limited to 'builtin/fstk/ui.lua')
-rw-r--r--builtin/fstk/ui.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fstk/ui.lua b/builtin/fstk/ui.lua
index 976659ed3..13f9cbec2 100644
--- a/builtin/fstk/ui.lua
+++ b/builtin/fstk/ui.lua
@@ -63,7 +63,7 @@ function ui.update()
-- handle errors
if gamedata ~= nil and gamedata.reconnect_requested then
local error_message = core.formspec_escape(
- gamedata.errormessage or "<none available>")
+ gamedata.errormessage or fgettext("<none available>"))
formspec = {
"size[14,8]",
"real_coordinates[true]",