Module:xchc-translit: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 52: Line 52:
};
};


function export.tr(text, lang, sc)
function export.tr_tiktiki(text, lang, sc)
for pat, repl in pairs(tt) do
for pat, repl in pairs(tt) do
text = mw.ustring.gsub(text, pat, repl)
text = mw.ustring.gsub(text, pat, repl)
Line 101: Line 101:
};
};


function export.tr_lepik(text, lang, sc)
function export.tr(text, lang, sc)
text = mw.ustring.toNFD(text)
text = mw.ustring.toNFD(text)
for pat, repl in pairs(tt) do
for pat, repl in pairs(tt_lepik) do
text = mw.ustring.gsub(text, pat, repl)
text = mw.ustring.gsub(text, pat, repl)
end
end

Navigation menu