Module:headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 445: Line 445:
local postype = export.pos_lemma_or_nonlemma(data.pos_category)
local postype = export.pos_lemma_or_nonlemma(data.pos_category)
if not data.noposcat then
if not data.noposcat then
postype = "lemma" and data.lang:getMainCategoryName() or postype
table.insert(data.categories, 1, data.lang:getCanonicalName() .. " " .. postype .. "s")
table.insert(data.categories, 1, data.lang:getCanonicalName() .. " " .. postype .. "s")
end
end