Module:qhv-verb/data: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 812: Line 812:
setmetatable(d["nasal"], {__call = function(self, args, data)
setmetatable(d["nasal"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
local pstem = stem == "gaom" and "gōn" or sub(stem, 1, -2) .. "n"
local pstem = match(stem, "gaom$") and gsub(stem, "gaom", "gōn") or sub(stem, 1, -2) .. "n"
data.decl_type = "nasal stem"
data.decl_type = "nasal stem"
if not data.no_cat then
if not data.no_cat then

Navigation menu