Skip to content

Commit

Permalink
Remove ь/Ь from default mappping, add to bg-specific
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstjules committed Jun 12, 2017
1 parent 0c0b352 commit f9c2e0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Stringy.php
Original file line number Diff line number Diff line change
Expand Up @@ -1745,7 +1745,7 @@ protected function charsArray()
'w' => ['ŵ', 'ω', 'ώ', '', '', ''],
'x' => ['χ', 'ξ', ''],
'y' => ['ý', '', '', '', '', 'ÿ', 'ŷ', 'й', 'ы', 'υ',
'ϋ', 'ύ', 'ΰ', 'ي', '', '', 'ь', 'ъ'],
'ϋ', 'ύ', 'ΰ', 'ي', '', ''],
'z' => ['ź', 'ž', 'ż', 'з', 'ζ', 'ز', '', '', ''],
'aa' => ['ع', '', 'آ'],
'ae' => ['æ', 'ǽ'],
Expand Down Expand Up @@ -1816,7 +1816,7 @@ protected function charsArray()
'W' => ['Ω', 'Ώ', 'Ŵ', ''],
'X' => ['Χ', 'Ξ', ''],
'Y' => ['Ý', '', '', '', '', 'Ÿ', '', '', '', 'Ύ',
'Ы', 'Й', 'Υ', 'Ϋ', 'Ŷ', '', 'Ь', 'Ъ'],
'Ы', 'Й', 'Υ', 'Ϋ', 'Ŷ', ''],
'Z' => ['Ź', 'Ž', 'Ż', 'З', 'Ζ', ''],
'AE' => ['Æ', 'Ǽ'],
'Ch' => ['Ч'],
Expand Down Expand Up @@ -1872,8 +1872,8 @@ protected static function langSpecificCharsArray($language = 'en')
['ae', 'oe', 'ue', 'AE', 'OE', 'UE'],
],
'bg' => [
['х', 'Х', 'щ', 'Щ', 'ъ', 'Ъ'],
['h', 'H', 'sht', 'SHT', 'a', 'А']
['х', 'Х', 'щ', 'Щ', 'ъ', 'Ъ', 'ь', 'Ь'],
['h', 'H', 'sht', 'SHT', 'a', 'А', 'y', 'Y']
]
];

Expand Down

0 comments on commit f9c2e0a

Please sign in to comment.