diff options
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r-- | libs/web/luasrc/i18n.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/i18n.lua b/libs/web/luasrc/i18n.lua index dcca13ec6..091542f86 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 |