Module:xchc-translit: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 9: Line 9:


local tt_lepik = {
local tt_lepik = {
[M] = A,
[M] = A,
["е̄̈"] = "yó",
["Е" .. A .. D]='Yó', ["е" .. A .. D]='yó', ["Е" .. D]='Yo', ["е" .. D]='yo',
["Е" .. A .. D]='Yó', ["е" .. A .. D]='yó', ["Е" .. D]='Yo', ["е" .. D]='yo',
["О" .. B]='A' .. D, ["о" .. B]='a' .. D,
["О" .. B]='A' .. D, ["о" .. B]='a' .. D,
Line 67: Line 66:
text = mw.ustring.gsub(mw.ustring.toNFD(text), pat, repl)
text = mw.ustring.gsub(mw.ustring.toNFD(text), pat, repl)
end
end
text = text:gsub("([Yy])e" .. A .. DA, "%1o" .. A)
return text
return text
end
end


return export
return export

Navigation menu