Module:siwa-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 513: Line 513:
["ld"] = {type = "boolean"},
["ld"] = {type = "boolean"},
["s"] = {type = "boolean"},
["s"] = {type = "boolean"},
["d"] = {type = "boolean"},
},
},
}
}
Line 528: Line 529:
if stem:match("a$") then
if stem:match("a$") then
if args.ld then
if args.ld then
data.forms["m"] = {stem .. "mo"}
data.forms["m"] = {(args.d and s1 or stem) .. "mo"}
loc = stem .. "moi"
loc = (args.d and s1 or stem) .. "moi"
na = true
na = true
elseif stem:match(v.."[mn][mn].$") then
elseif stem:match(v.."[mn][mn].$") then
Line 544: Line 545:
loc = s2 .. "lmoi"
loc = s2 .. "lmoi"
else
else
data.forms["m"] = {stem .. "mo"}
data.forms["m"] = {(args.d and s1 or stem) .. "mo"}
loc = stem .. "moi"
loc = (args.d and s1 or stem) .. "moi"
na = true
na = true
end
end