mirror of
https://github.com/minetest-mods/intllib.git
synced 2025-07-04 17:10:22 +02:00
Return nil if msgstr
is empty.
Also remove debugging statements left from previous commit.
This commit is contained in:
@ -249,7 +249,6 @@ local function load_catalog(filename)
|
||||
err = nil
|
||||
local hdrs = data[""]
|
||||
if not (hdrs and hdrs[0]) then
|
||||
print(dump(hdrs))
|
||||
return bail("catalog has no headers")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user