Module:rad-stem: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 531: Line 531:
end
end
principle_parts["imp"] = args["imp"] or imp_temp or nil
principle_parts["imp"] = args["imp"] or imp_temp or nil
principle_parts["r"] = args["r"] or (principle_parts["2s"] .. "r")
principle_parts["r"] = args["r"] or ((principle_parts["depers"] or principle_parts["2s"]) .. "r")
if principle_parts["vstem"] then principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r") end
if principle_parts["vstem"] then principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r") end
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "([sș])r$", "%1tr")
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "([sș])r$", "%1tr")