Module:rad-stem/templates: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 68: Line 68:
temp = mw.ustring.gsub(temp, "(ýș)$", "yeș")
temp = mw.ustring.gsub(temp, "(ýș)$", "yeș")
temp = mw.ustring.gsub(temp, "(oș)$", "uș")
temp = mw.ustring.gsub(temp, "(oș)$", "uș")
temp = mw.ustring.gsub(temp, "([" .. C .. "])([" .. C .. "])íș ", "%1%2ieș ")
temp = mw.ustring.gsub(temp, "([jșxķ])íș ", "%1ieș ")
temp = mw.ustring.gsub(temp, "(°)", "")
temp = mw.ustring.gsub(temp, "íș ", "jeș ")
temp = mw.ustring.gsub(temp, "úș ", "uoș ")
temp = mw.ustring.gsub(temp, "ýș ", "yeș ")
temp = mw.ustring.gsub(temp, "oș ", "uș ")


return temp
return temp
Line 274: Line 282:
adj_broken_e = mw.ustring.gsub(adj_broken_e, "(aûș)$", "auș")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "(aûș)$", "auș")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "(aùș)$", "aûș")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "(aùș)$", "aûș")
adj_broken_e = adj_broken_e .. "e"
adj_broken_e = mw.ustring.gsub(adj_broken_e, "(ș)$", "șe")
adj_broken_e = mw.ustring.gsub(adj_broken, "uș ", "ûș ")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "aûș ", "auș ")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "aùș ", "aûș ")
adj_broken_e = mw.ustring.gsub(adj_broken_e, "ș ", "șe ")
adj = mw.ustring.gsub(adj, "(°)", "")
adj = mw.ustring.gsub(adj, "(°)", "")
adj = " " .. adj
adj = " " .. adj
Line 337: Line 351:
-- append --
-- append --
if adj_ending then adj_base = mw.ustring.gsub(adj_base, "ș ", "ș" .. adj_ending .. " ") end
base = base .. adj_base
base = base .. adj_base
if adj_ending then base = base .. adj_ending end
if adj_ending then base = base .. adj_ending end