Module:qhv-adj/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 175: Line 175:
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or stem
local stemm = sub(stem, -1) == "n" and sub(stem, 1, -2) .. "m" or sub(stem, -1) == "ñ" and sub(stem, 1, -2) .. "m" or stem
local ny = sub(stem, -1) == "ñ"
local ny = sub(stem, -1) == "ñ"
local stemny = sub(stem, 1, -2) .. "n" or stem
local stemny = ny and sub(stem, 1, -2) .. "n" or stem
data.decl_type = "II"
data.decl_type = "II"
table.insert(data.categories, "High Valyrian class-II adjectives")
table.insert(data.categories, "High Valyrian class-II adjectives")