Merge pull request #5405 from aaronraimist/translate-country-names
Allow country names to be translated
This commit is contained in:
commit
e404934794
3 changed files with 501 additions and 250 deletions
|
@ -123,7 +123,7 @@ export default class CountryDropdown extends React.Component {
|
||||||
const options = displayedCountries.map((country) => {
|
const options = displayedCountries.map((country) => {
|
||||||
return <div className="mx_CountryDropdown_option" key={country.iso2}>
|
return <div className="mx_CountryDropdown_option" key={country.iso2}>
|
||||||
{ this._flagImgForIso2(country.iso2) }
|
{ this._flagImgForIso2(country.iso2) }
|
||||||
{ country.name } (+{ country.prefix })
|
{ _t(country.name) } (+{ country.prefix })
|
||||||
</div>;
|
</div>;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,255 @@
|
||||||
"Unable to enable Notifications": "Unable to enable Notifications",
|
"Unable to enable Notifications": "Unable to enable Notifications",
|
||||||
"This email address was not found": "This email address was not found",
|
"This email address was not found": "This email address was not found",
|
||||||
"Your email address does not appear to be associated with a Matrix ID on this Homeserver.": "Your email address does not appear to be associated with a Matrix ID on this Homeserver.",
|
"Your email address does not appear to be associated with a Matrix ID on this Homeserver.": "Your email address does not appear to be associated with a Matrix ID on this Homeserver.",
|
||||||
|
"United Kingdom": "United Kingdom",
|
||||||
|
"United States": "United States",
|
||||||
|
"Afghanistan": "Afghanistan",
|
||||||
|
"Åland Islands": "Åland Islands",
|
||||||
|
"Albania": "Albania",
|
||||||
|
"Algeria": "Algeria",
|
||||||
|
"American Samoa": "American Samoa",
|
||||||
|
"Andorra": "Andorra",
|
||||||
|
"Angola": "Angola",
|
||||||
|
"Anguilla": "Anguilla",
|
||||||
|
"Antarctica": "Antarctica",
|
||||||
|
"Antigua & Barbuda": "Antigua & Barbuda",
|
||||||
|
"Argentina": "Argentina",
|
||||||
|
"Armenia": "Armenia",
|
||||||
|
"Aruba": "Aruba",
|
||||||
|
"Australia": "Australia",
|
||||||
|
"Austria": "Austria",
|
||||||
|
"Azerbaijan": "Azerbaijan",
|
||||||
|
"Bahamas": "Bahamas",
|
||||||
|
"Bahrain": "Bahrain",
|
||||||
|
"Bangladesh": "Bangladesh",
|
||||||
|
"Barbados": "Barbados",
|
||||||
|
"Belarus": "Belarus",
|
||||||
|
"Belgium": "Belgium",
|
||||||
|
"Belize": "Belize",
|
||||||
|
"Benin": "Benin",
|
||||||
|
"Bermuda": "Bermuda",
|
||||||
|
"Bhutan": "Bhutan",
|
||||||
|
"Bolivia": "Bolivia",
|
||||||
|
"Bosnia": "Bosnia",
|
||||||
|
"Botswana": "Botswana",
|
||||||
|
"Bouvet Island": "Bouvet Island",
|
||||||
|
"Brazil": "Brazil",
|
||||||
|
"British Indian Ocean Territory": "British Indian Ocean Territory",
|
||||||
|
"British Virgin Islands": "British Virgin Islands",
|
||||||
|
"Brunei": "Brunei",
|
||||||
|
"Bulgaria": "Bulgaria",
|
||||||
|
"Burkina Faso": "Burkina Faso",
|
||||||
|
"Burundi": "Burundi",
|
||||||
|
"Cambodia": "Cambodia",
|
||||||
|
"Cameroon": "Cameroon",
|
||||||
|
"Canada": "Canada",
|
||||||
|
"Cape Verde": "Cape Verde",
|
||||||
|
"Caribbean Netherlands": "Caribbean Netherlands",
|
||||||
|
"Cayman Islands": "Cayman Islands",
|
||||||
|
"Central African Republic": "Central African Republic",
|
||||||
|
"Chad": "Chad",
|
||||||
|
"Chile": "Chile",
|
||||||
|
"China": "China",
|
||||||
|
"Christmas Island": "Christmas Island",
|
||||||
|
"Cocos (Keeling) Islands": "Cocos (Keeling) Islands",
|
||||||
|
"Colombia": "Colombia",
|
||||||
|
"Comoros": "Comoros",
|
||||||
|
"Congo - Brazzaville": "Congo - Brazzaville",
|
||||||
|
"Congo - Kinshasa": "Congo - Kinshasa",
|
||||||
|
"Cook Islands": "Cook Islands",
|
||||||
|
"Costa Rica": "Costa Rica",
|
||||||
|
"Croatia": "Croatia",
|
||||||
|
"Cuba": "Cuba",
|
||||||
|
"Curaçao": "Curaçao",
|
||||||
|
"Cyprus": "Cyprus",
|
||||||
|
"Czech Republic": "Czech Republic",
|
||||||
|
"Côte d’Ivoire": "Côte d’Ivoire",
|
||||||
|
"Denmark": "Denmark",
|
||||||
|
"Djibouti": "Djibouti",
|
||||||
|
"Dominica": "Dominica",
|
||||||
|
"Dominican Republic": "Dominican Republic",
|
||||||
|
"Ecuador": "Ecuador",
|
||||||
|
"Egypt": "Egypt",
|
||||||
|
"El Salvador": "El Salvador",
|
||||||
|
"Equatorial Guinea": "Equatorial Guinea",
|
||||||
|
"Eritrea": "Eritrea",
|
||||||
|
"Estonia": "Estonia",
|
||||||
|
"Ethiopia": "Ethiopia",
|
||||||
|
"Falkland Islands": "Falkland Islands",
|
||||||
|
"Faroe Islands": "Faroe Islands",
|
||||||
|
"Fiji": "Fiji",
|
||||||
|
"Finland": "Finland",
|
||||||
|
"France": "France",
|
||||||
|
"French Guiana": "French Guiana",
|
||||||
|
"French Polynesia": "French Polynesia",
|
||||||
|
"French Southern Territories": "French Southern Territories",
|
||||||
|
"Gabon": "Gabon",
|
||||||
|
"Gambia": "Gambia",
|
||||||
|
"Georgia": "Georgia",
|
||||||
|
"Germany": "Germany",
|
||||||
|
"Ghana": "Ghana",
|
||||||
|
"Gibraltar": "Gibraltar",
|
||||||
|
"Greece": "Greece",
|
||||||
|
"Greenland": "Greenland",
|
||||||
|
"Grenada": "Grenada",
|
||||||
|
"Guadeloupe": "Guadeloupe",
|
||||||
|
"Guam": "Guam",
|
||||||
|
"Guatemala": "Guatemala",
|
||||||
|
"Guernsey": "Guernsey",
|
||||||
|
"Guinea": "Guinea",
|
||||||
|
"Guinea-Bissau": "Guinea-Bissau",
|
||||||
|
"Guyana": "Guyana",
|
||||||
|
"Haiti": "Haiti",
|
||||||
|
"Heard & McDonald Islands": "Heard & McDonald Islands",
|
||||||
|
"Honduras": "Honduras",
|
||||||
|
"Hong Kong": "Hong Kong",
|
||||||
|
"Hungary": "Hungary",
|
||||||
|
"Iceland": "Iceland",
|
||||||
|
"India": "India",
|
||||||
|
"Indonesia": "Indonesia",
|
||||||
|
"Iran": "Iran",
|
||||||
|
"Iraq": "Iraq",
|
||||||
|
"Ireland": "Ireland",
|
||||||
|
"Isle of Man": "Isle of Man",
|
||||||
|
"Israel": "Israel",
|
||||||
|
"Italy": "Italy",
|
||||||
|
"Jamaica": "Jamaica",
|
||||||
|
"Japan": "Japan",
|
||||||
|
"Jersey": "Jersey",
|
||||||
|
"Jordan": "Jordan",
|
||||||
|
"Kazakhstan": "Kazakhstan",
|
||||||
|
"Kenya": "Kenya",
|
||||||
|
"Kiribati": "Kiribati",
|
||||||
|
"Kosovo": "Kosovo",
|
||||||
|
"Kuwait": "Kuwait",
|
||||||
|
"Kyrgyzstan": "Kyrgyzstan",
|
||||||
|
"Laos": "Laos",
|
||||||
|
"Latvia": "Latvia",
|
||||||
|
"Lebanon": "Lebanon",
|
||||||
|
"Lesotho": "Lesotho",
|
||||||
|
"Liberia": "Liberia",
|
||||||
|
"Libya": "Libya",
|
||||||
|
"Liechtenstein": "Liechtenstein",
|
||||||
|
"Lithuania": "Lithuania",
|
||||||
|
"Luxembourg": "Luxembourg",
|
||||||
|
"Macau": "Macau",
|
||||||
|
"Macedonia": "Macedonia",
|
||||||
|
"Madagascar": "Madagascar",
|
||||||
|
"Malawi": "Malawi",
|
||||||
|
"Malaysia": "Malaysia",
|
||||||
|
"Maldives": "Maldives",
|
||||||
|
"Mali": "Mali",
|
||||||
|
"Malta": "Malta",
|
||||||
|
"Marshall Islands": "Marshall Islands",
|
||||||
|
"Martinique": "Martinique",
|
||||||
|
"Mauritania": "Mauritania",
|
||||||
|
"Mauritius": "Mauritius",
|
||||||
|
"Mayotte": "Mayotte",
|
||||||
|
"Mexico": "Mexico",
|
||||||
|
"Micronesia": "Micronesia",
|
||||||
|
"Moldova": "Moldova",
|
||||||
|
"Monaco": "Monaco",
|
||||||
|
"Mongolia": "Mongolia",
|
||||||
|
"Montenegro": "Montenegro",
|
||||||
|
"Montserrat": "Montserrat",
|
||||||
|
"Morocco": "Morocco",
|
||||||
|
"Mozambique": "Mozambique",
|
||||||
|
"Myanmar": "Myanmar",
|
||||||
|
"Namibia": "Namibia",
|
||||||
|
"Nauru": "Nauru",
|
||||||
|
"Nepal": "Nepal",
|
||||||
|
"Netherlands": "Netherlands",
|
||||||
|
"New Caledonia": "New Caledonia",
|
||||||
|
"New Zealand": "New Zealand",
|
||||||
|
"Nicaragua": "Nicaragua",
|
||||||
|
"Niger": "Niger",
|
||||||
|
"Nigeria": "Nigeria",
|
||||||
|
"Niue": "Niue",
|
||||||
|
"Norfolk Island": "Norfolk Island",
|
||||||
|
"North Korea": "North Korea",
|
||||||
|
"Northern Mariana Islands": "Northern Mariana Islands",
|
||||||
|
"Norway": "Norway",
|
||||||
|
"Oman": "Oman",
|
||||||
|
"Pakistan": "Pakistan",
|
||||||
|
"Palau": "Palau",
|
||||||
|
"Palestine": "Palestine",
|
||||||
|
"Panama": "Panama",
|
||||||
|
"Papua New Guinea": "Papua New Guinea",
|
||||||
|
"Paraguay": "Paraguay",
|
||||||
|
"Peru": "Peru",
|
||||||
|
"Philippines": "Philippines",
|
||||||
|
"Pitcairn Islands": "Pitcairn Islands",
|
||||||
|
"Poland": "Poland",
|
||||||
|
"Portugal": "Portugal",
|
||||||
|
"Puerto Rico": "Puerto Rico",
|
||||||
|
"Qatar": "Qatar",
|
||||||
|
"Romania": "Romania",
|
||||||
|
"Russia": "Russia",
|
||||||
|
"Rwanda": "Rwanda",
|
||||||
|
"Réunion": "Réunion",
|
||||||
|
"Samoa": "Samoa",
|
||||||
|
"San Marino": "San Marino",
|
||||||
|
"Saudi Arabia": "Saudi Arabia",
|
||||||
|
"Senegal": "Senegal",
|
||||||
|
"Serbia": "Serbia",
|
||||||
|
"Seychelles": "Seychelles",
|
||||||
|
"Sierra Leone": "Sierra Leone",
|
||||||
|
"Singapore": "Singapore",
|
||||||
|
"Sint Maarten": "Sint Maarten",
|
||||||
|
"Slovakia": "Slovakia",
|
||||||
|
"Slovenia": "Slovenia",
|
||||||
|
"Solomon Islands": "Solomon Islands",
|
||||||
|
"Somalia": "Somalia",
|
||||||
|
"South Africa": "South Africa",
|
||||||
|
"South Georgia & South Sandwich Islands": "South Georgia & South Sandwich Islands",
|
||||||
|
"South Korea": "South Korea",
|
||||||
|
"South Sudan": "South Sudan",
|
||||||
|
"Spain": "Spain",
|
||||||
|
"Sri Lanka": "Sri Lanka",
|
||||||
|
"St. Barthélemy": "St. Barthélemy",
|
||||||
|
"St. Helena": "St. Helena",
|
||||||
|
"St. Kitts & Nevis": "St. Kitts & Nevis",
|
||||||
|
"St. Lucia": "St. Lucia",
|
||||||
|
"St. Martin": "St. Martin",
|
||||||
|
"St. Pierre & Miquelon": "St. Pierre & Miquelon",
|
||||||
|
"St. Vincent & Grenadines": "St. Vincent & Grenadines",
|
||||||
|
"Sudan": "Sudan",
|
||||||
|
"Suriname": "Suriname",
|
||||||
|
"Svalbard & Jan Mayen": "Svalbard & Jan Mayen",
|
||||||
|
"Swaziland": "Swaziland",
|
||||||
|
"Sweden": "Sweden",
|
||||||
|
"Switzerland": "Switzerland",
|
||||||
|
"Syria": "Syria",
|
||||||
|
"São Tomé & Príncipe": "São Tomé & Príncipe",
|
||||||
|
"Taiwan": "Taiwan",
|
||||||
|
"Tajikistan": "Tajikistan",
|
||||||
|
"Tanzania": "Tanzania",
|
||||||
|
"Thailand": "Thailand",
|
||||||
|
"Timor-Leste": "Timor-Leste",
|
||||||
|
"Togo": "Togo",
|
||||||
|
"Tokelau": "Tokelau",
|
||||||
|
"Tonga": "Tonga",
|
||||||
|
"Trinidad & Tobago": "Trinidad & Tobago",
|
||||||
|
"Tunisia": "Tunisia",
|
||||||
|
"Turkey": "Turkey",
|
||||||
|
"Turkmenistan": "Turkmenistan",
|
||||||
|
"Turks & Caicos Islands": "Turks & Caicos Islands",
|
||||||
|
"Tuvalu": "Tuvalu",
|
||||||
|
"U.S. Virgin Islands": "U.S. Virgin Islands",
|
||||||
|
"Uganda": "Uganda",
|
||||||
|
"Ukraine": "Ukraine",
|
||||||
|
"United Arab Emirates": "United Arab Emirates",
|
||||||
|
"Uruguay": "Uruguay",
|
||||||
|
"Uzbekistan": "Uzbekistan",
|
||||||
|
"Vanuatu": "Vanuatu",
|
||||||
|
"Vatican City": "Vatican City",
|
||||||
|
"Venezuela": "Venezuela",
|
||||||
|
"Vietnam": "Vietnam",
|
||||||
|
"Wallis & Futuna": "Wallis & Futuna",
|
||||||
|
"Western Sahara": "Western Sahara",
|
||||||
|
"Yemen": "Yemen",
|
||||||
|
"Zambia": "Zambia",
|
||||||
|
"Zimbabwe": "Zimbabwe",
|
||||||
"Sign In or Create Account": "Sign In or Create Account",
|
"Sign In or Create Account": "Sign In or Create Account",
|
||||||
"Use your account or create a new one to continue.": "Use your account or create a new one to continue.",
|
"Use your account or create a new one to continue.": "Use your account or create a new one to continue.",
|
||||||
"Create Account": "Create Account",
|
"Create Account": "Create Account",
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue