Module:xchc-translit: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 82: Line 82:
text = mw.ustring.toNFD(text):gsub("([LNln])j([aeiouy])", "%1y%2")
text = mw.ustring.toNFD(text):gsub("([LNln])j([aeiouy])", "%1y%2")
:gsub("([Dd])z","%1c"):gsub("([Dd])ž","%1z")
:gsub(M,A)
:gsub(M,A)
:gsub(A .. D, DA):gsub(D .. A, DA)
:gsub(A .. D, DA):gsub(D .. A, DA)
return mw.ustring.toNFC(text)
return mw.ustring.toNFC(text):gsub("([Dd])z","%1c"):gsub("([Dd])ž","%1z")
end
end


return export
return export

Navigation menu