Մասնակից:ԱշոտՏՆՂ/Module:abq-translit

Վիքիբառարան-ից

local export = {}

local tt = { ["а"]="ā", ["б"]="b", ["в"]="v", ["г"]="g", ["д"]="d", ["е"]="e", ["ё"]="ë", ["ж"]="ž", ["з"]="z", ["и"]="i", ["й"]="j", ["к"]="k", ["л"]="l", ["м"]="m", ["н"]="n", ["о"]="o", ["п"]="p", ["р"]="r", ["с"]="s", ["т"]="t", ["у"]="w", ["ф"]="f", ["х"]="x", ["ц"]="c", ["ч"]="č̍", ["ш"]="š", ["щ"]="š̍", ["ъ"]="ʾ", ["ы"]="ə", ["ь"]="’", ["э"]="è", ["ю"]="ju", ["я"]="ja", ["А"]="Ā", ["Б"]="B", ["В"]="V", ["Г"]="G", ["Д"]="D", ["Е"]="E", ["Ё"]="Ë", ["Ж"]="Ž", ["З"]="Z", ["И"]="I", ["Й"]="J", ["К"]="K", ["Л"]="L", ["М"]="M", ["Н"]="N", ["О"]="O", ["П"]="P", ["Р"]="R", ["С"]="S", ["Т"]="T", ["У"]="W", ["Ф"]="F", ["Х"]="X", ["Ц"]="C", ["Ч"]="Č̍", ["Ш"]="Š", ["Щ"]="Š̍", ["Ъ"]="ʾ", ["Ы"]="Ə", ["Ь"]="’", ["Э"]="È", ["Ю"]="Ju", ["Я"]="Ja"};

function export.tr(text, lang, sc) text = mw.ustring.gsub(text, 'Хъв', 'Q°') text = mw.ustring.gsub(text, 'Гӏв', 'ʿ°') text = mw.ustring.gsub(text, 'Гъв', 'Γ°') text = mw.ustring.gsub(text, 'Гъь', 'Γ̍') text = mw.ustring.gsub(text, 'Джв', 'Ǯ°') text = mw.ustring.gsub(text, 'Джь', 'Ǯ̍') text = mw.ustring.gsub(text, 'Къв', 'Q̇°') text = mw.ustring.gsub(text, 'Къь', 'Q̇̍') text = mw.ustring.gsub(text, 'Кӏв', 'Ḳ°') text = mw.ustring.gsub(text, 'Кӏь', 'Ḳ̍') text = mw.ustring.gsub(text, 'Хӏв', 'H°') text = mw.ustring.gsub(text, 'Чӏв', 'Č̣°') text = mw.ustring.gsub(text, 'хъв', 'q°') text = mw.ustring.gsub(text, 'гӏв', 'ʿ°') text = mw.ustring.gsub(text, 'гъв', 'γ°') text = mw.ustring.gsub(text, 'гъь', 'γ̍') text = mw.ustring.gsub(text, 'джв', 'ǯ°') text = mw.ustring.gsub(text, 'джь', 'ǯ̍') text = mw.ustring.gsub(text, 'къв', 'q̇°') text = mw.ustring.gsub(text, 'къь', 'q̇̍') text = mw.ustring.gsub(text, 'кӏв', 'ḳ°') text = mw.ustring.gsub(text, 'кӏь', 'ḳ̍') text = mw.ustring.gsub(text, 'хӏв', 'h°') text = mw.ustring.gsub(text, 'чӏв', 'č̣°') text = mw.ustring.gsub(text, 'гв', 'g°') text = mw.ustring.gsub(text, 'гъ', 'γ') text = mw.ustring.gsub(text, 'гь', 'g̍') text = mw.ustring.gsub(text, 'гӏ', 'ʿ') text = mw.ustring.gsub(text, 'дж', 'ǯ') text = mw.ustring.gsub(text, 'дз', 'ʒ') text = mw.ustring.gsub(text, 'жв', 'ž°') text = mw.ustring.gsub(text, 'жь', 'ž̍') text = mw.ustring.gsub(text, 'кв', 'k°') text = mw.ustring.gsub(text, 'къ', 'q̇') text = mw.ustring.gsub(text, 'кь', 'k̍') text = mw.ustring.gsub(text, 'кӏ', 'ḳ') text = mw.ustring.gsub(text, 'тл', 'ł') text = mw.ustring.gsub(text, 'тш', 'č') text = mw.ustring.gsub(text, 'тӏ', 'ṭ') text = mw.ustring.gsub(text, 'пӏ', 'ṗ') text = mw.ustring.gsub(text, 'хв', 'x°') text = mw.ustring.gsub(text, 'хь', 'x̍') text = mw.ustring.gsub(text, 'хӏ', 'ḥ') text = mw.ustring.gsub(text, 'цӏ', 'c̣') text = mw.ustring.gsub(text, 'чв', 'č°') text = mw.ustring.gsub(text, 'чӏ', 'č̣̍') text = mw.ustring.gsub(text, 'шӏ', 'č̣') text = mw.ustring.gsub(text, 'шв', 'š°') text = mw.ustring.gsub(text, 'ль', 'l') text = mw.ustring.gsub(text, 'лӏ', 'ḷ') text = mw.ustring.gsub(text, 'хъ', 'q') text = mw.ustring.gsub(text, 'фӏ', 'f̣') text = mw.ustring.gsub(text, 'Гв', 'G°') text = mw.ustring.gsub(text, 'Гъ', 'Γ') text = mw.ustring.gsub(text, 'Гь', 'G̍') text = mw.ustring.gsub(text, 'Гӏ', 'ʿ') text = mw.ustring.gsub(text, 'Дж', 'Ǯ') text = mw.ustring.gsub(text, 'Дз', 'Ʒ') text = mw.ustring.gsub(text, 'Жв', 'Ž°') text = mw.ustring.gsub(text, 'Жь', 'Ž̍') text = mw.ustring.gsub(text, 'Кв', 'K°') text = mw.ustring.gsub(text, 'Къ', 'Q̇') text = mw.ustring.gsub(text, 'Кь', 'K̍') text = mw.ustring.gsub(text, 'Кӏ', 'Ḳ') text = mw.ustring.gsub(text, 'Тл', 'Ł') text = mw.ustring.gsub(text, 'Тш', 'Č') text = mw.ustring.gsub(text, 'Тӏ', 'Ṭ') text = mw.ustring.gsub(text, 'Пӏ', 'Ṗ') text = mw.ustring.gsub(text, 'Хв', 'X°') text = mw.ustring.gsub(text, 'Хь', 'X̍') text = mw.ustring.gsub(text, 'Хӏ', 'Ḥ') text = mw.ustring.gsub(text, 'Цӏ', 'C̣') text = mw.ustring.gsub(text, 'Чв', 'Č°') text = mw.ustring.gsub(text, 'Чӏ', 'Č̣̍') text = mw.ustring.gsub(text, 'Шӏ', 'Č̣') text = mw.ustring.gsub(text, 'Шв', 'Š°') text = mw.ustring.gsub(text, 'Ль', 'L') text = mw.ustring.gsub(text, 'Лӏ', 'Ḷ') text = mw.ustring.gsub(text, 'Хъ', 'Q') text = mw.ustring.gsub(text, 'Фӏ', 'F̣') text = mw.ustring.gsub(text, '.', tt)

return text end

return export

This page was moved from . It's edit history can be viewed at Մասնակից:ԱշոտՏՆՂ/Module:abq-translit/edithistory