Skip to content

Commit

Permalink
Fix Macedonian Dze (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and florianeckerstorfer committed Sep 19, 2018
1 parent 19c961f commit 03138f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Resources/rules/macedonian.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Е": "E",
"Ж": "Zh",
"З": "Z",
"S": "Dz",
"Ѕ": "Dz",
"И": "I",
"Ј": "J",
"К": "K",
Expand Down Expand Up @@ -39,7 +39,7 @@
"е": "e",
"ж": "zh",
"з": "z",
"s": "dz",
"ѕ": "dz",
"и": "i",
"ј": "j",
"к": "k",
Expand Down
4 changes: 2 additions & 2 deletions src/RuleProvider/DefaultRuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7817,7 +7817,7 @@ class DefaultRuleProvider implements RuleProviderInterface
'Е' => 'E',
'Ж' => 'Zh',
'З' => 'Z',
'S' => 'Dz',
'Ѕ' => 'Dz',
'И' => 'I',
'Ј' => 'J',
'К' => 'K',
Expand Down Expand Up @@ -7848,7 +7848,7 @@ class DefaultRuleProvider implements RuleProviderInterface
'е' => 'e',
'ж' => 'zh',
'з' => 'z',
's' => 'dz',
'ѕ' => 'dz',
'и' => 'i',
'ј' => 'j',
'к' => 'k',
Expand Down
2 changes: 1 addition & 1 deletion tests/SlugifyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function customRulesProvider()
['lithuanian', 'Ą Č Ę Ė Į Š Ų Ū Ž ą č ę ė į š ų ū ž', 'a-c-e-e-i-s-u-u-z-a-c-e-e-i-s-u-u-z'],
['estonian', 'Š Ž Õ Ä Ö Ü š ž õ ä ö ü', 's-z-o-a-o-u-s-z-o-a-o-u'],
['hungarian', 'Á É Í Ó Ö Ő Ú Ü Ű á é í ó ö ő ú ü ű', 'a-e-i-o-o-o-u-u-u-a-e-i-o-o-o-u-u-u'],
['macedonian', 'Ѓезвето беше полно со црно кафе. ', 'gjezveto-beshe-polno-so-crno-kafe'],
['macedonian', 'Ѓезвето беше полно со црно кафе. Ѕ ѕ s', 'gjezveto-beshe-polno-so-crno-kafe-dz-dz-s'],
['chinese', '活动日起', 'huodongriqi'],
['turkmen', 'Ç Ä Ž Ň Ö Ş Ü Ý ç ä ž ň ö ş ü ý', 'c-a-z-n-o-s-u-y-c-a-z-n-o-s-u-y'],
];
Expand Down

0 comments on commit 03138f1

Please sign in to comment.