Module:xchc-translit: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
local export = {}
local export = {}


local tt_lepik = {  
local tt_lepik = {
["Е" .. D]='Yo', ["е" .. D]='yo',
[B .. M] = DA, [M] = A, [B] = D, [A .. D] = DA,
[B .. M] = DA, [M] = A, [B] = D, [A .. D] = DA,
["[ЬІ]"]="Y", ["[ьі]"]="y",
["[ЬІ]"]="Y", ["[ьі]"]="y",
["Э"]='E', ["э"]='e',
["Э"]='E', ["э"]='e',
["О"]='O', ["о"]='o',
["О"]='O', ["о"]='o',
["Ё"]='Yo',["ë"]='yo', ["Е" .. D]='Yo', ["е" .. D]='yo',
["А"]='A', ["а"]='a',
["А"]='A', ["а"]='a',
["Б"]='B', ["б"]='b',
["Б"]='B', ["б"]='b',
Line 38: Line 38:
["Т"]='T', ["т"]='t',
["Т"]='T', ["т"]='t',
["У"]='U', ["у"]='u',
["У"]='U', ["у"]='u',
["Ү"]='U' .. D, ["ү"]='u' .. D,
["Ү" .. A]='U' .. DA, ["ү" .. A]='u' .. DA, ["Ү"]='U' .. D, ["ү"]='u' .. D,
["Ф"]='F', ["ф"]='f',
["Ф"]='F', ["ф"]='f',
["ХӀ"]='H', ["хӀ"]='h', ["Х"]='Ch', ["х"]='ch',
["ХӀ"]='H', ["хӀ"]='h', ["Х"]='Ch', ["х"]='ch',