Capil ka isi

Modul:Country adjective

Tumatan Wikipidia Banjar, kindai pangatahuan

Dokumentasi untuk modul ini dapat dibuat di Modul:Country adjective/doc

-- Returns a list of country adjectives based on the list at https://en.wikipedia.org/wiki/List_of_adjectival_and_demonymic_forms_for_countries_and_nations.
local adjFromCountryList = {
	["Abkhazia"] = "Abkhazia",
	["Afghanistan"] = "Afghanistan",
	["Albania"] = "Albania",
	["Algeria"] = "Aljazair",
	["American Samoa"] = "Samoa Amirika",
	["Andorra"] = "Andorra",
	["Angola"] = "Angola",
	["Anguilla"] = "Anguilla",
	["Antigua and Barbuda"] = "Antigua wan Barbuda",
	["Argentina"] = "Argentina",
	["Armenia"] = "Armenia",
	["Aruba"] = "Aruba",
	["Australia"] = "Australia",
	["Austria"] = "Austria",
	["Azerbaijan"] = "Azerbaijan",
	["Bahamas"] = "Bahama",
	["Bahrain"] = "Bahrain",
	["Bangladesh"] = "Bangladesh",
	["Barbados"] = "Barbados",
	["Belarus"] = "Belarusia",
	["Belgium"] = "Belgia",
	["Belize"] = "Belize",
	["Benin"] = "Benin",
	["Bermuda"] = "Bermuda",
	["Bhutan"] = "Bhutan",
	["Bolivia"] = "Bolivia",
	["Bonaire"] = "Bonaire",
	["Bosnia and Herzegovina"] = "Bosnia dan Herzegovina",
	["Botswana"] = "Botswana",
	["Brazil"] = "Brasil",
	["British Indian Ocean Territory"] = "Wilayah Lautan Britania India",
	["Brunei"] = "Brunei",
	["Bulgaria"] = "Bulgaria",
	["Burkina Faso"] = "Burkina Faso",
	["Myanmar"] = "Burma",
	["Burundi"] = "Burundi",
	["Cape Verde"] = "Tanjung Verde",
	["Cambodia"] = "Kamboja",
	["Cameroon"] = "Kamerun",
	["Canada"] = "Kanada",
	["Cayman Islands"] = "Kapulauan Cayman",
	["Central African Republic"] = "Afrika Tangah",
	["Chad"] = "Chad",
	["Chile"] = "Cili",
	["China"] = "Tiongkok",
	["Colombia"] = "Kolombia",
	["Comoros"] = "Komoro",
	["Democratic Republic of the Congo"] = "Kongo",
	["Republic of the Congo"] = "Republik Kongo",
	["Cook Islands"] = "Pulau Cook",
	["Costa Rica"] = "Kosta Rika",
	["Croatia"] = "Kroasia",
	["Cuba"] = "Kuba",
	["Curaçao"] = "Curaçao",
	["Cyprus"] = "Siprus",
	["Czech Republic"] = "Republik Ceko",
	["Czechoslovakia"] = "Cekoslowakia",
	["Denmark"] = "Denmark",
	["Djibouti"] = "Djibouti",
	["Dominica"] = "Dominika",
	["Dominican Republic"] = "Republik Dominika",
	["East Timor"] = "Timor Leste",
	["Ecuador"] = "Ekuador",
	["Egypt"] = "Mesir",
	["El Salvador"] = "El Salvador",
	["Equatorial Guinea"] = "Guinea Khatulistiwa",
	["Eritrea"] = "Eritrea",
	["Estonia"] = "Estonia",
	["Eswatini"] = "Swazi",
	["Ethiopia"] = "Ethiopia",
	["Falkland Islands"] = "Kapulauan Falkland",
	["Faroe Islands"] = "Kapulauan Faroe",
	["Fiji"] = "Fiji",
	["Finland"] = "Finlandia",
	["France"] = "Prancis",
	["French Guiana"] = "Guiana Prancis",
	["French Polynesia"] = "Polinesia Prancis",
	["Gabon"] = "Gabon",
	["Gambia"] = "Gambia",
	["Georgia"] = "Georgia",
	["Germany"] = "Jerman",
	["Ghana"] = "Ghana",
	["Greece"] = "Yunani",
	["Greenland"] = "Greenland",
	["Grenada"] = "Grenada",
	["Guadeloupe"] = "Guadeloupe",
	["Guam"] = "Guam",
	["Guatemala"] = "Guatemala",
	["Guernsey"] = "Guernsey",
	["Guinea"] = "Guinea",
	["Guinea-Bissau"] = "Guinea-Bissau",
	["Guyana"] = "Guyana",
	["Haiti"] = "Haiti",
	["Honduras"] = "Honduras",
	["Hong Kong"] = "Hong Kong",
	["Hungary"] = "Hongaria",
	["Iceland"] = "Islandia",
	["India"] = "India",
	["Indonesia"] = "Indunisia",
	["Iran"] = "Iran",
	["Iraq"] = "Irak",
	["Ireland"] = "Irlandia",
	["Isle of Man"] = "Kapulauan Man",
	["Israel"] = "Israel",
	["Italy"] = "Italia",
	["Ivory Coast"] = "Pantai Gading",
	["Jamaica"] = "Jamaika",
	["Jan Mayen"] = "Jan Mayen",
	["Japan"] = "Japang",
	["Jersey"] = "Jersey",
	["Jordan"] = "Yordania",
	["Kazakhstan"] = "Kazakhstan",
	["Kenya"] = "Kenya",
	["Kiribati"] = "Kiribati",
	["North Korea"] = "Korea Utara",
	["South Korea"] = "Korea Selatan",
	["Kosovo"] = "Kosovo",
	["Kuwait"] = "Kuwait",
	["Kyrgyzstan"] = "Kirgistan",
	["Laos"] = "Laos",
	["Latvia"] = "Latvia",
	["Lebanon"] = "Lebanon",
	["Lesotho"] = "Lesotho",
	["Liberia"] = "Liberia",
	["Libya"] = "Libya",
	["Liechtenstein"] = "Liechtenstein",
	["Lithuania"] = "Lituania",
	["Luxembourg"] = "Luksemburg",
	["Macau"] = "Makau",
	["Republic of Macedonia"] = "Makedonia",
	["Madagascar"] = "Malagasi",
	["Malawi"] = "Malawi",
	["Malaysia"] = "Malaysia",
	["Maldives"] = "Maladewa",
	["Mali"] = "Mali",
	["Malta"] = "Malta",
	["Marshall Islands"] = "Kapulauan Marshall",
	["Martinique"] = "Martinique",
	["Mauritania"] = "Mauritania",
	["Mauritius"] = "Mauritius",
	["Mexico"] = "Meksiko",
	["Federated States of Micronesia"] = "Mikronesian",
	["Moldova"] = "Moldova",
	["Mongolia"] = "Mongolia",
	["Montenegro"] = "Montenegro",
	["Montserrat"] = "Montserrat",
	["Morocco"] = "Moroko",
	["Mozambique"] = "Mozambik",
	["Namibia"] = "Namibia",
	["Nauru"] = "Nauru",
	["Nepal"] = "Nepal",
	["Netherlands"] = "Walanda",
	["New Caledonia"] = "Kaledonia Hanyar",
	["New Zealand"] = "Selandia Hanyar",
	["Nicaragua"] = "Nikaragua",
	["Niger"] = "Niger",
	["Nigeria"] = "Nigeria",
	["Niue"] = "Niue",
	["Northern Mariana Islands"] = "Kapulauan Mariana Utara",
	["Norway"] = "Norwegia",
	["Oman"] = "Oman",
	["Pakistan"] = "Pakistan",
	["Palau"] = "Palau",
	["State of Palestine"] = "Palestina",
	["Panama"] = "Panama",
	["Papua New Guinea"] = "Papua Nugini",
	["Paraguay"] = "Paraguay",
	["Peru"] = "Peru",
	["Philippines"] = "Filipina",
	["Pitcairn Islands"] = "Kapulauan Pitcairn",
	["Poland"] = "Polandia",
	["Portugal"] = "Portugis",
	["Puerto Rico"] = "Puerto Riko",
	["Qatar"] = "Qatar",
	["Romania"] = "Rumania",
	["Russia"] = "Rusia",
	["Rwanda"] = "Rwanda",
	["Saba"] = "Saba",
	["Saint Kitts and Nevis"] = "Saint Kitts dan Nevis",
	["Saint Lucia"] = "Saint Lucia",
	["Saint Vincent and the Grenadines"] = "Saint Vincent dan Grenadine",
	["Samoa"] = "Samoa",
	["San Marino"] = "San Marino",
	["São Tomé and Príncipe"] = "São Tomé dan Príncipe",
	["Saudi Arabia"] = "Arab Saudi",
	["Senegal"] = "Senegal",
	["Serbia"] = "Serbia",
	["Seychelles"] = "Seychelles",
	["Sierra Leone"] = "Sierra Leone",
	["Singapore"] = "Singapura",
	["Slovakia"] = "Slowakia",
	["Slovenia"] = "Slovenia",
	["Solomon Islands"] = "Kapulauan Solomon",
	["Somalia"] = "Somalia",
	["Somaliland"] = "Somaliland",
	["South Africa"] = "Afrika Selatan",
	["South Sudan"] = "Sudan Selatan",
	["Spain"] = "Spanyol",
	["Sri Lanka"] = "Sri Lanka",
	["Sudan"] = "Sudan",
	["Suriname"] = "Suriname",
	["Sweden"] = "Swedish",
	["Switzerland"] = "Swiss",
	["Syria"] = "Suriah",
	["Taiwan"] = "Taiwan",
	["Tajikistan"] = "Tajikistan",
	["Tanzania"] = "Tanzania",
	["Thailand"] = "Thailand",
	["Togo"] = "Togol",
	["Tokelau"] = "Tokelau",
	["Tonga"] = "Tonga",
	["Trinidad and Tobago"] = "Trinidad dan Tobago",
	["Tunisia"] = "Tunisia",
	["Turkey"] = "Turki",
	["Turkmenistan"] = "Turkmenistan",
	["Turks and Caicos Islands"] = "Kapulauan Turks wan Caicos",
	["Tuvalu"] = "Tuvalu",
	["Uganda"] = "Uganda",
	["Ukraine"] = "Ukraina",
	["United Arab Emirates"] = "Emirat",
	["United Kingdom"] = "Britania",
	["United States"] = "Amirika",
	["Uruguay"] = "Uruguay",
	["Uzbekistan"] = "Uzbekistan",
	["Vanuatu"] = "Vanuatu",
	["Venezuela"] = "Venezuela",
	["Vietnam"] = "Vietnam",
	["British Virgin Islands"] = "Kapulauan Virgin Britania Raya",
	["United States Virgin Islands"] = "Kapulauan Virgin Amirika Sarikat",
	["Wallis and Futuna"] = "Wallis dan Futuna",
	["Yemen"] = "Yaman",
	["Zambia"] = "Zambia",
	["Zimbabwe"] = "Zimbabwe",
}

local countryFromAdj = {}

for k, v in pairs(adjFromCountryList) do
	countryFromAdj[v] = k
end
	
return {
	getAdjFromCountry = adjFromCountryList,
	getCountryFromAdj = countryFromAdj
	}