fix(dashboard): Correct Spain provinces in country-states.ts (#10264)
Issues Addressed: - Missing provinces (e.g., Ceuta, Melilla). - Incorrect inclusion of states as provinces (e.g., Andalucía). - Inclusion of a province from another country (e.g., Nouvelle-Calédonie). Solution: This update provides an accurate list of Spain's provinces based on the ISO 3166-2 standard. Reference: [ISO 3166-2:ES - Provincias](https://es.wikipedia.org/wiki/ISO_3166-2:ES#Provincias).
This commit is contained in:
@@ -1045,51 +1045,48 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
||||
ES: {
|
||||
type: "province",
|
||||
options: {
|
||||
"ES-A": "A Coruña",
|
||||
"ES-C": "A Coruña",
|
||||
"ES-VI": "Álava",
|
||||
"ES-AB": "Albacete",
|
||||
"ES-A": "Alicante",
|
||||
"ES-AL": "Almería",
|
||||
"ES-AN": "Andalucía",
|
||||
"ES-AR": "Aragón",
|
||||
"ES-AS": "Asturias",
|
||||
"ES-O": "Asturias",
|
||||
"ES-AV": "Ávila",
|
||||
"ES-B": "Barcelona",
|
||||
"ES-BA": "Badajoz",
|
||||
"ES-B": "Barcelona",
|
||||
"ES-BI": "Bizkaia",
|
||||
"ES-BU": "Burgos",
|
||||
"ES-C": "Cáceres",
|
||||
"ES-CC": "Cáceres",
|
||||
"ES-CA": "Cádiz",
|
||||
"ES-CM": "Castilla-La Mancha",
|
||||
"ES-CL": "Castilla y León",
|
||||
"ES-CN": "Canarias",
|
||||
"ES-CT": "Catalunya",
|
||||
"ES-S": "Cantabria",
|
||||
"ES-CS": "Castellón",
|
||||
"ES-CE": "Ceuta",
|
||||
"ES-CR": "Ciudad Real",
|
||||
"ES-CO": "Córdoba",
|
||||
"ES-CU": "Cuenca",
|
||||
"ES-EX": "Extremadura",
|
||||
"ES-GA": "Galicia",
|
||||
"ES-SS": "Gipuzkoa",
|
||||
"ES-GI": "Girona",
|
||||
"ES-GR": "Granada",
|
||||
"ES-GU": "Guadalajara",
|
||||
"ES-H": "Huelva",
|
||||
"ES-HU": "Huesca",
|
||||
"ES-IB": "Illes Balears",
|
||||
"ES-PM": "Illes Balears",
|
||||
"ES-J": "Jaén",
|
||||
"ES-JA": "Jerez",
|
||||
"ES-LO": "La Rioja",
|
||||
"ES-GC": "Las Palmas",
|
||||
"ES-LE": "León",
|
||||
"ES-L": "Lleida",
|
||||
"ES-LO": "La Rioja",
|
||||
"ES-LU": "Lugo",
|
||||
"ES-M": "Madrid",
|
||||
"ES-MA": "Málaga",
|
||||
"ES-ML": "Melilla",
|
||||
"ES-MU": "Murcia",
|
||||
"ES-NA": "Navarra",
|
||||
"ES-NC": "Nouvelle-Calédonie",
|
||||
"ES-O": "Ourense",
|
||||
"ES-OR": "Ourense",
|
||||
"ES-P": "Palencia",
|
||||
"ES-PM": "Palma",
|
||||
"ES-PO": "Pontevedra",
|
||||
"ES-SA": "Salamanca",
|
||||
"ES-TF": "Santa Cruz de Tenerife",
|
||||
"ES-SG": "Segovia",
|
||||
"ES-SE": "Sevilla",
|
||||
"ES-SO": "Soria",
|
||||
@@ -1098,9 +1095,8 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
||||
"ES-TO": "Toledo",
|
||||
"ES-V": "Valencia",
|
||||
"ES-VA": "Valladolid",
|
||||
"ES-VI": "Vizcaya",
|
||||
"ES-Z": "Zaragoza",
|
||||
"ES-ZA": "Zamora",
|
||||
"ES-Z": "Zaragoza",
|
||||
},
|
||||
},
|
||||
TH: {
|
||||
|
||||
Reference in New Issue
Block a user