Module:rad-stem: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
mNo edit summary
Line 457: Line 457:
["pst"] = args[3],
["pst"] = args[3],
["prespart"] = args[4],
["prespart"] = args[4],
["pspart"] = args[5],
["pspart"] = args[5]
["vnoun"] = args[6] or (args[5] .. "aș")
}
}
 
-- non-finite parameters
-- non-finite parameters
principle_parts["vnoun"] = args[6] or (principle_parts["pspart"] .. "aș")
principle_parts["nonfin"] = mw.ustring.gsub(principle_parts["inf"], "ut$", "ût")
principle_parts["nonfin"] = mw.ustring.gsub(principle_parts["inf"], "ut$", "ût")
if mw.ustring.gmatch(principle_parts["pspart"], "ru$") then
if mw.ustring.gmatch(principle_parts["pspart"], "ru$") then
Line 502: Line 502:
principle_parts["upst"] = args["pst"] or mw.ustring.gsub(principle_parts["pst"] .. "ú", "[uú]ú$", "ủ")
principle_parts["upst"] = args["pst"] or mw.ustring.gsub(principle_parts["pst"] .. "ú", "[uú]ú$", "ủ")
principle_parts["upst_broken"] = args["pst"] or mw.ustring.gsub(principle_parts["pst"] .. "uo", "[uú]uo$", "ủo")
principle_parts["upst_broken"] = args["pst"] or mw.ustring.gsub(principle_parts["pst"] .. "uo", "[uú]uo$", "ủo")
return principle_parts
return principle_parts