45,646
edits
No edit summary |
No edit summary |
||
Line 62: | Line 62: | ||
function export.tr(text, lang, sc) | function export.tr(text, lang, sc) | ||
text = mw.ustring.toNFD(text) | |||
for pat, repl in pairs(tt_lepik) do | for pat, repl in pairs(tt_lepik) do | ||
text = mw.ustring.gsub | text = mw.ustring.gsub(text, pat, repl) | ||
end | end | ||
text = text:gsub("([Yy])e(" .. A .. ")" .. DA, "%1o%2") | -- text = text:gsub("([Yy])e(" .. A .. ")" .. DA, "%1o%2") | ||