From 4eccc67b15b74aa3b48240fd5aaa4bb690c7b223 Mon Sep 17 00:00:00 2001 From: OlegT Date: Wed, 24 Jul 2019 20:33:35 +0700 Subject: [PATCH] removed ridiculous letters --- lib/translit.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/translit.rb b/lib/translit.rb index b6e7255..5346137 100644 --- a/lib/translit.rb +++ b/lib/translit.rb @@ -44,11 +44,11 @@ def self.enforce_input_language(language) end def self.english - { "a"=>["А","а"], "b"=>["Б","б"], "v"=>["В","в"], "g"=>["Г","г"], "d"=>["Д","д"], "e"=>["Е","е"], "yo"=>["Ё","ё"], "jo"=>["Ё","ё"], "ö"=>["Ё","ё"], "zh"=>["Ж","ж"], + { "a"=>["А","а"], "b"=>["Б","б"], "v"=>["В","в"], "g"=>["Г","г"], "d"=>["Д","д"], "e"=>["Е","е"], "yo"=>["Ё","ё"], "jo"=>["Ё","ё"], "yo"=>["Ё","ё"], "zh"=>["Ж","ж"], "z"=>["З","з"], "i"=>["И","и"], "j"=>["Й","й"], "k"=>["К","к"], "l"=>["Л","л"], "m"=>["М","м"], "n"=>["Н","н"], "o"=>["О","о"], "p"=>["П","п"], "r"=>["Р","р"], "s"=>["С","с"], "t"=>["Т","т"], "u"=>["У","у"], "f"=>["Ф","ф"], "h"=>["Х","х"], "x"=>["Кс","кс"], "ts"=>["Ц","ц"], "ch"=>["Ч","ч"], "sh"=>["Ш","ш"], "w"=>["В","в"], - "shch"=>["Щ","щ"], "sch"=>["Щ","щ"], "#"=>["Ъ","ъ"], "y"=>["Ы","ы"], ""=>["Ь","ь"], "je"=>["Э","э"], "ä"=>["Э","э"], "yu"=>["Ю","ю"], "ju"=>["Ю","ю"], - "ü"=>["Ю","ю"], "ya"=>["Я","я"], "ja"=>["Я","я"], "q"=>["Я","я"]} + "shch"=>["Щ","щ"], "sch"=>["Щ","щ"], ""=>["Ъ","ъ"], "y"=>["Ы","ы"], ""=>["Ь","ь"], "je"=>["Э","э"], "ue"=>["Э","э"], "yu"=>["Ю","ю"], "ju"=>["Ю","ю"], + "yu"=>["Ю","ю"], "ya"=>["Я","я"], "ja"=>["Я","я"], "q"=>["Я","я"]} end def self.russian