mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-25 10:46:15 +03:00
Allows translation of country names
This commit is contained in:
parent
735b1cc6b9
commit
c984902fbf
1 changed files with 254 additions and 254 deletions
|
@ -146,264 +146,264 @@ QString GeoIPManager::CountryName(const QString &countryISOCode)
|
|||
static bool initialized = false;
|
||||
|
||||
if (!initialized) {
|
||||
countries[QString()] = "N/A";
|
||||
countries["AP"] = "Asia/Pacific Region";
|
||||
countries["EU"] = "Europe";
|
||||
countries["AD"] = "Andorra";
|
||||
countries["AE"] = "United Arab Emirates";
|
||||
countries["AF"] = "Afghanistan";
|
||||
countries["AG"] = "Antigua and Barbuda";
|
||||
countries["AI"] = "Anguilla";
|
||||
countries["AL"] = "Albania";
|
||||
countries["AM"] = "Armenia";
|
||||
countries["AN"] = "Netherlands Antilles";
|
||||
countries["AO"] = "Angola";
|
||||
countries["AQ"] = "Antarctica";
|
||||
countries["AR"] = "Argentina";
|
||||
countries["AS"] = "American Samoa";
|
||||
countries["AT"] = "Austria";
|
||||
countries["AU"] = "Australia";
|
||||
countries["AW"] = "Aruba";
|
||||
countries["AZ"] = "Azerbaijan";
|
||||
countries["BA"] = "Bosnia and Herzegovina";
|
||||
countries["BB"] = "Barbados";
|
||||
countries["BD"] = "Bangladesh";
|
||||
countries["BE"] = "Belgium";
|
||||
countries["BF"] = "Burkina Faso";
|
||||
countries["BG"] = "Bulgaria";
|
||||
countries["BH"] = "Bahrain";
|
||||
countries["BI"] = "Burundi";
|
||||
countries["BJ"] = "Benin";
|
||||
countries["BM"] = "Bermuda";
|
||||
countries["BN"] = "Brunei Darussalam";
|
||||
countries["BO"] = "Bolivia";
|
||||
countries["BR"] = "Brazil";
|
||||
countries["BS"] = "Bahamas";
|
||||
countries["BT"] = "Bhutan";
|
||||
countries["BV"] = "Bouvet Island";
|
||||
countries["BW"] = "Botswana";
|
||||
countries["BY"] = "Belarus";
|
||||
countries["BZ"] = "Belize";
|
||||
countries["CA"] = "Canada";
|
||||
countries["CC"] = "Cocos (Keeling) Islands";
|
||||
countries["CD"] = "Congo, The Democratic Republic of the";
|
||||
countries["CF"] = "Central African Republic";
|
||||
countries["CG"] = "Congo";
|
||||
countries["CH"] = "Switzerland";
|
||||
countries["CI"] = "Cote D'Ivoire";
|
||||
countries["CK"] = "Cook Islands";
|
||||
countries["CL"] = "Chile";
|
||||
countries["CM"] = "Cameroon";
|
||||
countries["CN"] = "China";
|
||||
countries["CO"] = "Colombia";
|
||||
countries["CR"] = "Costa Rica";
|
||||
countries["CU"] = "Cuba";
|
||||
countries["CV"] = "Cape Verde";
|
||||
countries["CX"] = "Christmas Island";
|
||||
countries["CY"] = "Cyprus";
|
||||
countries["CZ"] = "Czech Republic";
|
||||
countries["DE"] = "Germany";
|
||||
countries["DJ"] = "Djibouti";
|
||||
countries["DK"] = "Denmark";
|
||||
countries["DM"] = "Dominica";
|
||||
countries["DO"] = "Dominican Republic";
|
||||
countries["DZ"] = "Algeria";
|
||||
countries["EC"] = "Ecuador";
|
||||
countries["EE"] = "Estonia";
|
||||
countries["EG"] = "Egypt";
|
||||
countries["EH"] = "Western Sahara";
|
||||
countries["ER"] = "Eritrea";
|
||||
countries["ES"] = "Spain";
|
||||
countries["ET"] = "Ethiopia";
|
||||
countries["FI"] = "Finland";
|
||||
countries["FJ"] = "Fiji";
|
||||
countries["FK"] = "Falkland Islands (Malvinas)";
|
||||
countries["FM"] = "Micronesia, Federated States of";
|
||||
countries["FO"] = "Faroe Islands";
|
||||
countries["FR"] = "France";
|
||||
countries["FX"] = "France, Metropolitan";
|
||||
countries["GA"] = "Gabon";
|
||||
countries["GB"] = "United Kingdom";
|
||||
countries["GD"] = "Grenada";
|
||||
countries["GE"] = "Georgia";
|
||||
countries["GF"] = "French Guiana";
|
||||
countries["GH"] = "Ghana";
|
||||
countries["GI"] = "Gibraltar";
|
||||
countries["GL"] = "Greenland";
|
||||
countries["GM"] = "Gambia";
|
||||
countries["GN"] = "Guinea";
|
||||
countries["GP"] = "Guadeloupe";
|
||||
countries["GQ"] = "Equatorial Guinea";
|
||||
countries["GR"] = "Greece";
|
||||
countries["GS"] = "South Georgia and the South Sandwich Islands";
|
||||
countries["GT"] = "Guatemala";
|
||||
countries["GU"] = "Guam";
|
||||
countries["GW"] = "Guinea-Bissau";
|
||||
countries["GY"] = "Guyana";
|
||||
countries["HK"] = "Hong Kong";
|
||||
countries["HM"] = "Heard Island and McDonald Islands";
|
||||
countries["HN"] = "Honduras";
|
||||
countries["HR"] = "Croatia";
|
||||
countries["HT"] = "Haiti";
|
||||
countries["HU"] = "Hungary";
|
||||
countries["ID"] = "Indonesia";
|
||||
countries["IE"] = "Ireland";
|
||||
countries["IL"] = "Israel";
|
||||
countries["IN"] = "India";
|
||||
countries["IO"] = "British Indian Ocean Territory";
|
||||
countries["IQ"] = "Iraq";
|
||||
countries["IR"] = "Iran, Islamic Republic of";
|
||||
countries["IS"] = "Iceland";
|
||||
countries["IT"] = "Italy";
|
||||
countries["JM"] = "Jamaica";
|
||||
countries["JO"] = "Jordan";
|
||||
countries["JP"] = "Japan";
|
||||
countries["KE"] = "Kenya";
|
||||
countries["KG"] = "Kyrgyzstan";
|
||||
countries["KH"] = "Cambodia";
|
||||
countries["KI"] = "Kiribati";
|
||||
countries["KM"] = "Comoros";
|
||||
countries["KN"] = "Saint Kitts and Nevis";
|
||||
countries["KP"] = "Korea, Democratic People's Republic of";
|
||||
countries["KR"] = "Korea, Republic of";
|
||||
countries["KW"] = "Kuwait";
|
||||
countries["KY"] = "Cayman Islands";
|
||||
countries["KZ"] = "Kazakhstan";
|
||||
countries["LA"] = "Lao People's Democratic Republic";
|
||||
countries["LB"] = "Lebanon";
|
||||
countries["LC"] = "Saint Lucia";
|
||||
countries["LI"] = "Liechtenstein";
|
||||
countries["LK"] = "Sri Lanka";
|
||||
countries["LR"] = "Liberia";
|
||||
countries["LS"] = "Lesotho";
|
||||
countries["LT"] = "Lithuania";
|
||||
countries["LU"] = "Luxembourg";
|
||||
countries["LV"] = "Latvia";
|
||||
countries["LY"] = "Libyan Arab Jamahiriya";
|
||||
countries["MA"] = "Morocco";
|
||||
countries["MC"] = "Monaco";
|
||||
countries["MD"] = "Moldova, Republic of";
|
||||
countries["MG"] = "Madagascar";
|
||||
countries["MH"] = "Marshall Islands";
|
||||
countries["MK"] = "Macedonia";
|
||||
countries["ML"] = "Mali";
|
||||
countries["MM"] = "Myanmar";
|
||||
countries["MN"] = "Mongolia";
|
||||
countries["MO"] = "Macau";
|
||||
countries["MP"] = "Northern Mariana Islands";
|
||||
countries["MQ"] = "Martinique";
|
||||
countries["MR"] = "Mauritania";
|
||||
countries["MS"] = "Montserrat";
|
||||
countries["MT"] = "Malta";
|
||||
countries["MU"] = "Mauritius";
|
||||
countries["MV"] = "Maldives";
|
||||
countries["MW"] = "Malawi";
|
||||
countries["MX"] = "Mexico";
|
||||
countries["MY"] = "Malaysia";
|
||||
countries["MZ"] = "Mozambique";
|
||||
countries["NA"] = "Namibia";
|
||||
countries["NC"] = "New Caledonia";
|
||||
countries["NE"] = "Niger";
|
||||
countries["NF"] = "Norfolk Island";
|
||||
countries["NG"] = "Nigeria";
|
||||
countries["NI"] = "Nicaragua";
|
||||
countries["NL"] = "Netherlands";
|
||||
countries["NO"] = "Norway";
|
||||
countries["NP"] = "Nepal";
|
||||
countries["NR"] = "Nauru";
|
||||
countries["NU"] = "Niue";
|
||||
countries["NZ"] = "New Zealand";
|
||||
countries["OM"] = "Oman";
|
||||
countries["PA"] = "Panama";
|
||||
countries["PE"] = "Peru";
|
||||
countries["PF"] = "French Polynesia";
|
||||
countries["PG"] = "Papua New Guinea";
|
||||
countries["PH"] = "Philippines";
|
||||
countries["PK"] = "Pakistan";
|
||||
countries["PL"] = "Poland";
|
||||
countries["PM"] = "Saint Pierre and Miquelon";
|
||||
countries["PN"] = "Pitcairn Islands";
|
||||
countries["PR"] = "Puerto Rico";
|
||||
countries["PS"] = "Palestinian Territory";
|
||||
countries["PT"] = "Portugal";
|
||||
countries["PW"] = "Palau";
|
||||
countries["PY"] = "Paraguay";
|
||||
countries["QA"] = "Qatar";
|
||||
countries["RE"] = "Reunion";
|
||||
countries["RO"] = "Romania";
|
||||
countries["RU"] = "Russian Federation";
|
||||
countries["RW"] = "Rwanda";
|
||||
countries["SA"] = "Saudi Arabia";
|
||||
countries["SB"] = "Solomon Islands";
|
||||
countries["SC"] = "Seychelles";
|
||||
countries["SD"] = "Sudan";
|
||||
countries["SE"] = "Sweden";
|
||||
countries["SG"] = "Singapore";
|
||||
countries["SH"] = "Saint Helena";
|
||||
countries["SI"] = "Slovenia";
|
||||
countries["SJ"] = "Svalbard and Jan Mayen";
|
||||
countries["SK"] = "Slovakia";
|
||||
countries["SL"] = "Sierra Leone";
|
||||
countries["SM"] = "San Marino";
|
||||
countries["SN"] = "Senegal";
|
||||
countries["SO"] = "Somalia";
|
||||
countries["SR"] = "Suriname";
|
||||
countries["ST"] = "Sao Tome and Principe";
|
||||
countries["SV"] = "El Salvador";
|
||||
countries["SY"] = "Syrian Arab Republic";
|
||||
countries["SZ"] = "Swaziland";
|
||||
countries["TC"] = "Turks and Caicos Islands";
|
||||
countries["TD"] = "Chad";
|
||||
countries["TF"] = "French Southern Territories";
|
||||
countries["TG"] = "Togo";
|
||||
countries["TH"] = "Thailand";
|
||||
countries["TJ"] = "Tajikistan";
|
||||
countries["TK"] = "Tokelau";
|
||||
countries["TM"] = "Turkmenistan";
|
||||
countries["TN"] = "Tunisia";
|
||||
countries["TO"] = "Tonga";
|
||||
countries["TL"] = "Timor-Leste";
|
||||
countries["TR"] = "Turkey";
|
||||
countries["TT"] = "Trinidad and Tobago";
|
||||
countries["TV"] = "Tuvalu";
|
||||
countries["TW"] = "Taiwan";
|
||||
countries["TZ"] = "Tanzania, United Republic of";
|
||||
countries["UA"] = "Ukraine";
|
||||
countries["UG"] = "Uganda";
|
||||
countries["UM"] = "United States Minor Outlying Islands";
|
||||
countries["US"] = "United States";
|
||||
countries["UY"] = "Uruguay";
|
||||
countries["UZ"] = "Uzbekistan";
|
||||
countries["VA"] = "Holy See (Vatican City State)";
|
||||
countries["VC"] = "Saint Vincent and the Grenadines";
|
||||
countries["VE"] = "Venezuela";
|
||||
countries["VG"] = "Virgin Islands, British";
|
||||
countries["VI"] = "Virgin Islands, U.S.";
|
||||
countries["VN"] = "Vietnam";
|
||||
countries["VU"] = "Vanuatu";
|
||||
countries["WF"] = "Wallis and Futuna";
|
||||
countries["WS"] = "Samoa";
|
||||
countries["YE"] = "Yemen";
|
||||
countries["YT"] = "Mayotte";
|
||||
countries["RS"] = "Serbia";
|
||||
countries["ZA"] = "South Africa";
|
||||
countries["ZM"] = "Zambia";
|
||||
countries["ME"] = "Montenegro";
|
||||
countries["ZW"] = "Zimbabwe";
|
||||
countries["A1"] = "Anonymous Proxy";
|
||||
countries["A2"] = "Satellite Provider";
|
||||
countries["O1"] = "Other";
|
||||
countries["AX"] = "Aland Islands";
|
||||
countries["GG"] = "Guernsey";
|
||||
countries["IM"] = "Isle of Man";
|
||||
countries["JE"] = "Jersey";
|
||||
countries["BL"] = "Saint Barthelemy";
|
||||
countries["MF"] = "Saint Martin";
|
||||
countries[QString()] = tr("N/A");
|
||||
countries["AP"] = tr("Asia/Pacific Region");
|
||||
countries["EU"] = tr("Europe");
|
||||
countries["AD"] = tr("Andorra");
|
||||
countries["AE"] = tr("United Arab Emirates");
|
||||
countries["AF"] = tr("Afghanistan");
|
||||
countries["AG"] = tr("Antigua and Barbuda");
|
||||
countries["AI"] = tr("Anguilla");
|
||||
countries["AL"] = tr("Albania");
|
||||
countries["AM"] = tr("Armenia");
|
||||
countries["AN"] = tr("Netherlands Antilles");
|
||||
countries["AO"] = tr("Angola");
|
||||
countries["AQ"] = tr("Antarctica");
|
||||
countries["AR"] = tr("Argentina");
|
||||
countries["AS"] = tr("American Samoa");
|
||||
countries["AT"] = tr("Austria");
|
||||
countries["AU"] = tr("Australia");
|
||||
countries["AW"] = tr("Aruba");
|
||||
countries["AZ"] = tr("Azerbaijan");
|
||||
countries["BA"] = tr("Bosnia and Herzegovina");
|
||||
countries["BB"] = tr("Barbados");
|
||||
countries["BD"] = tr("Bangladesh");
|
||||
countries["BE"] = tr("Belgium");
|
||||
countries["BF"] = tr("Burkina Faso");
|
||||
countries["BG"] = tr("Bulgaria");
|
||||
countries["BH"] = tr("Bahrain");
|
||||
countries["BI"] = tr("Burundi");
|
||||
countries["BJ"] = tr("Benin");
|
||||
countries["BM"] = tr("Bermuda");
|
||||
countries["BN"] = tr("Brunei Darussalam");
|
||||
countries["BO"] = tr("Bolivia");
|
||||
countries["BR"] = tr("Brazil");
|
||||
countries["BS"] = tr("Bahamas");
|
||||
countries["BT"] = tr("Bhutan");
|
||||
countries["BV"] = tr("Bouvet Island");
|
||||
countries["BW"] = tr("Botswana");
|
||||
countries["BY"] = tr("Belarus");
|
||||
countries["BZ"] = tr("Belize");
|
||||
countries["CA"] = tr("Canada");
|
||||
countries["CC"] = tr("Cocos (Keeling) Islands");
|
||||
countries["CD"] = tr("Congo, The Democratic Republic of the");
|
||||
countries["CF"] = tr("Central African Republic");
|
||||
countries["CG"] = tr("Congo");
|
||||
countries["CH"] = tr("Switzerland");
|
||||
countries["CI"] = tr("Cote D'Ivoire");
|
||||
countries["CK"] = tr("Cook Islands");
|
||||
countries["CL"] = tr("Chile");
|
||||
countries["CM"] = tr("Cameroon");
|
||||
countries["CN"] = tr("China");
|
||||
countries["CO"] = tr("Colombia");
|
||||
countries["CR"] = tr("Costa Rica");
|
||||
countries["CU"] = tr("Cuba");
|
||||
countries["CV"] = tr("Cape Verde");
|
||||
countries["CX"] = tr("Christmas Island");
|
||||
countries["CY"] = tr("Cyprus");
|
||||
countries["CZ"] = tr("Czech Republic");
|
||||
countries["DE"] = tr("Germany");
|
||||
countries["DJ"] = tr("Djibouti");
|
||||
countries["DK"] = tr("Denmark");
|
||||
countries["DM"] = tr("Dominica");
|
||||
countries["DO"] = tr("Dominican Republic");
|
||||
countries["DZ"] = tr("Algeria");
|
||||
countries["EC"] = tr("Ecuador");
|
||||
countries["EE"] = tr("Estonia");
|
||||
countries["EG"] = tr("Egypt");
|
||||
countries["EH"] = tr("Western Sahara");
|
||||
countries["ER"] = tr("Eritrea");
|
||||
countries["ES"] = tr("Spain");
|
||||
countries["ET"] = tr("Ethiopia");
|
||||
countries["FI"] = tr("Finland");
|
||||
countries["FJ"] = tr("Fiji");
|
||||
countries["FK"] = tr("Falkland Islands (Malvinas)");
|
||||
countries["FM"] = tr("Micronesia, Federated States of");
|
||||
countries["FO"] = tr("Faroe Islands");
|
||||
countries["FR"] = tr("France");
|
||||
countries["FX"] = tr("France, Metropolitan");
|
||||
countries["GA"] = tr("Gabon");
|
||||
countries["GB"] = tr("United Kingdom");
|
||||
countries["GD"] = tr("Grenada");
|
||||
countries["GE"] = tr("Georgia");
|
||||
countries["GF"] = tr("French Guiana");
|
||||
countries["GH"] = tr("Ghana");
|
||||
countries["GI"] = tr("Gibraltar");
|
||||
countries["GL"] = tr("Greenland");
|
||||
countries["GM"] = tr("Gambia");
|
||||
countries["GN"] = tr("Guinea");
|
||||
countries["GP"] = tr("Guadeloupe");
|
||||
countries["GQ"] = tr("Equatorial Guinea");
|
||||
countries["GR"] = tr("Greece");
|
||||
countries["GS"] = tr("South Georgia and the South Sandwich Islands");
|
||||
countries["GT"] = tr("Guatemala");
|
||||
countries["GU"] = tr("Guam");
|
||||
countries["GW"] = tr("Guinea-Bissau");
|
||||
countries["GY"] = tr("Guyana");
|
||||
countries["HK"] = tr("Hong Kong");
|
||||
countries["HM"] = tr("Heard Island and McDonald Islands");
|
||||
countries["HN"] = tr("Honduras");
|
||||
countries["HR"] = tr("Croatia");
|
||||
countries["HT"] = tr("Haiti");
|
||||
countries["HU"] = tr("Hungary");
|
||||
countries["ID"] = tr("Indonesia");
|
||||
countries["IE"] = tr("Ireland");
|
||||
countries["IL"] = tr("Israel");
|
||||
countries["IN"] = tr("India");
|
||||
countries["IO"] = tr("British Indian Ocean Territory");
|
||||
countries["IQ"] = tr("Iraq");
|
||||
countries["IR"] = tr("Iran, Islamic Republic of");
|
||||
countries["IS"] = tr("Iceland");
|
||||
countries["IT"] = tr("Italy");
|
||||
countries["JM"] = tr("Jamaica");
|
||||
countries["JO"] = tr("Jordan");
|
||||
countries["JP"] = tr("Japan");
|
||||
countries["KE"] = tr("Kenya");
|
||||
countries["KG"] = tr("Kyrgyzstan");
|
||||
countries["KH"] = tr("Cambodia");
|
||||
countries["KI"] = tr("Kiribati");
|
||||
countries["KM"] = tr("Comoros");
|
||||
countries["KN"] = tr("Saint Kitts and Nevis");
|
||||
countries["KP"] = tr("Korea, Democratic People's Republic of");
|
||||
countries["KR"] = tr("Korea, Republic of");
|
||||
countries["KW"] = tr("Kuwait");
|
||||
countries["KY"] = tr("Cayman Islands");
|
||||
countries["KZ"] = tr("Kazakhstan");
|
||||
countries["LA"] = tr("Lao People's Democratic Republic");
|
||||
countries["LB"] = tr("Lebanon");
|
||||
countries["LC"] = tr("Saint Lucia");
|
||||
countries["LI"] = tr("Liechtenstein");
|
||||
countries["LK"] = tr("Sri Lanka");
|
||||
countries["LR"] = tr("Liberia");
|
||||
countries["LS"] = tr("Lesotho");
|
||||
countries["LT"] = tr("Lithuania");
|
||||
countries["LU"] = tr("Luxembourg");
|
||||
countries["LV"] = tr("Latvia");
|
||||
countries["LY"] = tr("Libyan Arab Jamahiriya");
|
||||
countries["MA"] = tr("Morocco");
|
||||
countries["MC"] = tr("Monaco");
|
||||
countries["MD"] = tr("Moldova, Republic of");
|
||||
countries["MG"] = tr("Madagascar");
|
||||
countries["MH"] = tr("Marshall Islands");
|
||||
countries["MK"] = tr("Macedonia");
|
||||
countries["ML"] = tr("Mali");
|
||||
countries["MM"] = tr("Myanmar");
|
||||
countries["MN"] = tr("Mongolia");
|
||||
countries["MO"] = tr("Macau");
|
||||
countries["MP"] = tr("Northern Mariana Islands");
|
||||
countries["MQ"] = tr("Martinique");
|
||||
countries["MR"] = tr("Mauritania");
|
||||
countries["MS"] = tr("Montserrat");
|
||||
countries["MT"] = tr("Malta");
|
||||
countries["MU"] = tr("Mauritius");
|
||||
countries["MV"] = tr("Maldives");
|
||||
countries["MW"] = tr("Malawi");
|
||||
countries["MX"] = tr("Mexico");
|
||||
countries["MY"] = tr("Malaysia");
|
||||
countries["MZ"] = tr("Mozambique");
|
||||
countries["NA"] = tr("Namibia");
|
||||
countries["NC"] = tr("New Caledonia");
|
||||
countries["NE"] = tr("Niger");
|
||||
countries["NF"] = tr("Norfolk Island");
|
||||
countries["NG"] = tr("Nigeria");
|
||||
countries["NI"] = tr("Nicaragua");
|
||||
countries["NL"] = tr("Netherlands");
|
||||
countries["NO"] = tr("Norway");
|
||||
countries["NP"] = tr("Nepal");
|
||||
countries["NR"] = tr("Nauru");
|
||||
countries["NU"] = tr("Niue");
|
||||
countries["NZ"] = tr("New Zealand");
|
||||
countries["OM"] = tr("Oman");
|
||||
countries["PA"] = tr("Panama");
|
||||
countries["PE"] = tr("Peru");
|
||||
countries["PF"] = tr("French Polynesia");
|
||||
countries["PG"] = tr("Papua New Guinea");
|
||||
countries["PH"] = tr("Philippines");
|
||||
countries["PK"] = tr("Pakistan");
|
||||
countries["PL"] = tr("Poland");
|
||||
countries["PM"] = tr("Saint Pierre and Miquelon");
|
||||
countries["PN"] = tr("Pitcairn Islands");
|
||||
countries["PR"] = tr("Puerto Rico");
|
||||
countries["PS"] = tr("Palestinian Territory");
|
||||
countries["PT"] = tr("Portugal");
|
||||
countries["PW"] = tr("Palau");
|
||||
countries["PY"] = tr("Paraguay");
|
||||
countries["QA"] = tr("Qatar");
|
||||
countries["RE"] = tr("Reunion");
|
||||
countries["RO"] = tr("Romania");
|
||||
countries["RU"] = tr("Russian Federation");
|
||||
countries["RW"] = tr("Rwanda");
|
||||
countries["SA"] = tr("Saudi Arabia");
|
||||
countries["SB"] = tr("Solomon Islands");
|
||||
countries["SC"] = tr("Seychelles");
|
||||
countries["SD"] = tr("Sudan");
|
||||
countries["SE"] = tr("Sweden");
|
||||
countries["SG"] = tr("Singapore");
|
||||
countries["SH"] = tr("Saint Helena");
|
||||
countries["SI"] = tr("Slovenia");
|
||||
countries["SJ"] = tr("Svalbard and Jan Mayen");
|
||||
countries["SK"] = tr("Slovakia");
|
||||
countries["SL"] = tr("Sierra Leone");
|
||||
countries["SM"] = tr("San Marino");
|
||||
countries["SN"] = tr("Senegal");
|
||||
countries["SO"] = tr("Somalia");
|
||||
countries["SR"] = tr("Suriname");
|
||||
countries["ST"] = tr("Sao Tome and Principe");
|
||||
countries["SV"] = tr("El Salvador");
|
||||
countries["SY"] = tr("Syrian Arab Republic");
|
||||
countries["SZ"] = tr("Swaziland");
|
||||
countries["TC"] = tr("Turks and Caicos Islands");
|
||||
countries["TD"] = tr("Chad");
|
||||
countries["TF"] = tr("French Southern Territories");
|
||||
countries["TG"] = tr("Togo");
|
||||
countries["TH"] = tr("Thailand");
|
||||
countries["TJ"] = tr("Tajikistan");
|
||||
countries["TK"] = tr("Tokelau");
|
||||
countries["TM"] = tr("Turkmenistan");
|
||||
countries["TN"] = tr("Tunisia");
|
||||
countries["TO"] = tr("Tonga");
|
||||
countries["TL"] = tr("Timor-Leste");
|
||||
countries["TR"] = tr("Turkey");
|
||||
countries["TT"] = tr("Trinidad and Tobago");
|
||||
countries["TV"] = tr("Tuvalu");
|
||||
countries["TW"] = tr("Taiwan");
|
||||
countries["TZ"] = tr("Tanzania, United Republic of");
|
||||
countries["UA"] = tr("Ukraine");
|
||||
countries["UG"] = tr("Uganda");
|
||||
countries["UM"] = tr("United States Minor Outlying Islands");
|
||||
countries["US"] = tr("United States");
|
||||
countries["UY"] = tr("Uruguay");
|
||||
countries["UZ"] = tr("Uzbekistan");
|
||||
countries["VA"] = tr("Holy See (Vatican City State)");
|
||||
countries["VC"] = tr("Saint Vincent and the Grenadines");
|
||||
countries["VE"] = tr("Venezuela");
|
||||
countries["VG"] = tr("Virgin Islands, British");
|
||||
countries["VI"] = tr("Virgin Islands, U.S.");
|
||||
countries["VN"] = tr("Vietnam");
|
||||
countries["VU"] = tr("Vanuatu");
|
||||
countries["WF"] = tr("Wallis and Futuna");
|
||||
countries["WS"] = tr("Samoa");
|
||||
countries["YE"] = tr("Yemen");
|
||||
countries["YT"] = tr("Mayotte");
|
||||
countries["RS"] = tr("Serbia");
|
||||
countries["ZA"] = tr("South Africa");
|
||||
countries["ZM"] = tr("Zambia");
|
||||
countries["ME"] = tr("Montenegro");
|
||||
countries["ZW"] = tr("Zimbabwe");
|
||||
countries["A1"] = tr("Anonymous Proxy");
|
||||
countries["A2"] = tr("Satellite Provider");
|
||||
countries["O1"] = tr("Other");
|
||||
countries["AX"] = tr("Aland Islands");
|
||||
countries["GG"] = tr("Guernsey");
|
||||
countries["IM"] = tr("Isle of Man");
|
||||
countries["JE"] = tr("Jersey");
|
||||
countries["BL"] = tr("Saint Barthelemy");
|
||||
countries["MF"] = tr("Saint Martin");
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
return countries.value(countryISOCode, "N/A");
|
||||
return countries.value(countryISOCode, tr("N/A"));
|
||||
}
|
||||
|
||||
void GeoIPManager::configure()
|
||||
|
|
Loading…
Reference in a new issue