Skip to content

Commit 1cfdf5d

Browse files
ENGCOM-5319: revert Properly transliterate German Umlauts #23292
2 parents 1700a0b + 2c7b852 commit 1cfdf5d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

lib/internal/Magento/Framework/Filter/Test/Unit/TranslitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function filterDataProvider()
4848
['привет мир', 'privet mir', 'privet mir', $isIconv],
4949
[
5050
'Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz',
51-
'Weiss, Goldmann, Goebel, Weiss, Goethe, Goethe und Goetz',
52-
'Weiss, Goldmann, Goebel, Weiss, Goethe, Goethe und Goetz',
51+
'Weiss, Goldmann, Gobel, Weiss, Gothe, Goethe und Gotz',
52+
'Weiss, Goldmann, Gobel, Weiss, Gothe, Goethe und Gotz',
5353
$isIconv
5454
],
5555
[

lib/internal/Magento/Framework/Filter/Test/Unit/TranslitUrlTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ public function filterDataProvider()
4848
['привет мир', 'privet-mir', 'privet-mir', $isIconv],
4949
[
5050
'Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz',
51-
'weiss-goldmann-goebel-weiss-goethe-goethe-und-goetz',
52-
'weiss-goldmann-goebel-weiss-goethe-goethe-und-goetz',
51+
'weiss-goldmann-gobel-weiss-gothe-goethe-und-gotz',
52+
'weiss-goldmann-gobel-weiss-gothe-goethe-und-gotz',
5353
$isIconv
5454
],
5555
[

lib/internal/Magento/Framework/Filter/Translit.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Translit implements \Zend_Filter_Interface
2525
'À' => 'a',
2626
'Á' => 'a',
2727
'Â' => 'a',
28-
'Ä' => 'ae',
28+
'Ä' => 'a',
2929
'Å' => 'a',
3030
'Æ' => 'ae',
3131
'Ç' => 'c',
@@ -40,18 +40,18 @@ class Translit implements \Zend_Filter_Interface
4040
'Ó' => 'o',
4141
'Ô' => 'o',
4242
'Õ' => 'o',
43-
'Ö' => 'oe',
43+
'Ö' => 'o',
4444
'Ø' => 'o',
4545
'Ù' => 'u',
4646
'Ú' => 'u',
4747
'Û' => 'u',
48-
'Ü' => 'ue',
48+
'Ü' => 'u',
4949
'Ý' => 'y',
5050
'ß' => 'ss',
5151
'à' => 'a',
5252
'á' => 'a',
5353
'â' => 'a',
54-
'ä' => 'ae',
54+
'ä' => 'a',
5555
'å' => 'a',
5656
'æ' => 'ae',
5757
'ç' => 'c',
@@ -67,12 +67,12 @@ class Translit implements \Zend_Filter_Interface
6767
'ó' => 'o',
6868
'ô' => 'o',
6969
'õ' => 'o',
70-
'ö' => 'oe',
70+
'ö' => 'o',
7171
'ø' => 'o',
7272
'ù' => 'u',
7373
'ú' => 'u',
7474
'û' => 'u',
75-
'ü' => 'ue',
75+
'ü' => 'u',
7676
'ý' => 'y',
7777
'þ' => 'p',
7878
'ÿ' => 'y',

0 commit comments

Comments
 (0)