1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-20 14:26:27 +00:00
Greg Ross 6e86c48486 Updated phone formatter (#241)
* Add locale and libphonenumber libraries.

* Update country code information

Updated existing country codes, fixed incorrect NANP codes for member countries (as well as several UK based ones).

Also added in Country Name to ISO country code mapping array for use with libphonenumber.

* Convert phone number formatting to use libphonenumber

libphonenumber parses phone number more consistantly than the old regex's that mismatched number on a regular basis.
2018-06-26 09:49:22 +02:00

73 lines
1.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* This file has been @generated by a phing task from CLDR version 33.0.0.
* See [README.md](README.md#generating-data) for more information.
*
* @internal Please do not require this file directly.
* It may change location/format between versions
*
* Do not modify this file directly!
*/
return array (
'AI' => 'Anguila',
'AM' => 'Arménia',
'AX' => 'Alanda',
'BD' => 'Bangladeche',
'BH' => 'Barém',
'BJ' => 'Benim',
'BS' => 'Baamas',
'CC' => 'Ilhas dos Cocos (Keeling)',
'CD' => 'Congo-Kinshasa',
'CG' => 'Congo-Brazzaville',
'CI' => 'Côte dIvoire (Costa do Marfim)',
'CW' => 'Curaçau',
'CX' => 'Ilha do Natal',
'CZ' => 'Chéquia',
'DJ' => 'Jibuti',
'DM' => 'Domínica',
'EE' => 'Estónia',
'EH' => 'Sara Ocidental',
'FK' => 'Ilhas Falkland',
'FO' => 'Ilhas Faroé',
'GL' => 'Gronelândia',
'GU' => 'Guame',
'IR' => 'Irão',
'KE' => 'Quénia',
'KI' => 'Quiribáti',
'KN' => 'São Cristóvão e Neves',
'KW' => 'Koweit',
'KY' => 'Ilhas Caimão',
'LI' => 'Listenstaine',
'LK' => 'Sri Lanca',
'LV' => 'Letónia',
'MC' => 'Mónaco',
'MG' => 'Madagáscar',
'MK' => 'Macedónia',
'MS' => 'Monserrate',
'MU' => 'Maurícia',
'MW' => 'Maláui',
'NC' => 'Nova Caledónia',
'NL' => 'Países Baixos',
'NU' => 'Niuê',
'PL' => 'Polónia',
'PS' => 'Territórios palestinianos',
'RO' => 'Roménia',
'SI' => 'Eslovénia',
'SM' => 'São Marinho',
'SV' => 'Salvador',
'SX' => 'São Martinho (Sint Maarten)',
'TC' => 'Ilhas Turcas e Caicos',
'TJ' => 'Tajiquistão',
'TK' => 'Toquelau',
'TM' => 'Turquemenistão',
'TT' => 'Trindade e Tobago',
'UM' => 'Ilhas Menores Afastadas dos EUA',
'UZ' => 'Usbequistão',
'VI' => 'Ilhas Virgens dos EUA',
'VN' => 'Vietname',
'YE' => 'Iémen',
'YT' => 'Maiote',
'ZW' => 'Zimbabué',
);