Issue #2895315 by nielsstampe, Krzysztof Domański: Danish characters are not translated correctly with transliteration

8.7.x
Nathaniel Catchpole 2018-11-20 12:03:12 +00:00
parent bb7fb6a3dd
commit 2580766754
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* Danish transliteration data for the PhpTransliteration class.
*/
$overrides['dk'] = [
$overrides['da'] = [
0xC5 => 'Aa',
0xD8 => 'Oe',
0xE5 => 'aa',

View File

@ -136,8 +136,8 @@ class PhpTransliterationTest extends TestCase {
// Test language overrides provided by core.
['de', $two_byte, 'Ae Oe Ue A O aeoeueaohello'],
['de', $random, $random],
['dk', $two_byte, 'A O U Aa Oe aouaaoehello'],
['dk', $random, $random],
['da', $two_byte, 'A O U Aa Oe aouaaoehello'],
['da', $random, $random],
['kg', $three_byte, 'ts'],
// Test strings in some other languages.
// Turkish, provided by drupal.org user Kartagis.