Module:qhv-adj: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 128: Line 128:
end
end


local function make_cases(data, pre, post)
local function make_cases(data)
local cases = {"nominative", "accusative", "genitive", "dative", "locative", "instrumental", "comitative", "vocative"}
local cases = {"nominative", "accusative", "genitive", "dative", "locative", "instrumental", "comitative", "vocative"}
local genders = {"lunar", "solar", "terrestrial", "aquatic"}
local genders = {"lunar", "solar", "terrestrial", "aquatic"}
Line 144: Line 144:
end
end
end
end
if case_short == "voc" then data.pre, data.post = false, true end
end
end
return table.concat(ret)
return table.concat(ret)