Module:snon-common: Difference between revisions

Melinoë (talk | contribs)
No edit summary
Melinoë (talk | contribs)
No edit summary
Line 46: Line 46:
if mw.ustring.find(word_l, "^-[f]") then
if mw.ustring.find(word_l, "^-[f]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "v%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-v")
elseif mw.ustring.find(word_l, "^-[vp]") then
elseif mw.ustring.find(word_l, "^-[vp]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "b%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-b")
elseif mw.ustring.find(word_l, "^-[b]") then
elseif mw.ustring.find(word_l, "^-[b]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "m%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-m")
elseif mw.ustring.find(word_l, "^-[s]") then
elseif mw.ustring.find(word_l, "^-[s]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "%z")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-z")
elseif mw.ustring.find(word_l, "^-[zt]") then
elseif mw.ustring.find(word_l, "^-[zt]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "d%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-d")
elseif mw.ustring.find(word_l, "^-[dg]") then
elseif mw.ustring.find(word_l, "^-[d]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "n%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-n")
elseif mw.ustring.find(word_l, "^-[g]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "-ng")
elseif mw.ustring.find(word_l, "^-[h]") then
elseif mw.ustring.find(word_l, "^-[h]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "n%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-nh")
elseif mw.ustring.find(word_l, "^-[k]") then
elseif mw.ustring.find(word_l, "^-[k]") then
ret.ecl = mw.ustring.gsub(word, "^(..)", "g%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "-g")
end
end
end
end