Module:kilta-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:
elseif pos == "adj" then
elseif pos == "adj" then
if w[n]:match("[kh]win$") then
if w[n]:match("[kh]win$") then
w[n] = sub(w[n], 1, -3) .. "ú"
w[n] = sub(w[n], 1, -4) .. "ú"
elseif w[n]:match("in$") then
elseif w[n]:match("in$") then
w[n] = sub(w[n], 1, -2) .. "u"
w[n] = sub(w[n], 1, -3) .. "u"
end
end
end
end