10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 464: | Line 464: | ||
-- non-finite parameters | -- non-finite parameters | ||
principle_parts["vnoun"] = args["vnoun"] or (principle_parts["pspart"] .. "aș") | principle_parts["vnoun"] = args["vnoun"] or (principle_parts["pspart"] .. "aș") | ||
if mw.ustring.match(principle_parts["pspart"], "ru$") then | if mw.ustring.match(principle_parts["pspart"], "ru$") then | ||
principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"], "ru$", "rủ") | principle_parts["pspart"] = mw.ustring.gsub(principle_parts["pspart"], "ru$", "rủ") | ||
else | else | ||
principle_parts["pspart"] = principle_parts["pspart"] .. "ú" | principle_parts["pspart"] = principle_parts["pspart"] .. "ú" | ||
end | end | ||
Line 502: | Line 499: | ||
principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "áa$", "ả") | principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "áa$", "ả") | ||
principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "âa$", "oà") | principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "âa$", "oà") | ||
principle_parts["aa"] = args["aa"] or mw.ustring.gsub(principle_parts["2s"] .. "á", "([^eoø])avá$", "%1áva") | principle_parts["aa"] = args["aa"] --or mw.ustring.gsub(principle_parts["2s"] .. "á", "([^eoø])avá$", "%1áva") | ||
principle_parts["ai"] = args["ai"] or mw.ustring.gsub(principle_parts["2s"] .. "ai", "([^eoø])avai$", "%1áe") | principle_parts["ai"] = args["ai"] --or mw.ustring.gsub(principle_parts["2s"] .. "ai", "([^eoø])avai$", "%1áe") | ||
principle_parts["depers"] = args["depers"] | principle_parts["depers"] = args["depers"] | ||
principle_parts["o"] = mw.ustring.gsub(principle_parts["2s"] .. "o", "([au])o$", "%1ò") | --principle_parts["o"] = mw.ustring.gsub(principle_parts["2s"] .. "o", "([au])o$", "%1ò") | ||
local imp_temp = args["depers"] | local imp_temp = args["depers"] | ||
if imp_temp then | if imp_temp then | ||
Line 532: | Line 529: | ||
principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "mr$", "mbr") | principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "mr$", "mbr") | ||
principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "ņr$", "ņgr") | principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "ņr$", "ņgr") | ||
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ú]ú$", "ủ") | ||
return principle_parts | return principle_parts |