File tree Expand file tree Collapse file tree 3 files changed +42
-40
lines changed Expand file tree Collapse file tree 3 files changed +42
-40
lines changed Original file line number Diff line number Diff line change @@ -204,6 +204,8 @@ private function generateAlpha2ToAlpha3Mapping(ArrayAccessibleResourceBundle $me
204
204
}
205
205
}
206
206
207
+ asort ($ alpha2ToAlpha3 );
208
+
207
209
return $ alpha2ToAlpha3 ;
208
210
}
209
211
}
Original file line number Diff line number Diff line change 623
623
"Alpha2ToAlpha3" : {
624
624
"aa" : " aar" ,
625
625
"ab" : " abk" ,
626
- "dz" : " dzo" ,
627
626
"af" : " afr" ,
628
627
"ak" : " aka" ,
629
- "sq" : " sqi" ,
630
628
"am" : " amh" ,
631
629
"ar" : " ara" ,
632
630
"an" : " arg" ,
633
- "hy" : " hye" ,
634
631
"as" : " asm" ,
635
632
"av" : " ava" ,
636
633
"ae" : " ave" ,
637
634
"ay" : " aym" ,
638
635
"az" : " aze" ,
639
636
"ba" : " bak" ,
640
637
"bm" : " bam" ,
641
- "eu" : " eus" ,
642
638
"be" : " bel" ,
643
639
"bn" : " ben" ,
644
640
"bi" : " bis" ,
645
641
"bo" : " bod" ,
646
642
"bs" : " bos" ,
647
643
"br" : " bre" ,
648
644
"bg" : " bul" ,
649
- "my" : " mya" ,
650
645
"ca" : " cat" ,
651
646
"cs" : " ces" ,
652
647
"ch" : " cha" ,
653
648
"ce" : " che" ,
654
- "zh" : " zho" ,
655
649
"cu" : " chu" ,
656
650
"cv" : " chv" ,
657
651
"kw" : " cor" ,
661
655
"da" : " dan" ,
662
656
"de" : " deu" ,
663
657
"dv" : " div" ,
664
- "mn" : " mon" ,
665
- "nl" : " nld" ,
666
- "et" : " est" ,
658
+ "dz" : " dzo" ,
667
659
"el" : " ell" ,
668
660
"en" : " eng" ,
669
661
"eo" : " epo" ,
670
- "ik" : " ipk" ,
662
+ "et" : " est" ,
663
+ "eu" : " eus" ,
671
664
"ee" : " ewe" ,
672
665
"fo" : " fao" ,
673
666
"fa" : " fas" ,
676
669
"fr" : " fra" ,
677
670
"fy" : " fry" ,
678
671
"ff" : " ful" ,
679
- "om" : " orm" ,
680
- "ka" : " kat" ,
681
672
"gd" : " gla" ,
682
673
"ga" : " gle" ,
683
674
"gl" : " glg" ,
692
683
"ho" : " hmo" ,
693
684
"hr" : " hrv" ,
694
685
"hu" : " hun" ,
686
+ "hy" : " hye" ,
695
687
"ig" : " ibo" ,
696
- "is" : " isl" ,
697
688
"io" : " ido" ,
698
689
"ii" : " iii" ,
699
690
"iu" : " iku" ,
700
691
"ie" : " ile" ,
701
692
"ia" : " ina" ,
702
693
"id" : " ind" ,
694
+ "ik" : " ipk" ,
695
+ "is" : " isl" ,
703
696
"it" : " ita" ,
704
697
"jv" : " jav" ,
705
698
"ja" : " jpn" ,
706
699
"kl" : " kal" ,
707
700
"kn" : " kan" ,
708
701
"ks" : " kas" ,
702
+ "ka" : " kat" ,
709
703
"kr" : " kau" ,
710
704
"kk" : " kaz" ,
711
705
"km" : " khm" ,
712
706
"ki" : " kik" ,
713
707
"rw" : " kin" ,
714
708
"ky" : " kir" ,
715
- "ku" : " kur" ,
716
- "kg" : " kon" ,
717
709
"kv" : " kom" ,
710
+ "kg" : " kon" ,
718
711
"ko" : " kor" ,
719
712
"kj" : " kua" ,
713
+ "ku" : " kur" ,
720
714
"lo" : " lao" ,
721
715
"la" : " lat" ,
722
716
"lv" : " lav" ,
726
720
"lb" : " ltz" ,
727
721
"lu" : " lub" ,
728
722
"lg" : " lug" ,
729
- "mk" : " mkd" ,
730
723
"mh" : " mah" ,
731
724
"ml" : " mal" ,
732
- "mi" : " mri" ,
733
725
"mr" : " mar" ,
734
- "ms " : " msa " ,
726
+ "mk " : " mkd " ,
735
727
"mg" : " mlg" ,
736
728
"mt" : " mlt" ,
737
- "ro" : " ron" ,
729
+ "mn" : " mon" ,
730
+ "mi" : " mri" ,
731
+ "ms" : " msa" ,
732
+ "my" : " mya" ,
738
733
"na" : " nau" ,
739
734
"nv" : " nav" ,
740
735
"nr" : " nbl" ,
741
736
"nd" : " nde" ,
742
737
"ng" : " ndo" ,
743
738
"ne" : " nep" ,
739
+ "nl" : " nld" ,
744
740
"nn" : " nno" ,
745
741
"nb" : " nob" ,
746
742
"ny" : " nya" ,
747
743
"oc" : " oci" ,
748
744
"oj" : " oji" ,
749
745
"or" : " ori" ,
746
+ "om" : " orm" ,
750
747
"os" : " oss" ,
751
748
"pa" : " pan" ,
752
- "ps" : " pus" ,
753
749
"pi" : " pli" ,
754
750
"pl" : " pol" ,
755
751
"pt" : " por" ,
752
+ "ps" : " pus" ,
756
753
"qu" : " que" ,
757
754
"rm" : " roh" ,
755
+ "ro" : " ron" ,
758
756
"rn" : " run" ,
759
757
"ru" : " rus" ,
760
758
"sg" : " sag" ,
761
759
"sa" : " san" ,
762
- "sr" : " srp" ,
763
760
"si" : " sin" ,
764
761
"sk" : " slk" ,
765
762
"sl" : " slv" ,
770
767
"so" : " som" ,
771
768
"st" : " sot" ,
772
769
"es" : " spa" ,
770
+ "sq" : " sqi" ,
773
771
"sc" : " srd" ,
772
+ "sr" : " srp" ,
774
773
"ss" : " ssw" ,
775
774
"su" : " sun" ,
776
775
"sw" : " swa" ,
800
799
"yi" : " yid" ,
801
800
"yo" : " yor" ,
802
801
"za" : " zha" ,
802
+ "zh" : " zho" ,
803
803
"zu" : " zul"
804
804
}
805
805
}
Original file line number Diff line number Diff line change @@ -648,32 +648,27 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
648
648
'ab ' => 'abk ' ,
649
649
'af ' => 'afr ' ,
650
650
'ak ' => 'aka ' ,
651
- 'sq ' => 'sqi ' ,
652
651
'am ' => 'amh ' ,
653
652
'ar ' => 'ara ' ,
654
653
'an ' => 'arg ' ,
655
- 'hy ' => 'hye ' ,
656
654
'as ' => 'asm ' ,
657
655
'av ' => 'ava ' ,
658
656
'ae ' => 'ave ' ,
659
657
'ay ' => 'aym ' ,
660
658
'az ' => 'aze ' ,
661
659
'ba ' => 'bak ' ,
662
660
'bm ' => 'bam ' ,
663
- 'eu ' => 'eus ' ,
664
661
'be ' => 'bel ' ,
665
662
'bn ' => 'ben ' ,
666
663
'bi ' => 'bis ' ,
667
664
'bo ' => 'bod ' ,
668
665
'bs ' => 'bos ' ,
669
666
'br ' => 'bre ' ,
670
667
'bg ' => 'bul ' ,
671
- 'my ' => 'mya ' ,
672
668
'ca ' => 'cat ' ,
673
669
'cs ' => 'ces ' ,
674
670
'ch ' => 'cha ' ,
675
671
'ce ' => 'che ' ,
676
- 'zh ' => 'zho ' ,
677
672
'cu ' => 'chu ' ,
678
673
'cv ' => 'chv ' ,
679
674
'kw ' => 'cor ' ,
@@ -683,13 +678,12 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
683
678
'da ' => 'dan ' ,
684
679
'de ' => 'deu ' ,
685
680
'dv ' => 'div ' ,
686
- 'nl ' => 'nld ' ,
687
681
'dz ' => 'dzo ' ,
688
- 'et ' => 'est ' ,
689
682
'el ' => 'ell ' ,
690
683
'en ' => 'eng ' ,
691
684
'eo ' => 'epo ' ,
692
- 'ik ' => 'ipk ' ,
685
+ 'et ' => 'est ' ,
686
+ 'eu ' => 'eus ' ,
693
687
'ee ' => 'ewe ' ,
694
688
'fo ' => 'fao ' ,
695
689
'fa ' => 'fas ' ,
@@ -698,8 +692,6 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
698
692
'fr ' => 'fra ' ,
699
693
'fy ' => 'fry ' ,
700
694
'ff ' => 'ful ' ,
701
- 'om ' => 'orm ' ,
702
- 'ka ' => 'kat ' ,
703
695
'gd ' => 'gla ' ,
704
696
'ga ' => 'gle ' ,
705
697
'gl ' => 'glg ' ,
@@ -714,32 +706,34 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
714
706
'ho ' => 'hmo ' ,
715
707
'hr ' => 'hrv ' ,
716
708
'hu ' => 'hun ' ,
709
+ 'hy ' => 'hye ' ,
717
710
'ig ' => 'ibo ' ,
718
- 'is ' => 'isl ' ,
719
711
'io ' => 'ido ' ,
720
712
'ii ' => 'iii ' ,
721
713
'iu ' => 'iku ' ,
722
714
'ie ' => 'ile ' ,
723
715
'ia ' => 'ina ' ,
724
716
'id ' => 'ind ' ,
717
+ 'ik ' => 'ipk ' ,
718
+ 'is ' => 'isl ' ,
725
719
'it ' => 'ita ' ,
726
720
'jv ' => 'jav ' ,
727
721
'ja ' => 'jpn ' ,
728
722
'kl ' => 'kal ' ,
729
723
'kn ' => 'kan ' ,
730
724
'ks ' => 'kas ' ,
725
+ 'ka ' => 'kat ' ,
731
726
'kr ' => 'kau ' ,
732
727
'kk ' => 'kaz ' ,
733
- 'mn ' => 'mon ' ,
734
728
'km ' => 'khm ' ,
735
729
'ki ' => 'kik ' ,
736
730
'rw ' => 'kin ' ,
737
731
'ky ' => 'kir ' ,
738
- 'ku ' => 'kur ' ,
739
- 'kg ' => 'kon ' ,
740
732
'kv ' => 'kom ' ,
733
+ 'kg ' => 'kon ' ,
741
734
'ko ' => 'kor ' ,
742
735
'kj ' => 'kua ' ,
736
+ 'ku ' => 'kur ' ,
743
737
'lo ' => 'lao ' ,
744
738
'la ' => 'lat ' ,
745
739
'lv ' => 'lav ' ,
@@ -749,40 +743,43 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
749
743
'lb ' => 'ltz ' ,
750
744
'lu ' => 'lub ' ,
751
745
'lg ' => 'lug ' ,
752
- 'mk ' => 'mkd ' ,
753
746
'mh ' => 'mah ' ,
754
747
'ml ' => 'mal ' ,
755
- 'mi ' => 'mri ' ,
756
748
'mr ' => 'mar ' ,
757
- 'ms ' => 'msa ' ,
749
+ 'mk ' => 'mkd ' ,
758
750
'mg ' => 'mlg ' ,
759
751
'mt ' => 'mlt ' ,
752
+ 'mn ' => 'mon ' ,
753
+ 'mi ' => 'mri ' ,
754
+ 'ms ' => 'msa ' ,
755
+ 'my ' => 'mya ' ,
760
756
'na ' => 'nau ' ,
761
757
'nv ' => 'nav ' ,
762
758
'nr ' => 'nbl ' ,
763
759
'nd ' => 'nde ' ,
764
760
'ng ' => 'ndo ' ,
765
761
'ne ' => 'nep ' ,
762
+ 'nl ' => 'nld ' ,
766
763
'nn ' => 'nno ' ,
767
764
'nb ' => 'nob ' ,
768
765
'ny ' => 'nya ' ,
769
766
'oc ' => 'oci ' ,
770
767
'oj ' => 'oji ' ,
771
768
'or ' => 'ori ' ,
769
+ 'om ' => 'orm ' ,
772
770
'os ' => 'oss ' ,
773
771
'pa ' => 'pan ' ,
774
- 'ps ' => 'pus ' ,
775
772
'pi ' => 'pli ' ,
776
773
'pl ' => 'pol ' ,
777
774
'pt ' => 'por ' ,
775
+ 'ps ' => 'pus ' ,
778
776
'qu ' => 'que ' ,
779
777
'rm ' => 'roh ' ,
780
778
'ro ' => 'ron ' ,
781
779
'rn ' => 'run ' ,
782
780
'ru ' => 'rus ' ,
783
781
'sg ' => 'sag ' ,
784
782
'sa ' => 'san ' ,
785
- 'sr ' => 'srp ' ,
786
783
'si ' => 'sin ' ,
787
784
'sk ' => 'slk ' ,
788
785
'sl ' => 'slv ' ,
@@ -793,7 +790,9 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
793
790
'so ' => 'som ' ,
794
791
'st ' => 'sot ' ,
795
792
'es ' => 'spa ' ,
793
+ 'sq ' => 'sqi ' ,
796
794
'sc ' => 'srd ' ,
795
+ 'sr ' => 'srp ' ,
797
796
'ss ' => 'ssw ' ,
798
797
'su ' => 'sun ' ,
799
798
'sw ' => 'swa ' ,
@@ -823,6 +822,7 @@ abstract class AbstractLanguageDataProviderTest extends AbstractDataProviderTest
823
822
'yi ' => 'yid ' ,
824
823
'yo ' => 'yor ' ,
825
824
'za ' => 'zha ' ,
825
+ 'zh ' => 'zho ' ,
826
826
'zu ' => 'zul ' ,
827
827
];
828
828
You can’t perform that action at this time.
0 commit comments