Module:snon-common: Difference between revisions

Melinoë (talk | contribs)
No edit summary
Melinoë (talk | contribs)
No edit summary
Line 52: Line 52:
ret.ecl = mw.ustring.gsub(word, "^(..)", "m%1")
ret.ecl = mw.ustring.gsub(word, "^(..)", "m%1")
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%1")