Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Formatting transliteration table
Browse files Browse the repository at this point in the history
  • Loading branch information
vlakoff committed Nov 28, 2015
1 parent 9068d95 commit 909a1eb
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions src/Faker/Provider/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,19 +317,18 @@ protected static function toAscii($string)
'' => 'o','' => 'p','' => 'z','' => 'r','' => 's','' => 't',
'' => 'u','' => 'p','' => 'k','' => 'g','' => 'q','' => 's',
'' => 'c','' => 't','' => 'd','' => 't','' => 'c','' => 'k',
'' => 'j','' => 'h','ţ' => 't','ʼ' => "'", '̧' => '',
'' => 'h','' => "'",'' => "'",'' => 'u','/' => '',
'ế' => 'e','' => 'a','' => 'i','' => 'a','' => 'e','' => 'i',
'' => 'o','' => 'e','ơ' => 'o','' => 'a','' => 'a','ư' => 'u',
'' => 'a','' => 'a','' => 'd','' => 'H','' => 'D',
'ș' => 's','ț' => 't', '' => 'o','' => 'a','ş' => 's',
"'" => '', 'ու' => 'u','ա' => 'a','բ' => 'b','գ' => 'g','դ' => 'd',
'ե' => 'e','զ' => 'z','է' => 'e','ը' => 'y','թ' => 't','ժ' => 'zh',
'ի' => 'i','լ' => 'l','խ' => 'kh','ծ' => 'ts','կ' => 'k','հ' => 'h',
'ձ' => 'dz','ղ' => 'gh','ճ' => 'ch','մ' => 'm','յ' => 'y','ն' => 'n',
'շ' => 'sh','ո' => 'o','չ' => 'ch','պ' => 'p','ջ' => 'j','ռ' => 'r',
'ս' => 's','վ' => 'v','տ' => 't','ր' => 'r','ց' => 'ts','փ' => 'p',
'ք' => 'q','և' => 'ev','օ' => 'o','ֆ' => 'f',
'' => 'j','' => 'h','ţ' => 't','ʼ' => "'", '̧' => '','' => 'h',
'' => "'",'' => "'",'' => 'u','/' => '','ế' => 'e','' => 'a',
'' => 'i','' => 'a','' => 'e','' => 'i','' => 'o','' => 'e',
'ơ' => 'o','' => 'a','' => 'a','ư' => 'u','' => 'a','' => 'a',
'' => 'd','' => 'H','' => 'D','ș' => 's','ț' => 't', '' => 'o',
'' => 'a','ş' => 's',"'" => '', 'ու' => 'u','ա' => 'a','բ' => 'b',
'գ' => 'g','դ' => 'd','ե' => 'e','զ' => 'z','է' => 'e','ը' => 'y',
'թ' => 't','ժ' => 'zh','ի' => 'i','լ' => 'l','խ' => 'kh','ծ' => 'ts',
'կ' => 'k','հ' => 'h','ձ' => 'dz','ղ' => 'gh','ճ' => 'ch','մ' => 'm',
'յ' => 'y','ն' => 'n','շ' => 'sh','ո' => 'o','չ' => 'ch','պ' => 'p',
'ջ' => 'j','ռ' => 'r','ս' => 's','վ' => 'v','տ' => 't','ր' => 'r',
'ց' => 'ts','փ' => 'p','ք' => 'q','և' => 'ev','օ' => 'o','ֆ' => 'f',
);
$arrayFrom = array_keys($transliterationTable);
$arrayTo = array_values($transliterationTable);
Expand Down

0 comments on commit 909a1eb

Please sign in to comment.