BUGFIX Fixed some wrongly duplicated locale values in i18n::$common_languages and i18n::$common_locales

BUGFIX Unified locale values between i18n::$all_locales and $common_locales - the common locales should be a subset of all locales, without any additional ones as this might cause side-effects with LanguageDropdownField (see #3958)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@75782 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-04-30 22:56:56 +00:00
parent 964c67e98b
commit d0761a3e78

View File

@ -591,9 +591,8 @@ class i18n extends Object {
'bn' => array('Bengali', 'বাংলা'),
'bg' => array('Bulgarian', 'български'),
'ca' => array('Catalan', 'català'),
'zh-yue' => array('Chinese (Cantonese)', '廣東話 [广东话]'),
'zh-cmn' => array('Chinese (Mandarin)', '普通話 [普通话]'),
'zh-min-nan' => array('Chinese (Min Nan)', '台語'),
'zh_yue' => array('Chinese (Cantonese)', '廣東話 [广东话]'),
'zh_cmn' => array('Chinese (Mandarin)', '普通話 [普通话]'),
'hr' => array('Croatian', 'Hrvatski'),
'cs' => array('Czech', 'čeština'),
'cy' => array('Welsh', 'Welsh/Cymraeg'),
@ -684,16 +683,15 @@ class i18n extends Object {
'bn_BD' => array('Bengali', 'বাংলা'),
'bg_BG' => array('Bulgarian', 'български'),
'ca_ES' => array('Catalan', 'català'),
'zh-yue_ZH-YUE' => array('Chinese (Cantonese)', '廣東話 [广东话]'),
'zh-cmn_ZH-CMN' => array('Chinese (Mandarin)', '普通話 [普通话]'),
'zh-min-nan_ZH-MIN-NAN' => array('Chinese (Min Nan)', '台語'),
'zh_yue' => array('Chinese (Cantonese)', '廣東話 [广东话]'),
'zh_cmn' => array('Chinese (Mandarin)', '普通話 [普通话]'),
'hr_HR' => array('Croatian', 'Hrvatski'),
'cs_CZ' => array('Czech', 'čeština'),
'cy_GB' => array('Welsh', 'Welsh/Cymraeg'),
'da_DK' => array('Danish', 'dansk'),
'nl_NL' => array('Dutch', 'Nederlands'),
'en_US' => array('English', 'English'),
'eo_EO' => array('Esperanto', 'Esperanto'),
'eo_XX' => array('Esperanto', 'Esperanto'),
'et_EE' => array('Estonian', 'eesti keel'),
'fo_FO' => array('Faroese', 'Føroyska'),
'fi_FI' => array('Finnish', 'suomi'),
@ -708,7 +706,6 @@ class i18n extends Object {
'hi_IN' => array('Hindi', 'हिन्दी'),
'hu_HU' => array('Hungarian', 'magyar'),
'is_IS' => array('Icelandic', 'Íslenska'),
'io_IO' => array('Ido', 'Ido'),
'id_ID' => array('Indonesian', 'Bahasa Indonesia'),
'ga_IE' => array('Irish', 'Irish'),
'it_IT' => array('Italian', 'italiano'),
@ -718,7 +715,6 @@ class i18n extends Object {
'ku_IQ' => array('Kurdish', 'Kurdí'),
'lv_LV' => array('Latvian', 'latviešu'),
'lt_LT' => array('Lithuanian', 'lietuviškai'),
'lmo_LMO' => array('Lombard', 'Lombardo'),
'mk_MK' => array('Macedonian', 'македонски'),
'mi_NZ' => array('Maori', 'Maori'),
'ms_MY' => array('Malay', 'Bahasa melayu'),
@ -729,8 +725,8 @@ class i18n extends Object {
'om_ET' => array('Oromo', 'Afaan Oromo'),
'fa_IR' => array('Persian', 'فارسى'),
'pl_PL' => array('Polish', 'polski'),
'pt-PT_PT-PT' => array('Portuguese (Portugal)', 'português (Portugal)'),
'pt-BR_PT-BR' => array('Portuguese (Brazil)', 'português (Brazil)'),
'pt-PT' => array('Portuguese (Portugal)', 'português (Portugal)'),
'pt-BR' => array('Portuguese (Brazil)', 'português (Brazil)'),
'pa_IN' => array('Punjabi', 'ਪੰਜਾਬੀ'),
'qu_PE' => array('Quechua', 'Quechua'),
'rm_CH' => array('Romansh', 'rumantsch'),
@ -756,10 +752,8 @@ class i18n extends Object {
'uz_UZ' => array('Uzbek', 'ўзбек'),
've_ZA' => array('Venda', 'tshiVenḓa'),
'vi_VN' => array('Vietnamese', 'tiếng việt'),
'wa_WA' => array('Walloon', 'walon'),
'wo_SN' => array('Wolof', 'Wollof'),
'xh_ZA' => array('Xhosa', 'isiXhosa'),
'yi_YI' => array('Yiddish', 'ײִדיש'),
'zu_ZA' => array('Zulu', 'isiZulu'),
);