Skip to content

Commit

Permalink
Issue backdrop#1604: Use up-to-date transliteration standards for Bul…
Browse files Browse the repository at this point in the history
  • Loading branch information
quicksketch committed Oct 17, 2020
2 parents 14dfd0e + ecbecf4 commit 71653e3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
27 changes: 12 additions & 15 deletions core/includes/transliteration/bg.php
Expand Up @@ -13,7 +13,7 @@
0x0416 => 'Zh',
0x0417 => 'Z',
0x0418 => 'I',
0x0419 => 'J',
0x0419 => 'Y',
0x041A => 'K',
0x041B => 'L',
0x041C => 'M',
Expand All @@ -25,16 +25,15 @@
0x0422 => 'T',
0x0423 => 'U',
0x0424 => 'F',
0x0425 => 'X',
0x0425 => 'H',
0x0426 => 'C',
0x0427 => 'Ch',
0x0428 => 'Sh',
0x0429 => 'Sht',
0x042A => 'Y',
0x042B => 'J',
0x042C => 'J',
0x042E => 'Ju',
0x042F => 'Ja',
0x042A => 'A',
0x042C => 'Y',
0x042E => 'Yu',
0x042F => 'Ya',
0x0430 => 'a',
0x0431 => 'b',
0x0432 => 'v',
Expand All @@ -44,7 +43,7 @@
0x0436 => 'zh',
0x0437 => 'z',
0x0438 => 'i',
0x0439 => 'j',
0x0439 => 'y',
0x043A => 'k',
0x043B => 'l',
0x043C => 'm',
Expand All @@ -56,15 +55,13 @@
0x0442 => 't',
0x0443 => 'u',
0x0444 => 'f',
0x0445 => 'x',
0x0445 => 'h',
0x0446 => 'c',
0x0447 => 'ch',
0x0448 => 'sh',
0x0449 => 'sht',
0x044A => 'y',
0x044B => 'j',
0x044C => 'j',
0x044D => 'e',
0x044E => 'ju',
0x044F => 'ja',
0x044A => 'a',
0x044C => 'y',
0x044E => 'yu',
0x044F => 'ya',
);
2 changes: 1 addition & 1 deletion core/modules/simpletest/tests/transliteration.test
Expand Up @@ -50,7 +50,7 @@ class TransliterationTest extends BackdropUnitTestCase {
array('en', '一個簡單的句子', 'yigejiandandejuzi'),

// Bulgarian characters.
array('bg', 'първа статия', 'pyrva statija'),
array('bg', 'първа статия', 'parva statiya'),
);

include_once BACKDROP_ROOT . '/core/includes/transliteration.inc';
Expand Down

0 comments on commit 71653e3

Please sign in to comment.