Module:gender and number: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
 
Line 86: Line 86:
for k, v in pairs(groups) do
for k, v in pairs(groups) do
if type(v) == "number" and v > 1 and multiple_group_categories[k] ~= nil then
if type(v) == "number" and v > 1 and multiple_group_categories[k] ~= nil then
table.insert(cats, "[[Category:" .. language.name .. " " .. string.gsub(multiple_group_categories[k], "%%", pos) .. "]]")
table.insert(cats, "[[Category:" .. language.name .. " " .. string.gsub(multiple_group_categories[k], "%%", pluralize(pos)) .. "]]")
end
end
end
end

Navigation menu