IcuCollation: Fix diacritic characters for Aromanian (rup) and Moldovan (mo) headings
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 19 Jul 2017 19:48:56 +0000 (21:48 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 19 Jul 2017 19:49:27 +0000 (21:49 +0200)
They should be Ș, Ț (comma-below) and instead they were cedilla-below (Ş, Ţ).
Same as for Romanian (ro) in 486f64f28302ecceed04977180fd21470cb54c81.

Both of these languages are unsupported by libicu and so the collations
are unlikely to have been used in practice.

Bug: T171043
Bug: T171044
Change-Id: Idd0d593e73cd784fbef7b75e8985f988f5555e26

includes/collation/IcuCollation.php

index 2661bad..e2f82d4 100644 (file)
@@ -180,7 +180,7 @@ class IcuCollation extends Collation {
                'mk' => [ "Ѓ", "Ќ" ],
                'ml' => [],
                'mn' => [],
-               'mo' => [ "Ă", "Â", "Î", "Ş", "Ţ" ], // not in libicu
+               'mo' => [ "Ă", "Â", "Î", "Ș", "Ț" ], // not in libicu
                'mr' => [ "\xe0\xa4\x82", "\xe0\xa4\x83", "ळ", "क्ष", "ज्ञ" ],
                'ms' => [],
                'mt' => [ "Ċ", "Ġ", "Għ", "Ħ", "Ż" ],
@@ -198,7 +198,7 @@ class IcuCollation extends Collation {
                'rm' => [], // not in libicu
                'ro' => [ "Ă", "Â", "Î", "Ș", "Ț" ],
                'ru' => [],
-               'rup' => [ "Ă", "Â", "Î", "Ľ", "Ń", "Ş", "Ţ" ], // not in libicu
+               'rup' => [ "Ă", "Â", "Î", "Ľ", "Ń", "Ș", "Ț" ], // not in libicu
                'sco' => [],
                'se' => [
                        'Á', 'Č', 'Ʒ', 'Ǯ', 'Đ', 'Ǧ', 'Ǥ', 'Ǩ', 'Ŋ',