summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/web/luasrc/i18n.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/i18n.lua b/libs/web/luasrc/i18n.lua
index dcca13ec64..091542f860 100644
--- a/libs/web/luasrc/i18n.lua
+++ b/libs/web/luasrc/i18n.lua
@@ -109,5 +109,5 @@ end
-- @param ... Format parameters
-- @return Translated and formatted string
function translatef(key, default, ...)
- return translate(key, default):format(...)
+ return tostring(translate(key, default)):format(...)
end