45,639
edits
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
["Ӈ"]='Ng', ["ӈ"]='ng', | ["Ӈ"]='Ng', ["ӈ"]='ng', | ||
[" | ["[ОO]" .. B]='A' .. D, ["[оo]" .. B]='a' .. D, | ||
["О" .. M .. B]='A' .. DA, ["о" .. M .. B]='a' .. DA, | ["О" .. M .. B]='A' .. DA, ["о" .. M .. B]='a' .. DA, | ||
["Е(" .. M .. "?)" .. D]='Jo%1', ["е(" .. M .. "?)" .. D]='jo%1', | ["Е(" .. M .. "?)" .. D]='Jo%1', ["е(" .. M .. "?)" .. D]='jo%1', | ||
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("O" .. B, "A" .. D):gsub("o" .. B, "a" .. D) | |||
: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):gsub("([Dd])z","%1c"):gsub("([Dd])ž","%1z") | return mw.ustring.toNFC(text):gsub("([Dd])z","%1c"):gsub("([Dd])ž","%1z") |