# HG changeset patch # User Alasdair Lumsden # Date 1315623050 0 # Node ID 398513b48d4c2bf861c08a0d3c501297234fb11e # Parent 2289be49e4b0fb0d5b83cbb1e7712bf45db0b749 1490 oi_151a installer Territory dropdown contains blank entries diff -r 2289be49e4b0 -r 398513b48d4c usr/src/lib/liborchestrator/orchestrator_lang_codes.h --- a/usr/src/lib/liborchestrator/orchestrator_lang_codes.h Fri Sep 09 18:01:13 2011 +0000 +++ b/usr/src/lib/liborchestrator/orchestrator_lang_codes.h Sat Sep 10 02:50:50 2011 +0000 @@ -22,6 +22,9 @@ * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright (c) 2011, Alasdair Lumsden + */ #ifndef _ORCHESTRATOR_LANG_CODES_H #define _ORCHESTRATOR_LANG_CODES_H @@ -184,111 +187,264 @@ {"C", "English"} }; +/* + * This list of countries was populated from the following file: + * /usr/share/lib/zoneinfo/tab/country.tab + * Please see https://www.illumos.org/issues/1490 for details + */ struct orchestrator_countries { char *country_code; char *country_name; } orchestrator_country_list[] = { + {"AD", "Andorra"}, {"AE", "United Arab Emirates"}, + {"AF", "Afghanistan"}, + {"AG", "Antigua & Barbuda"}, + {"AI", "Anguilla"}, {"AL", "Albania"}, {"AM", "Armenia"}, + {"AN", "Netherlands Antilles"}, + {"AO", "Angola"}, + {"AQ", "Antarctica"}, {"AR", "Argentina"}, + {"AS", "Samoa - American"}, {"AT", "Austria"}, {"AU", "Australia"}, + {"AW", "Aruba"}, + {"AX", "Aaland Islands"}, {"AZ", "Azerbaijan"}, - {"BA", "Bosnia and Herzegovina"}, + {"BA", "Bosnia & Herzegovina"}, + {"BB", "Barbados"}, + {"BD", "Bangladesh"}, {"BE", "Belgium"}, + {"BF", "Burkina Faso"}, + {"BG", "Bulgaria"}, {"BH", "Bahrain"}, + {"BI", "Burundi"}, + {"BJ", "Benin"}, + {"BL", "St Barthelemy"}, + {"BM", "Bermuda"}, + {"BN", "Brunei"}, {"BO", "Bolivia"}, - {"BG", "Bulgaria"}, {"BR", "Brazil"}, + {"BS", "Bahamas"}, + {"BT", "Bhutan"}, + {"BV", "Bouvet Island"}, {"BW", "Botswana"}, {"BY", "Belarus"}, + {"BZ", "Belize"}, {"CA", "Canada"}, + {"CC", "Cocos Keeling Islands"}, + {"CD", "Congo - Dem. Rep."}, + {"CF", "Central African Rep."}, + {"CG", "Congo - Rep."}, {"CH", "Switzerland"}, + {"CI", "Cote d'Ivoire"}, + {"CK", "Cook Islands"}, {"CL", "Chile"}, + {"CM", "Cameroon"}, + {"CN", "China"}, {"CO", "Colombia"}, {"CR", "Costa Rica"}, - {"CS", "Serbia and Montenegro"}, + {"CU", "Cuba"}, + {"CV", "Cape Verde"}, + {"CX", "Christmas Island"}, {"CY", "Cyprus"}, - {"CN", "China"}, {"CZ", "Czech Republic"}, {"DE", "Germany"}, + {"DJ", "Djibouti"}, {"DK", "Denmark"}, + {"DM", "Dominica"}, {"DO", "Dominican Republic"}, {"DZ", "Algeria"}, {"EC", "Ecuador"}, {"EE", "Estonia"}, {"EG", "Egypt"}, + {"EH", "Western Sahara"}, + {"ER", "Eritrea"}, {"ES", "Spain"}, + {"ET", "Ethiopia"}, {"FI", "Finland"}, + {"FJ", "Fiji"}, + {"FK", "Falkland Islands"}, + {"FM", "Micronesia"}, + {"FO", "Faroe Islands"}, {"FR", "France"}, - {"GB", "Great Britain"}, + {"GA", "Gabon"}, + {"GB", "Britain - UK"}, + {"GD", "Grenada"}, {"GE", "Georgia"}, + {"GF", "French Guiana"}, + {"GG", "Guernsey"}, + {"GH", "Ghana"}, + {"GI", "Gibraltar"}, + {"GL", "Greenland"}, + {"GM", "Gambia"}, + {"GN", "Guinea"}, + {"GP", "Guadeloupe"}, + {"GQ", "Equatorial Guinea"}, {"GR", "Greece"}, + {"GS", "South Georgia & the South Sandwich Islands"}, {"GT", "Guatemala"}, + {"GU", "Guam"}, + {"GW", "Guinea-Bissau"}, + {"GY", "Guyana"}, + {"HK", "Hong Kong"}, + {"HM", "Heard Island & McDonald Islands"}, {"HN", "Honduras"}, {"HR", "Croatia"}, - {"HK", "Hong Kong"}, + {"HT", "Haiti"}, {"HU", "Hungary"}, {"ID", "Indonesia"}, {"IE", "Ireland"}, {"IL", "Israel"}, + {"IM", "Isle of Man"}, {"IN", "India"}, + {"IO", "British Indian Ocean Territory"}, {"IQ", "Iraq"}, + {"IR", "Iran"}, {"IS", "Iceland"}, {"IT", "Italy"}, + {"JE", "Jersey"}, + {"JM", "Jamaica"}, {"JO", "Jordan"}, {"JP", "Japan"}, + {"KE", "Kenya"}, {"KG", "Kyrgyzstan"}, - {"KR", "Korea"}, + {"KH", "Cambodia"}, + {"KI", "Kiribati"}, + {"KM", "Comoros"}, + {"KN", "St Kitts & Nevis"}, + {"KP", "Korea - North"}, + {"KR", "Korea - South"}, {"KW", "Kuwait"}, + {"KY", "Cayman Islands"}, {"KZ", "Kazakhstan"}, + {"LA", "Laos"}, + {"LB", "Lebanon"}, + {"LC", "St Lucia"}, {"LI", "Liechtenstein"}, + {"LK", "Sri Lanka"}, + {"LR", "Liberia"}, + {"LS", "Lesotho"}, {"LT", "Lithuania"}, {"LU", "Luxembourg"}, {"LV", "Latvia"}, {"LY", "Libya"}, {"MA", "Morocco"}, + {"MC", "Monaco"}, + {"MD", "Moldova"}, {"ME", "Montenegro"}, + {"MF", "St Martin - French part"}, + {"MG", "Madagascar"}, + {"MH", "Marshall Islands"}, {"MK", "Macedonia"}, + {"ML", "Mali"}, + {"MM", "Myanmar - Burma"}, + {"MN", "Mongolia"}, + {"MO", "Macao"}, + {"MP", "Northern Mariana Islands"}, + {"MQ", "Martinique"}, + {"MR", "Mauritania"}, + {"MS", "Montserrat"}, {"MT", "Malta"}, + {"MU", "Mauritius"}, + {"MV", "Maldives"}, + {"MW", "Malawi"}, {"MX", "Mexico"}, {"MY", "Malaysia"}, - {"NO", "Norway"}, + {"MZ", "Mozambique"}, + {"NA", "Namibia"}, + {"NC", "New Caledonia"}, + {"NE", "Niger"}, + {"NF", "Norfolk Island"}, + {"NG", "Nigeria"}, {"NI", "Nicaragua"}, {"NL", "Netherlands"}, + {"NO", "Norway"}, + {"NP", "Nepal"}, + {"NR", "Nauru"}, + {"NU", "Niue"}, {"NZ", "New Zealand"}, {"OM", "Oman"}, {"PA", "Panama"}, {"PE", "Peru"}, + {"PF", "French Polynesia"}, + {"PG", "Papua New Guinea"}, {"PH", "Philippines"}, + {"PK", "Pakistan"}, {"PL", "Poland"}, + {"PM", "St Pierre & Miquelon"}, + {"PN", "Pitcairn"}, {"PR", "Puerto Rico"}, + {"PS", "Palestine"}, {"PT", "Portugal"}, + {"PW", "Palau"}, {"PY", "Paraguay"}, {"QA", "Qatar"}, + {"RE", "Reunion"}, {"RO", "Romania"}, {"RS", "Serbia"}, {"RU", "Russia"}, + {"RW", "Rwanda"}, {"SA", "Saudi Arabia"}, + {"SB", "Solomon Islands"}, + {"SC", "Seychelles"}, + {"SD", "Sudan"}, {"SE", "Sweden"}, {"SG", "Singapore"}, + {"SH", "St Helena"}, {"SI", "Slovenia"}, + {"SJ", "Svalbard & Jan Mayen"}, {"SK", "Slovakia"}, + {"SL", "Sierra Leone"}, + {"SM", "San Marino"}, + {"SN", "Senegal"}, + {"SO", "Somalia"}, + {"SR", "Suriname"}, + {"ST", "Sao Tome & Principe"}, {"SV", "El Salvador"}, + {"SY", "Syria"}, + {"SZ", "Swaziland"}, + {"TC", "Turks & Caicos Is"}, + {"TD", "Chad"}, + {"TF", "French Southern & Antarctic Lands"}, + {"TG", "Togo"}, {"TH", "Thailand"}, + {"TJ", "Tajikistan"}, + {"TK", "Tokelau"}, + {"TL", "East Timor"}, + {"TM", "Turkmenistan"}, {"TN", "Tunisia"}, + {"TO", "Tonga"}, {"TR", "Turkey"}, + {"TT", "Trinidad & Tobago"}, + {"TV", "Tuvalu"}, {"TW", "Taiwan"}, + {"TZ", "Tanzania"}, {"UA", "Ukraine"}, + {"UG", "Uganda"}, + {"UM", "US minor outlying islands"}, {"US", "United States"}, {"UY", "Uruguay"}, + {"UZ", "Uzbekistan"}, + {"VA", "Vatican City"}, + {"VC", "St Vincent"}, {"VE", "Venezuela"}, + {"VG", "Virgin Islands - UK"}, + {"VI", "Virgin Islands - US"}, {"VN", "Vietnam"}, + {"VU", "Vanuatu"}, + {"WF", "Wallis & Futuna"}, + {"WS", "Samoa - Western"}, {"YE", "Yemen"}, + {"YT", "Mayotte"}, {"ZA", "South Africa"}, - {"ZH", "China"}, - {"ZW", "Zimbabwe"} + {"ZM", "Zambia"}, + {"ZW", "Zimbabwe"}, + {"ee", "Europe - Eastern"}, + {"me", "Europe - Central"}, + {"we", "Europe - Western"} }; #ifdef __cplusplus }