361 lines
24 KiB
YAML
361 lines
24 KiB
YAML
|
name: LanguagesTest
|
||
|
class_comment: '# * @group intl-data'
|
||
|
dependencies:
|
||
|
- name: MissingResourceException
|
||
|
type: class
|
||
|
source: Symfony\Component\Intl\Exception\MissingResourceException
|
||
|
- name: Languages
|
||
|
type: class
|
||
|
source: Symfony\Component\Intl\Languages
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testGetNames
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: displayLocale
|
||
|
comment: "# * @group intl-data\n# */\n# class LanguagesTest extends ResourceBundleTestCase\n\
|
||
|
# {\n# // The below arrays document the state of the ICU data bundled with this\
|
||
|
\ package.\n# \n# private const LANGUAGES = [\n# 'aa',\n# 'ab',\n# 'ace',\n# 'ach',\n\
|
||
|
# 'ada',\n# 'ady',\n# 'ae',\n# 'aeb',\n# 'af',\n# 'afh',\n# 'agq',\n# 'ain',\n\
|
||
|
# 'ajp',\n# 'ak',\n# 'akk',\n# 'akz',\n# 'ale',\n# 'aln',\n# 'alt',\n# 'am',\n\
|
||
|
# 'an',\n# 'ang',\n# 'ann',\n# 'anp',\n# 'apc',\n# 'ar',\n# 'arc',\n# 'arn',\n\
|
||
|
# 'aro',\n# 'arp',\n# 'arq',\n# 'ars',\n# 'arw',\n# 'ary',\n# 'arz',\n# 'as',\n\
|
||
|
# 'asa',\n# 'ase',\n# 'ast',\n# 'atj',\n# 'av',\n# 'avk',\n# 'awa',\n# 'ay',\n\
|
||
|
# 'az',\n# 'ba',\n# 'bal',\n# 'ban',\n# 'bar',\n# 'bas',\n# 'bax',\n# 'bbc',\n\
|
||
|
# 'bbj',\n# 'be',\n# 'bej',\n# 'bem',\n# 'bew',\n# 'bez',\n# 'bfd',\n# 'bfq',\n\
|
||
|
# 'bg',\n# 'bgc',\n# 'bgn',\n# 'bho',\n# 'bi',\n# 'bik',\n# 'bin',\n# 'bjn',\n\
|
||
|
# 'bkm',\n# 'bla',\n# 'blo',\n# 'blt',\n# 'bm',\n# 'bn',\n# 'bo',\n# 'bpy',\n\
|
||
|
# 'bqi',\n# 'br',\n# 'bra',\n# 'brh',\n# 'brx',\n# 'bs',\n# 'bss',\n# 'bua',\n\
|
||
|
# 'bug',\n# 'bum',\n# 'byn',\n# 'byv',\n# 'ca',\n# 'cad',\n# 'car',\n# 'cay',\n\
|
||
|
# 'cch',\n# 'ccp',\n# 'ce',\n# 'ceb',\n# 'cgg',\n# 'ch',\n# 'chb',\n# 'chg',\n\
|
||
|
# 'chk',\n# 'chm',\n# 'chn',\n# 'cho',\n# 'chp',\n# 'chr',\n# 'chy',\n# 'cic',\n\
|
||
|
# 'ckb',\n# 'clc',\n# 'co',\n# 'cop',\n# 'cps',\n# 'cr',\n# 'crg',\n# 'crh',\n\
|
||
|
# 'crj',\n# 'crk',\n# 'crl',\n# 'crm',\n# 'crr',\n# 'crs',\n# 'cs',\n# 'csb',\n\
|
||
|
# 'csw',\n# 'cu',\n# 'cv',\n# 'cwd',\n# 'cy',\n# 'da',\n# 'dak',\n# 'dar',\n#\
|
||
|
\ 'dav',\n# 'de',\n# 'del',\n# 'den',\n# 'dgr',\n# 'din',\n# 'dje',\n# 'doi',\n\
|
||
|
# 'dsb',\n# 'dtp',\n# 'dua',\n# 'dum',\n# 'dv',\n# 'dyo',\n# 'dyu',\n# 'dz',\n\
|
||
|
# 'dzg',\n# 'ebu',\n# 'ee',\n# 'efi',\n# 'egl',\n# 'egy',\n# 'eka',\n# 'el',\n\
|
||
|
# 'elx',\n# 'en',\n# 'enm',\n# 'eo',\n# 'es',\n# 'esu',\n# 'et',\n# 'eu',\n# 'ewo',\n\
|
||
|
# 'ext',\n# 'fa',\n# 'fan',\n# 'fat',\n# 'ff',\n# 'fi',\n# 'fil',\n# 'fit',\n\
|
||
|
# 'fj',\n# 'fo',\n# 'fon',\n# 'fr',\n# 'frc',\n# 'frm',\n# 'fro',\n# 'frp',\n\
|
||
|
# 'frr',\n# 'frs',\n# 'fur',\n# 'fy',\n# 'ga',\n# 'gaa',\n# 'gag',\n# 'gan',\n\
|
||
|
# 'gay',\n# 'gba',\n# 'gbz',\n# 'gd',\n# 'gez',\n# 'gil',\n# 'gl',\n# 'glk',\n\
|
||
|
# 'gmh',\n# 'gn',\n# 'goh',\n# 'gom',\n# 'gon',\n# 'gor',\n# 'got',\n# 'grb',\n\
|
||
|
# 'grc',\n# 'gsw',\n# 'gu',\n# 'guc',\n# 'gur',\n# 'guz',\n# 'gv',\n# 'gwi',\n\
|
||
|
# 'ha',\n# 'hai',\n# 'hak',\n# 'haw',\n# 'hax',\n# 'hdn',\n# 'he',\n# 'hi',\n\
|
||
|
# 'hif',\n# 'hil',\n# 'hit',\n# 'hmn',\n# 'hnj',\n# 'ho',\n# 'hr',\n# 'hsb',\n\
|
||
|
# 'hsn',\n# 'ht',\n# 'hu',\n# 'hup',\n# 'hur',\n# 'hy',\n# 'hz',\n# 'ia',\n# 'iba',\n\
|
||
|
# 'ibb',\n# 'id',\n# 'ie',\n# 'ig',\n# 'ii',\n# 'ik',\n# 'ike',\n# 'ikt',\n# 'ilo',\n\
|
||
|
# 'inh',\n# 'io',\n# 'is',\n# 'it',\n# 'iu',\n# 'izh',\n# 'ja',\n# 'jam',\n# 'jbo',\n\
|
||
|
# 'jgo',\n# 'jmc',\n# 'jpr',\n# 'jrb',\n# 'jut',\n# 'jv',\n# 'ka',\n# 'kaa',\n\
|
||
|
# 'kab',\n# 'kac',\n# 'kaj',\n# 'kam',\n# 'kaw',\n# 'kbd',\n# 'kbl',\n# 'kcg',\n\
|
||
|
# 'kde',\n# 'kea',\n# 'ken',\n# 'kfo',\n# 'kg',\n# 'kgp',\n# 'kha',\n# 'kho',\n\
|
||
|
# 'khq',\n# 'khw',\n# 'ki',\n# 'kiu',\n# 'kj',\n# 'kk',\n# 'kkj',\n# 'kl',\n#\
|
||
|
\ 'kln',\n# 'km',\n# 'kmb',\n# 'kn',\n# 'ko',\n# 'koi',\n# 'kok',\n# 'kos',\n\
|
||
|
# 'kpe',\n# 'kr',\n# 'krc',\n# 'kri',\n# 'krj',\n# 'krl',\n# 'kru',\n# 'ks',\n\
|
||
|
# 'ksb',\n# 'ksf',\n# 'ksh',\n# 'ku',\n# 'kum',\n# 'kut',\n# 'kv',\n# 'kw',\n\
|
||
|
# 'kwk',\n# 'kxv',\n# 'ky',\n# 'la',\n# 'lad',\n# 'lag',\n# 'lah',\n# 'lam',\n\
|
||
|
# 'lb',\n# 'lez',\n# 'lfn',\n# 'lg',\n# 'li',\n# 'lij',\n# 'lil',\n# 'liv',\n\
|
||
|
# 'lkt',\n# 'lmo',\n# 'ln',\n# 'lo',\n# 'lol',\n# 'lou',\n# 'loz',\n# 'lrc',\n\
|
||
|
# 'lsm',\n# 'lt',\n# 'ltg',\n# 'lu',\n# 'lua',\n# 'lui',\n# 'lun',\n# 'luo',\n\
|
||
|
# 'lus',\n# 'luy',\n# 'lv',\n# 'lzh',\n# 'lzz',\n# 'mad',\n# 'maf',\n# 'mag',\n\
|
||
|
# 'mai',\n# 'mak',\n# 'man',\n# 'mas',\n# 'mde',\n# 'mdf',\n# 'mdr',\n# 'men',\n\
|
||
|
# 'mer',\n# 'mfe',\n# 'mg',\n# 'mga',\n# 'mgh',\n# 'mgo',\n# 'mh',\n# 'mi',\n\
|
||
|
# 'mic',\n# 'min',\n# 'mk',\n# 'ml',\n# 'mn',\n# 'mnc',\n# 'mni',\n# 'moe',\n\
|
||
|
# 'moh',\n# 'mos',\n# 'mr',\n# 'mrj',\n# 'ms',\n# 'mt',\n# 'mua',\n# 'mus',\n\
|
||
|
# 'mwl',\n# 'mwr',\n# 'mwv',\n# 'my',\n# 'mye',\n# 'myv',\n# 'mzn',\n# 'na',\n\
|
||
|
# 'nan',\n# 'nap',\n# 'naq',\n# 'nb',\n# 'nd',\n# 'nds',\n# 'ne',\n# 'new',\n\
|
||
|
# 'ng',\n# 'nia',\n# 'niu',\n# 'njo',\n# 'nl',\n# 'nmg',\n# 'nn',\n# 'nnh',\n\
|
||
|
# 'no',\n# 'nog',\n# 'non',\n# 'nov',\n# 'nqo',\n# 'nr',\n# 'nso',\n# 'nus',\n\
|
||
|
# 'nv',\n# 'nwc',\n# 'ny',\n# 'nym',\n# 'nyn',\n# 'nyo',\n# 'nzi',\n# 'oc',\n\
|
||
|
# 'oj',\n# 'ojb',\n# 'ojc',\n# 'ojg',\n# 'ojs',\n# 'ojw',\n# 'oka',\n# 'om',\n\
|
||
|
# 'or',\n# 'os',\n# 'osa',\n# 'ota',\n# 'pa',\n# 'pag',\n# 'pal',\n# 'pam',\n\
|
||
|
# 'pap',\n# 'pau',\n# 'pcd',\n# 'pcm',\n# 'pdc',\n# 'pdt',\n# 'peo',\n# 'pfl',\n\
|
||
|
# 'phn',\n# 'pi',\n# 'pis',\n# 'pl',\n# 'pms',\n# 'pnt',\n# 'pon',\n# 'pqm',\n\
|
||
|
# 'prg',\n# 'pro',\n# 'ps',\n# 'pt',\n# 'qu',\n# 'quc',\n# 'qug',\n# 'raj',\n\
|
||
|
# 'rap',\n# 'rar',\n# 'rgn',\n# 'rhg',\n# 'rif',\n# 'rm',\n# 'rn',\n# 'ro',\n\
|
||
|
# 'rof',\n# 'rom',\n# 'rtm',\n# 'ru',\n# 'rue',\n# 'rug',\n# 'rup',\n# 'rw',\n\
|
||
|
# 'rwk',\n# 'sa',\n# 'sad',\n# 'sah',\n# 'sam',\n# 'saq',\n# 'sas',\n# 'sat',\n\
|
||
|
# 'saz',\n# 'sba',\n# 'sbp',\n# 'sc',\n# 'scn',\n# 'sco',\n# 'sd',\n# 'sdc',\n\
|
||
|
# 'sdh',\n# 'se',\n# 'see',\n# 'seh',\n# 'sei',\n# 'sel',\n# 'ses',\n# 'sg',\n\
|
||
|
# 'sga',\n# 'sgs',\n# 'sh',\n# 'shi',\n# 'shn',\n# 'shu',\n# 'si',\n# 'sid',\n\
|
||
|
# 'sk',\n# 'skr',\n# 'sl',\n# 'slh',\n# 'sli',\n# 'sly',\n# 'sm',\n# 'sma',\n\
|
||
|
# 'smj',\n# 'smn',\n# 'sms',\n# 'sn',\n# 'snk',\n# 'so',\n# 'sog',\n# 'sq',\n\
|
||
|
# 'sr',\n# 'srn',\n# 'srr',\n# 'ss',\n# 'ssy',\n# 'st',\n# 'stq',\n# 'str',\n\
|
||
|
# 'su',\n# 'suk',\n# 'sus',\n# 'sux',\n# 'sv',\n# 'sw',\n# 'swb',\n# 'syc',\n\
|
||
|
# 'syr',\n# 'szl',\n# 'ta',\n# 'tce',\n# 'tcy',\n# 'te',\n# 'tem',\n# 'teo',\n\
|
||
|
# 'ter',\n# 'tet',\n# 'tg',\n# 'tgx',\n# 'th',\n# 'tht',\n# 'ti',\n# 'tig',\n\
|
||
|
# 'tiv',\n# 'tk',\n# 'tkl',\n# 'tkr',\n# 'tl',\n# 'tlh',\n# 'tli',\n# 'tly',\n\
|
||
|
# 'tmh',\n# 'tn',\n# 'to',\n# 'tog',\n# 'tok',\n# 'tpi',\n# 'tr',\n# 'tru',\n\
|
||
|
# 'trv',\n# 'trw',\n# 'ts',\n# 'tsd',\n# 'tsi',\n# 'tt',\n# 'ttm',\n# 'ttt',\n\
|
||
|
# 'tum',\n# 'tvl',\n# 'tw',\n# 'twq',\n# 'ty',\n# 'tyv',\n# 'tzm',\n# 'udm',\n\
|
||
|
# 'ug',\n# 'uga',\n# 'uk',\n# 'umb',\n# 'ur',\n# 'uz',\n# 'vai',\n# 've',\n# 'vec',\n\
|
||
|
# 'vep',\n# 'vi',\n# 'vls',\n# 'vmf',\n# 'vmw',\n# 'vo',\n# 'vot',\n# 'vro',\n\
|
||
|
# 'vun',\n# 'wa',\n# 'wae',\n# 'wal',\n# 'war',\n# 'was',\n# 'wbp',\n# 'wo',\n\
|
||
|
# 'wuu',\n# 'xal',\n# 'xh',\n# 'xmf',\n# 'xnr',\n# 'xog',\n# 'yao',\n# 'yap',\n\
|
||
|
# 'yav',\n# 'ybb',\n# 'yi',\n# 'yo',\n# 'yrl',\n# 'yue',\n# 'za',\n# 'zap',\n\
|
||
|
# 'zbl',\n# 'zea',\n# 'zen',\n# 'zgh',\n# 'zh',\n# 'zu',\n# 'zun',\n# 'zza',\n\
|
||
|
# ];\n# \n# private const ALPHA3_CODES = [\n# 'aar',\n# 'abk',\n# 'ace',\n# 'ach',\n\
|
||
|
# 'ada',\n# 'ady',\n# 'aeb',\n# 'afh',\n# 'afr',\n# 'agq',\n# 'ain',\n# 'ajp',\n\
|
||
|
# 'aka',\n# 'akk',\n# 'akz',\n# 'ale',\n# 'aln',\n# 'alt',\n# 'amh',\n# 'ang',\n\
|
||
|
# 'ann',\n# 'anp',\n# 'apc',\n# 'ara',\n# 'arc',\n# 'arg',\n# 'arn',\n# 'aro',\n\
|
||
|
# 'arp',\n# 'arq',\n# 'ars',\n# 'arw',\n# 'ary',\n# 'arz',\n# 'asa',\n# 'ase',\n\
|
||
|
# 'asm',\n# 'ast',\n# 'atj',\n# 'ava',\n# 'ave',\n# 'avk',\n# 'awa',\n# 'aym',\n\
|
||
|
# 'aze',\n# 'bak',\n# 'bal',\n# 'bam',\n# 'ban',\n# 'bar',\n# 'bas',\n# 'bax',\n\
|
||
|
# 'bbc',\n# 'bbj',\n# 'bej',\n# 'bel',\n# 'bem',\n# 'ben',\n# 'bew',\n# 'bez',\n\
|
||
|
# 'bfd',\n# 'bfq',\n# 'bgc',\n# 'bgn',\n# 'bho',\n# 'bih',\n# 'bik',\n# 'bin',\n\
|
||
|
# 'bis',\n# 'bjn',\n# 'bkm',\n# 'bla',\n# 'blo',\n# 'blt',\n# 'bod',\n# 'bos',\n\
|
||
|
# 'bpy',\n# 'bqi',\n# 'bra',\n# 'bre',\n# 'brh',\n# 'brx',\n# 'bss',\n# 'bua',\n\
|
||
|
# 'bug',\n# 'bul',\n# 'bum',\n# 'byn',\n# 'byv',\n# 'cad',\n# 'car',\n# 'cat',\n\
|
||
|
# 'cay',\n# 'cch',\n# 'ccp',\n# 'ceb',\n# 'ces',\n# 'cgg',\n# 'cha',\n# 'chb',\n\
|
||
|
# 'che',\n# 'chg',\n# 'chk',\n# 'chm',\n# 'chn',\n# 'cho',\n# 'chp',\n# 'chr',\n\
|
||
|
# 'chu',\n# 'chv',\n# 'chy',\n# 'cic',\n# 'ckb',\n# 'clc',\n# 'cop',\n# 'cor',\n\
|
||
|
# 'cos',\n# 'cps',\n# 'cre',\n# 'crg',\n# 'crh',\n# 'crj',\n# 'crk',\n# 'crl',\n\
|
||
|
# 'crm',\n# 'crr',\n# 'crs',\n# 'csb',\n# 'csw',\n# 'cwd',\n# 'cym',\n# 'dak',\n\
|
||
|
# 'dan',\n# 'dar',\n# 'dav',\n# 'del',\n# 'den',\n# 'deu',\n# 'dgr',\n# 'din',\n\
|
||
|
# 'div',\n# 'dje',\n# 'doi',\n# 'dsb',\n# 'dtp',\n# 'dua',\n# 'dum',\n# 'dyo',\n\
|
||
|
# 'dyu',\n# 'dzg',\n# 'dzo',\n# 'ebu',\n# 'efi',\n# 'egl',\n# 'egy',\n# 'eka',\n\
|
||
|
# 'ell',\n# 'elx',\n# 'eng',\n# 'enm',\n# 'epo',\n# 'est',\n# 'esu',\n# 'eus',\n\
|
||
|
# 'ewe',\n# 'ewo',\n# 'ext',\n# 'fan',\n# 'fao',\n# 'fas',\n# 'fat',\n# 'fij',\n\
|
||
|
# 'fil',\n# 'fin',\n# 'fit',\n# 'fon',\n# 'fra',\n# 'frc',\n# 'frm',\n# 'fro',\n\
|
||
|
# 'frp',\n# 'frr',\n# 'frs',\n# 'fry',\n# 'ful',\n# 'fur',\n# 'gaa',\n# 'gag',\n\
|
||
|
# 'gan',\n# 'gay',\n# 'gba',\n# 'gbz',\n# 'gez',\n# 'gil',\n# 'gla',\n# 'gle',\n\
|
||
|
# 'glg',\n# 'glk',\n# 'glv',\n# 'gmh',\n# 'goh',\n# 'gom',\n# 'gon',\n# 'gor',\n\
|
||
|
# 'got',\n# 'grb',\n# 'grc',\n# 'grn',\n# 'gsw',\n# 'guc',\n# 'guj',\n# 'gur',\n\
|
||
|
# 'guz',\n# 'gwi',\n# 'hai',\n# 'hak',\n# 'hat',\n# 'hau',\n# 'haw',\n# 'hax',\n\
|
||
|
# 'hbs',\n# 'hdn',\n# 'heb',\n# 'her',\n# 'hif',\n# 'hil',\n# 'hin',\n# 'hit',\n\
|
||
|
# 'hmn',\n# 'hmo',\n# 'hnj',\n# 'hrv',\n# 'hsb',\n# 'hsn',\n# 'hun',\n# 'hup',\n\
|
||
|
# 'hur',\n# 'hye',\n# 'iba',\n# 'ibb',\n# 'ibo',\n# 'ido',\n# 'iii',\n# 'ike',\n\
|
||
|
# 'ikt',\n# 'iku',\n# 'ile',\n# 'ilo',\n# 'ina',\n# 'ind',\n# 'inh',\n# 'ipk',\n\
|
||
|
# 'isl',\n# 'ita',\n# 'izh',\n# 'jam',\n# 'jav',\n# 'jbo',\n# 'jgo',\n# 'jmc',\n\
|
||
|
# 'jpn',\n# 'jpr',\n# 'jrb',\n# 'jut',\n# 'kaa',\n# 'kab',\n# 'kac',\n# 'kaj',\n\
|
||
|
# 'kal',\n# 'kam',\n# 'kan',\n# 'kas',\n# 'kat',\n# 'kau',\n# 'kaw',\n# 'kaz',\n\
|
||
|
# 'kbd',\n# 'kbl',\n# 'kcg',\n# 'kde',\n# 'kea',\n# 'ken',\n# 'kfo',\n# 'kgp',\n\
|
||
|
# 'kha',\n# 'khm',\n# 'kho',\n# 'khq',\n# 'khw',\n# 'kik',\n# 'kin',\n# 'kir',\n\
|
||
|
# 'kiu',\n# 'kkj',\n# 'kln',\n# 'kmb',\n# 'koi',\n# 'kok',\n# 'kom',\n# 'kon',\n\
|
||
|
# 'kor',\n# 'kos',\n# 'kpe',\n# 'krc',\n# 'kri',\n# 'krj',\n# 'krl',\n# 'kru',\n\
|
||
|
# 'ksb',\n# 'ksf',\n# 'ksh',\n# 'kua',\n# 'kum',\n# 'kur',\n# 'kut',\n# 'kwk',\n\
|
||
|
# 'kxv',\n# 'lad',\n# 'lag',\n# 'lah',\n# 'lam',\n# 'lao',\n# 'lat',\n# 'lav',\n\
|
||
|
# 'lez',\n# 'lfn',\n# 'lij',\n# 'lil',\n# 'lim',\n# 'lin',\n# 'lit',\n# 'liv',\n\
|
||
|
# 'lkt',\n# 'lmo',\n# 'lol',\n# 'lou',\n# 'loz',\n# 'lrc',\n# 'lsm',\n# 'ltg',\n\
|
||
|
# 'ltz',\n# 'lua',\n# 'lub',\n# 'lug',\n# 'lui',\n# 'lun',\n# 'luo',\n# 'lus',\n\
|
||
|
# 'luy',\n# 'lzh',\n# 'lzz',\n# 'mad',\n# 'maf',\n# 'mag',\n# 'mah',\n# 'mai',\n\
|
||
|
# 'mak',\n# 'mal',\n# 'man',\n# 'mar',\n# 'mas',\n# 'mde',\n# 'mdf',\n# 'mdr',\n\
|
||
|
# 'men',\n# 'mer',\n# 'mfe',\n# 'mga',\n# 'mgh',\n# 'mgo',\n# 'mic',\n# 'min',\n\
|
||
|
# 'mkd',\n# 'mlg',\n# 'mlt',\n# 'mnc',\n# 'mni',\n# 'moe',\n# 'moh',\n# 'mol',\n\
|
||
|
# 'mon',\n# 'mos',\n# 'mri',\n# 'mrj',\n# 'msa',\n# 'mua',\n# 'mus',\n# 'mwl',\n\
|
||
|
# 'mwr',\n# 'mwv',\n# 'mya',\n# 'mye',\n# 'myv',\n# 'mzn',\n# 'nan',\n# 'nap',\n\
|
||
|
# 'naq',\n# 'nau',\n# 'nav',\n# 'nbl',\n# 'nde',\n# 'ndo',\n# 'nds',\n# 'nep',\n\
|
||
|
# 'new',\n# 'nia',\n# 'niu',\n# 'njo',\n# 'nld',\n# 'nmg',\n# 'nnh',\n# 'nno',\n\
|
||
|
# 'nob',\n# 'nog',\n# 'non',\n# 'nor',\n# 'nov',\n# 'nqo',\n# 'nso',\n# 'nus',\n\
|
||
|
# 'nwc',\n# 'nya',\n# 'nym',\n# 'nyn',\n# 'nyo',\n# 'nzi',\n# 'oci',\n# 'ojb',\n\
|
||
|
# 'ojc',\n# 'ojg',\n# 'oji',\n# 'ojs',\n# 'ojw',\n# 'oka',\n# 'ori',\n# 'orm',\n\
|
||
|
# 'osa',\n# 'oss',\n# 'ota',\n# 'pag',\n# 'pal',\n# 'pam',\n# 'pan',\n# 'pap',\n\
|
||
|
# 'pau',\n# 'pcd',\n# 'pcm',\n# 'pdc',\n# 'pdt',\n# 'peo',\n# 'pfl',\n# 'phn',\n\
|
||
|
# 'pis',\n# 'pli',\n# 'pms',\n# 'pnt',\n# 'pol',\n# 'pon',\n# 'por',\n# 'pqm',\n\
|
||
|
# 'prg',\n# 'pro',\n# 'prs',\n# 'pus',\n# 'quc',\n# 'que',\n# 'qug',\n# 'raj',\n\
|
||
|
# 'rap',\n# 'rar',\n# 'rgn',\n# 'rhg',\n# 'rif',\n# 'rof',\n# 'roh',\n# 'rom',\n\
|
||
|
# 'ron',\n# 'rtm',\n# 'rue',\n# 'rug',\n# 'run',\n# 'rup',\n# 'rus',\n# 'rwk',\n\
|
||
|
# 'sad',\n# 'sag',\n# 'sah',\n# 'sam',\n# 'san',\n# 'saq',\n# 'sas',\n# 'sat',\n\
|
||
|
# 'saz',\n# 'sba',\n# 'sbp',\n# 'scn',\n# 'sco',\n# 'sdc',\n# 'sdh',\n# 'see',\n\
|
||
|
# 'seh',\n# 'sei',\n# 'sel',\n# 'ses',\n# 'sga',\n# 'sgs',\n# 'shi',\n# 'shn',\n\
|
||
|
# 'shu',\n# 'sid',\n# 'sin',\n# 'skr',\n# 'slh',\n# 'sli',\n# 'slk',\n# 'slv',\n\
|
||
|
# 'sly',\n# 'sma',\n# 'sme',\n# 'smj',\n# 'smn',\n# 'smo',\n# 'sms',\n# 'sna',\n\
|
||
|
# 'snd',\n# 'snk',\n# 'sog',\n# 'som',\n# 'sot',\n# 'spa',\n# 'sqi',\n# 'srd',\n\
|
||
|
# 'srn',\n# 'srp',\n# 'srr',\n# 'ssw',\n# 'ssy',\n# 'stq',\n# 'str',\n# 'suk',\n\
|
||
|
# 'sun',\n# 'sus',\n# 'sux',\n# 'swa',\n# 'swb',\n# 'swc',\n# 'swe',\n# 'syc',\n\
|
||
|
# 'syr',\n# 'szl',\n# 'tah',\n# 'tam',\n# 'tat',\n# 'tce',\n# 'tcy',\n# 'tel',\n\
|
||
|
# 'tem',\n# 'teo',\n# 'ter',\n# 'tet',\n# 'tgk',\n# 'tgl',\n# 'tgx',\n# 'tha',\n\
|
||
|
# 'tht',\n# 'tig',\n# 'tir',\n# 'tiv',\n# 'tkl',\n# 'tkr',\n# 'tlh',\n# 'tli',\n\
|
||
|
# 'tly',\n# 'tmh',\n# 'tog',\n# 'tok',\n# 'ton',\n# 'tpi',\n# 'tru',\n# 'trv',\n\
|
||
|
# 'trw',\n# 'tsd',\n# 'tsi',\n# 'tsn',\n# 'tso',\n# 'ttm',\n# 'ttt',\n# 'tuk',\n\
|
||
|
# 'tum',\n# 'tur',\n# 'tvl',\n# 'twi',\n# 'twq',\n# 'tyv',\n# 'tzm',\n# 'udm',\n\
|
||
|
# 'uga',\n# 'uig',\n# 'ukr',\n# 'umb',\n# 'urd',\n# 'uzb',\n# 'vai',\n# 'vec',\n\
|
||
|
# 'ven',\n# 'vep',\n# 'vie',\n# 'vls',\n# 'vmf',\n# 'vmw',\n# 'vol',\n# 'vot',\n\
|
||
|
# 'vro',\n# 'vun',\n# 'wae',\n# 'wal',\n# 'war',\n# 'was',\n# 'wbp',\n# 'wln',\n\
|
||
|
# 'wol',\n# 'wuu',\n# 'xal',\n# 'xho',\n# 'xmf',\n# 'xnr',\n# 'xog',\n# 'yao',\n\
|
||
|
# 'yap',\n# 'yav',\n# 'ybb',\n# 'yid',\n# 'yor',\n# 'yrl',\n# 'yue',\n# 'zap',\n\
|
||
|
# 'zbl',\n# 'zea',\n# 'zen',\n# 'zgh',\n# 'zha',\n# 'zho',\n# 'zul',\n# 'zun',\n\
|
||
|
# 'zza',\n# ];\n# \n# private const ALPHA2_TO_ALPHA3 = [\n# 'aa' => 'aar',\n#\
|
||
|
\ 'ab' => 'abk',\n# 'af' => 'afr',\n# 'ak' => 'aka',\n# 'am' => 'amh',\n# 'ar'\
|
||
|
\ => 'ara',\n# 'an' => 'arg',\n# 'as' => 'asm',\n# 'av' => 'ava',\n# 'ae' => 'ave',\n\
|
||
|
# 'ay' => 'aym',\n# 'az' => 'aze',\n# 'ba' => 'bak',\n# 'bm' => 'bam',\n# 'be'\
|
||
|
\ => 'bel',\n# 'bn' => 'ben',\n# 'bi' => 'bis',\n# 'bo' => 'bod',\n# 'bs' => 'bos',\n\
|
||
|
# 'br' => 'bre',\n# 'bg' => 'bul',\n# 'ca' => 'cat',\n# 'cs' => 'ces',\n# 'ch'\
|
||
|
\ => 'cha',\n# 'ce' => 'che',\n# 'cu' => 'chu',\n# 'cv' => 'chv',\n# 'kw' => 'cor',\n\
|
||
|
# 'co' => 'cos',\n# 'cr' => 'cre',\n# 'cy' => 'cym',\n# 'da' => 'dan',\n# 'de'\
|
||
|
\ => 'deu',\n# 'dv' => 'div',\n# 'dz' => 'dzo',\n# 'el' => 'ell',\n# 'en' => 'eng',\n\
|
||
|
# 'eo' => 'epo',\n# 'et' => 'est',\n# 'eu' => 'eus',\n# 'ee' => 'ewe',\n# 'fo'\
|
||
|
\ => 'fao',\n# 'fa' => 'fas',\n# 'fj' => 'fij',\n# 'fi' => 'fin',\n# 'fr' => 'fra',\n\
|
||
|
# 'fy' => 'fry',\n# 'ff' => 'ful',\n# 'gd' => 'gla',\n# 'ga' => 'gle',\n# 'gl'\
|
||
|
\ => 'glg',\n# 'gv' => 'glv',\n# 'gn' => 'grn',\n# 'gu' => 'guj',\n# 'ht' => 'hat',\n\
|
||
|
# 'ha' => 'hau',\n# 'he' => 'heb',\n# 'hz' => 'her',\n# 'hi' => 'hin',\n# 'ho'\
|
||
|
\ => 'hmo',\n# 'hr' => 'hrv',\n# 'hu' => 'hun',\n# 'hy' => 'hye',\n# 'ig' => 'ibo',\n\
|
||
|
# 'io' => 'ido',\n# 'ii' => 'iii',\n# 'iu' => 'iku',\n# 'ie' => 'ile',\n# 'ia'\
|
||
|
\ => 'ina',\n# 'id' => 'ind',\n# 'ik' => 'ipk',\n# 'is' => 'isl',\n# 'it' => 'ita',\n\
|
||
|
# 'jv' => 'jav',\n# 'ja' => 'jpn',\n# 'kl' => 'kal',\n# 'kn' => 'kan',\n# 'ks'\
|
||
|
\ => 'kas',\n# 'ka' => 'kat',\n# 'kr' => 'kau',\n# 'kk' => 'kaz',\n# 'km' => 'khm',\n\
|
||
|
# 'ki' => 'kik',\n# 'rw' => 'kin',\n# 'ky' => 'kir',\n# 'kv' => 'kom',\n# 'kg'\
|
||
|
\ => 'kon',\n# 'ko' => 'kor',\n# 'kj' => 'kua',\n# 'ku' => 'kur',\n# 'lo' => 'lao',\n\
|
||
|
# 'la' => 'lat',\n# 'lv' => 'lav',\n# 'li' => 'lim',\n# 'ln' => 'lin',\n# 'lt'\
|
||
|
\ => 'lit',\n# 'lb' => 'ltz',\n# 'lu' => 'lub',\n# 'lg' => 'lug',\n# 'mh' => 'mah',\n\
|
||
|
# 'ml' => 'mal',\n# 'mr' => 'mar',\n# 'mk' => 'mkd',\n# 'mg' => 'mlg',\n# 'mt'\
|
||
|
\ => 'mlt',\n# 'mn' => 'mon',\n# 'mi' => 'mri',\n# 'ms' => 'msa',\n# 'my' => 'mya',\n\
|
||
|
# 'na' => 'nau',\n# 'nv' => 'nav',\n# 'nr' => 'nbl',\n# 'nd' => 'nde',\n# 'ng'\
|
||
|
\ => 'ndo',\n# 'ne' => 'nep',\n# 'nl' => 'nld',\n# 'nn' => 'nno',\n# 'nb' => 'nob',\n\
|
||
|
# 'no' => 'nor',\n# 'ny' => 'nya',\n# 'oc' => 'oci',\n# 'oj' => 'oji',\n# 'or'\
|
||
|
\ => 'ori',\n# 'om' => 'orm',\n# 'os' => 'oss',\n# 'pa' => 'pan',\n# 'pi' => 'pli',\n\
|
||
|
# 'pl' => 'pol',\n# 'pt' => 'por',\n# 'ps' => 'pus',\n# 'qu' => 'que',\n# 'rm'\
|
||
|
\ => 'roh',\n# 'ro' => 'ron',\n# 'rn' => 'run',\n# 'ru' => 'rus',\n# 'sg' => 'sag',\n\
|
||
|
# 'sa' => 'san',\n# 'si' => 'sin',\n# 'sk' => 'slk',\n# 'sl' => 'slv',\n# 'se'\
|
||
|
\ => 'sme',\n# 'sm' => 'smo',\n# 'sn' => 'sna',\n# 'sd' => 'snd',\n# 'so' => 'som',\n\
|
||
|
# 'st' => 'sot',\n# 'es' => 'spa',\n# 'sq' => 'sqi',\n# 'sc' => 'srd',\n# 'sr'\
|
||
|
\ => 'srp',\n# 'ss' => 'ssw',\n# 'su' => 'sun',\n# 'sw' => 'swa',\n# 'sv' => 'swe',\n\
|
||
|
# 'ty' => 'tah',\n# 'ta' => 'tam',\n# 'tt' => 'tat',\n# 'te' => 'tel',\n# 'tg'\
|
||
|
\ => 'tgk',\n# 'th' => 'tha',\n# 'ti' => 'tir',\n# 'to' => 'ton',\n# 'tn' => 'tsn',\n\
|
||
|
# 'ts' => 'tso',\n# 'tk' => 'tuk',\n# 'tr' => 'tur',\n# 'ug' => 'uig',\n# 'uk'\
|
||
|
\ => 'ukr',\n# 'ur' => 'urd',\n# 'uz' => 'uzb',\n# 've' => 'ven',\n# 'vi' => 'vie',\n\
|
||
|
# 'vo' => 'vol',\n# 'wa' => 'wln',\n# 'wo' => 'wol',\n# 'xh' => 'xho',\n# 'yi'\
|
||
|
\ => 'yid',\n# 'yo' => 'yor',\n# 'za' => 'zha',\n# 'zh' => 'zho',\n# 'zu' => 'zul',\n\
|
||
|
# ];\n# \n# private const ALPHA3_TO_ALPHA2 = [\n# 'aar' => 'aa',\n# 'abk' => 'ab',\n\
|
||
|
# 'ave' => 'ae',\n# 'afr' => 'af',\n# 'aka' => 'ak',\n# 'twi' => 'ak',\n# 'amh'\
|
||
|
\ => 'am',\n# 'arg' => 'an',\n# 'ara' => 'ar',\n# 'asm' => 'as',\n# 'ava' => 'av',\n\
|
||
|
# 'aym' => 'ay',\n# 'aze' => 'az',\n# 'bak' => 'ba',\n# 'bel' => 'be',\n# 'bul'\
|
||
|
\ => 'bg',\n# 'bis' => 'bi',\n# 'bam' => 'bm',\n# 'ben' => 'bn',\n# 'bod' => 'bo',\n\
|
||
|
# 'tib' => 'bo',\n# 'bre' => 'br',\n# 'bos' => 'bs',\n# 'cat' => 'ca',\n# 'che'\
|
||
|
\ => 'ce',\n# 'cha' => 'ch',\n# 'cos' => 'co',\n# 'cre' => 'cr',\n# 'ces' => 'cs',\n\
|
||
|
# 'cze' => 'cs',\n# 'chu' => 'cu',\n# 'chv' => 'cv',\n# 'cym' => 'cy',\n# 'wel'\
|
||
|
\ => 'cy',\n# 'dan' => 'da',\n# 'deu' => 'de',\n# 'ger' => 'de',\n# 'div' => 'dv',\n\
|
||
|
# 'dzo' => 'dz',\n# 'ewe' => 'ee',\n# 'ell' => 'el',\n# 'gre' => 'el',\n# 'eng'\
|
||
|
\ => 'en',\n# 'epo' => 'eo',\n# 'spa' => 'es',\n# 'est' => 'et',\n# 'baq' => 'eu',\n\
|
||
|
# 'eus' => 'eu',\n# 'fas' => 'fa',\n# 'per' => 'fa',\n# 'ful' => 'ff',\n# 'fin'\
|
||
|
\ => 'fi',\n# 'fij' => 'fj',\n# 'fao' => 'fo',\n# 'fra' => 'fr',\n# 'fre' => 'fr',\n\
|
||
|
# 'fry' => 'fy',\n# 'gle' => 'ga',\n# 'gla' => 'gd',\n# 'glg' => 'gl',\n# 'grn'\
|
||
|
\ => 'gn',\n# 'guj' => 'gu',\n# 'glv' => 'gv',\n# 'hau' => 'ha',\n# 'heb' => 'he',\n\
|
||
|
# 'hin' => 'hi',\n# 'hmo' => 'ho',\n# 'hrv' => 'hr',\n# 'hat' => 'ht',\n# 'hun'\
|
||
|
\ => 'hu',\n# 'arm' => 'hy',\n# 'hye' => 'hy',\n# 'her' => 'hz',\n# 'ina' => 'ia',\n\
|
||
|
# 'ind' => 'id',\n# 'ile' => 'ie',\n# 'ibo' => 'ig',\n# 'iii' => 'ii',\n# 'ipk'\
|
||
|
\ => 'ik',\n# 'ido' => 'io',\n# 'ice' => 'is',\n# 'isl' => 'is',\n# 'ita' => 'it',\n\
|
||
|
# 'iku' => 'iu',\n# 'jpn' => 'ja',\n# 'jav' => 'jv',\n# 'geo' => 'ka',\n# 'kat'\
|
||
|
\ => 'ka',\n# 'kon' => 'kg',\n# 'kik' => 'ki',\n# 'kua' => 'kj',\n# 'kaz' => 'kk',\n\
|
||
|
# 'kal' => 'kl',\n# 'khm' => 'km',\n# 'kan' => 'kn',\n# 'kor' => 'ko',\n# 'kau'\
|
||
|
\ => 'kr',\n# 'kas' => 'ks',\n# 'kur' => 'ku',\n# 'kom' => 'kv',\n# 'cor' => 'kw',\n\
|
||
|
# 'kir' => 'ky',\n# 'lat' => 'la',\n# 'ltz' => 'lb',\n# 'lug' => 'lg',\n# 'lim'\
|
||
|
\ => 'li',\n# 'lin' => 'ln',\n# 'lao' => 'lo',\n# 'lit' => 'lt',\n# 'lub' => 'lu',\n\
|
||
|
# 'lav' => 'lv',\n# 'mlg' => 'mg',\n# 'mah' => 'mh',\n# 'mao' => 'mi',\n# 'mri'\
|
||
|
\ => 'mi',\n# 'mac' => 'mk',\n# 'mkd' => 'mk',\n# 'mal' => 'ml',\n# 'mon' => 'mn',\n\
|
||
|
# 'mar' => 'mr',\n# 'may' => 'ms',\n# 'msa' => 'ms',\n# 'mlt' => 'mt',\n# 'bur'\
|
||
|
\ => 'my',\n# 'mya' => 'my',\n# 'nau' => 'na',\n# 'nob' => 'nb',\n# 'nde' => 'nd',\n\
|
||
|
# 'nep' => 'ne',\n# 'ndo' => 'ng',\n# 'dut' => 'nl',\n# 'nld' => 'nl',\n# 'nno'\
|
||
|
\ => 'nn',\n# 'nor' => 'no',\n# 'nbl' => 'nr',\n# 'nav' => 'nv',\n# 'nya' => 'ny',\n\
|
||
|
# 'oci' => 'oc',\n# 'oji' => 'oj',\n# 'orm' => 'om',\n# 'ori' => 'or',\n# 'oss'\
|
||
|
\ => 'os',\n# 'pan' => 'pa',\n# 'pli' => 'pi',\n# 'pol' => 'pl',\n# 'pus' => 'ps',\n\
|
||
|
# 'por' => 'pt',\n# 'que' => 'qu',\n# 'roh' => 'rm',\n# 'run' => 'rn',\n# 'mol'\
|
||
|
\ => 'ro',\n# 'ron' => 'ro',\n# 'rum' => 'ro',\n# 'rus' => 'ru',\n# 'kin' => 'rw',\n\
|
||
|
# 'san' => 'sa',\n# 'srd' => 'sc',\n# 'snd' => 'sd',\n# 'sme' => 'se',\n# 'sag'\
|
||
|
\ => 'sg',\n# 'sin' => 'si',\n# 'slk' => 'sk',\n# 'slo' => 'sk',\n# 'slv' => 'sl',\n\
|
||
|
# 'smo' => 'sm',\n# 'sna' => 'sn',\n# 'som' => 'so',\n# 'alb' => 'sq',\n# 'sqi'\
|
||
|
\ => 'sq',\n# 'srp' => 'sr',\n# 'ssw' => 'ss',\n# 'sot' => 'st',\n# 'sun' => 'su',\n\
|
||
|
# 'swe' => 'sv',\n# 'swa' => 'sw',\n# 'tam' => 'ta',\n# 'tel' => 'te',\n# 'tgk'\
|
||
|
\ => 'tg',\n# 'tha' => 'th',\n# 'tir' => 'ti',\n# 'tuk' => 'tk',\n# 'tsn' => 'tn',\n\
|
||
|
# 'ton' => 'to',\n# 'tur' => 'tr',\n# 'tso' => 'ts',\n# 'tat' => 'tt',\n# 'tah'\
|
||
|
\ => 'ty',\n# 'uig' => 'ug',\n# 'ukr' => 'uk',\n# 'urd' => 'ur',\n# 'uzb' => 'uz',\n\
|
||
|
# 'ven' => 've',\n# 'vie' => 'vi',\n# 'vol' => 'vo',\n# 'wln' => 'wa',\n# 'wol'\
|
||
|
\ => 'wo',\n# 'xho' => 'xh',\n# 'yid' => 'yi',\n# 'yor' => 'yo',\n# 'zha' => 'za',\n\
|
||
|
# 'chi' => 'zh',\n# 'zho' => 'zh',\n# 'zul' => 'zu',\n# ];\n# \n# public function\
|
||
|
\ testGetLanguageCodes()\n# {\n# $this->assertEquals(self::LANGUAGES, Languages::getLanguageCodes());\n\
|
||
|
# }\n# \n# /**\n# * @dataProvider provideLocales"
|
||
|
- name: testGetNamesDefaultLocale
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetNamesSupportsAliases
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: alias
|
||
|
- name: ofLocale
|
||
|
comment: '# * @dataProvider provideLocaleAliases'
|
||
|
- name: testGetName
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: displayLocale
|
||
|
comment: '# * @dataProvider provideLocales'
|
||
|
- name: testLocalizedGetName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetNameDefaultLocale
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideLanguagesWithAlpha3Equivalent
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha3Code
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: language
|
||
|
comment: '# * @dataProvider provideLanguagesWithAlpha3Equivalent'
|
||
|
- name: provideLanguagesWithoutAlpha3Equivalent
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha3CodeFailsIfNoAlpha3Equivalent
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: language
|
||
|
comment: '# * @dataProvider provideLanguagesWithoutAlpha3Equivalent'
|
||
|
- name: testGetNameWithInvalidLanguageCode
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testExists
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha3Codes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideLanguagesWithAlpha2Equivalent
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha2Code
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: language
|
||
|
comment: '# * @dataProvider provideLanguagesWithAlpha2Equivalent'
|
||
|
- name: provideLanguagesWithoutAlpha2Equivalent
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha2CodeFailsIfNoAlpha2Equivalent
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: language
|
||
|
comment: '# * @dataProvider provideLanguagesWithoutAlpha2Equivalent'
|
||
|
- name: testAlpha3CodeExists
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha3Name
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: displayLocale
|
||
|
comment: '# * @dataProvider provideLocales'
|
||
|
- name: testGetAlpha3NameWithInvalidLanguageCode
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetAlpha3Names
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: displayLocale
|
||
|
comment: '# * @dataProvider provideLocales'
|
||
|
traits:
|
||
|
- Symfony\Component\Intl\Exception\MissingResourceException
|
||
|
- Symfony\Component\Intl\Languages
|
||
|
interfaces: []
|