Module:etymology: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:


local function term_error(terminfo)
local function term_error(terminfo)
if terminfo.lang:hasType("family") then
if terminfo.lang then
terminfo.term = "-"
if terminfo.lang:hasType("family") then
terminfo.term = "-"
end
end
end
return terminfo
return terminfo