Project

General

Profile

« Previous | Next » 

Revision 48a6bb92

Added by Steve Beaver over 7 years ago

Update language selections

View differences:

src/etc/inc/pfsense-utils.inc
2951 2951
function get_locale_list() {
2952 2952
	$locales = array(
2953 2953
		"bs" => gettext("Bosnian"),
2954
		"zh_CN" => gettext("Chinese"),
2954 2955
		"zh_Hans_CN" => gettext("Chinese (Simplified, China)"),
2956
		"zh_HK" => gettext("Chinese (Hong Kong)"),
2955 2957
		"zh_TW" => gettext("Chinese (Taiwan)"),
2956 2958
		"nl" => gettext("Dutch"),
2957 2959
		"en_US" => gettext("English"),
......
2959 2961
		"de_DE" => gettext("German (Germany)"),
2960 2962
		"nb" => gettext("Norwegian Bokmål"),
2961 2963
		"pl" => gettext("Polish"),
2964
		"pt_PT" => gettext("Portuguese"),
2962 2965
		"pt_BR" => gettext("Portuguese (Brazil)"),
2963 2966
		"ru" => gettext("Russian"),
2964 2967
		"es" => gettext("Spanish"),
......
2967 2970

  
2968 2971
	// If the locales are sorted, the order changes depending on the language selected. If the user accidentally
2969 2972
	// selects the wrong language, this makes it very difficult to guess the intended language. NOT sorting
2970
	// allows the user to remember that English (say) is the second on the list and to get back to it more easily
2973
	// allows the user to remember that English (say) is the seventh on the list and to get back to it more easily
2971 2974

  
2972 2975
	//asort($locales);
2973 2976

  

Also available in: Unified diff