gettext: filter out more empty translations

This commit is contained in:
Benoit Pierre authored and Frans de Jonge committed 2025-06-20 09:35:17 +02:00
1 parent f2c678c205
commit bfe329dfad
1 file changed
+1 -1
+1 -1
View File
@@ -200,7 +200,7 @@ function GetText_mt.__index.changeLang(new_lang)
local n = tonumber(k:match("msgstr%[([0-9]+)%]"))
local msgstr = v
if n and msgstr then
if n and msgstr and msgstr ~= "" then
addTranslation(data.msgctxt, data.msgid, msgstr, n)
end
end