48,355
edits
No edit summary |
No edit summary |
||
| Line 113: | Line 113: | ||
if args[1][1] ~= "p" then | if args[1][1] ~= "p" then | ||
-- Genitive | -- Genitive | ||
if | if #generate_gen_sg(PAGENAME) == 1 then | ||
table.insert(args[2], table.concat(generate_gen_sg(PAGENAME))) | table.insert(args[2], table.concat(generate_gen_sg(PAGENAME))) | ||
end | end | ||
| Line 125: | Line 125: | ||
-- Plural | -- Plural | ||
if | if #generate_nom_pl(PAGENAME) == 1 and data.pos_category == "nouns" then | ||
table.insert(args[3], table.concat(generate_nom_pl(PAGENAME))) | table.insert(args[3], table.concat(generate_nom_pl(PAGENAME))) | ||
end | end | ||