Transliteration of cyrillic characters. #483

Merged
bamboo2panda merged 2 commits from staging into staging 2019-10-11 14:51:56 +00:00
Showing only changes of commit dd457ee571 - Show all commits

View File

@ -4982,7 +4982,6 @@ abstract class ComponentbuilderHelper
// http://stackoverflow.com/a/2021729/1429677
return preg_replace('/\s+/', ' ', $string);
}
// transliterate cyrillic characters
$transliterationTable = array(
'а' => 'a', 'б' => 'b', 'в' => 'v',
@ -4996,7 +4995,6 @@ abstract class ComponentbuilderHelper
'ч' => 'ch', 'ш' => 'sh', 'щ' => 'sch',
'ь' => '', 'ы' => 'y', 'ъ' => '',
'э' => 'e', 'ю' => 'yu', 'я' => 'ya',
'А' => 'A', 'Б' => 'B', 'В' => 'V',
'Г' => 'G', 'Д' => 'D', 'Е' => 'E',
'Ё' => 'E', 'Ж' => 'Zh', 'З' => 'Z',