Module:mg-noun/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 170: Line 170:
setmetatable(data["consonant"], {__call = function(self, args, data)
setmetatable(data["consonant"], {__call = function(self, args, data)
local stem = data.head; data.decl_type = "consonant"
local stem = data.head; data.decl_type = "consonant"
local qstem = sub(stem, -1) == "c" and gsub(stem, "c$", "qu")
local qstem = sub(stem, -1) == "c" and gsub(stem, "c$", "qu") or stem
table.insert(data.categories, "Modern Gallaecian consonant-declension " .. (data.proper and "proper" or "") .. " nouns")
table.insert(data.categories, "Modern Gallaecian consonant-declension " .. (data.proper and "proper" or "") .. " nouns")

Navigation menu