Remove city database to reduce package size
This commit is contained in:
@ -76,7 +76,7 @@ class Country_FR extends Country {
|
||||
*/
|
||||
public function get_name() {
|
||||
|
||||
return __('France', 'wp-ultimo-locations');
|
||||
return __('France', 'wp-ultimo');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -88,129 +88,129 @@ class Country_FR extends Country {
|
||||
protected function states() {
|
||||
|
||||
return array(
|
||||
'10' => __('Aube', 'wp-ultimo-locations'),
|
||||
'11' => __('Aude', 'wp-ultimo-locations'),
|
||||
'12' => __('Aveyron', 'wp-ultimo-locations'),
|
||||
'13' => __('Bouches-du-Rhône', 'wp-ultimo-locations'),
|
||||
'14' => __('Calvados', 'wp-ultimo-locations'),
|
||||
'15' => __('Cantal', 'wp-ultimo-locations'),
|
||||
'16' => __('Charente', 'wp-ultimo-locations'),
|
||||
'17' => __('Charente-Maritime', 'wp-ultimo-locations'),
|
||||
'18' => __('Cher', 'wp-ultimo-locations'),
|
||||
'19' => __('Corrèze', 'wp-ultimo-locations'),
|
||||
'21' => __("Côte-d'Or", 'wp-ultimo-locations'),
|
||||
'22' => __("Côtes-d'Armor", 'wp-ultimo-locations'),
|
||||
'23' => __('Creuse', 'wp-ultimo-locations'),
|
||||
'24' => __('Dordogne', 'wp-ultimo-locations'),
|
||||
'25' => __('Doubs', 'wp-ultimo-locations'),
|
||||
'26' => __('Drôme', 'wp-ultimo-locations'),
|
||||
'27' => __('Eure', 'wp-ultimo-locations'),
|
||||
'28' => __('Eure-et-Loir', 'wp-ultimo-locations'),
|
||||
'29' => __('Finistère', 'wp-ultimo-locations'),
|
||||
'30' => __('Gard', 'wp-ultimo-locations'),
|
||||
'31' => __('Haute-Garonne', 'wp-ultimo-locations'),
|
||||
'32' => __('Gers', 'wp-ultimo-locations'),
|
||||
'33' => __('Gironde', 'wp-ultimo-locations'),
|
||||
'34' => __('Hérault', 'wp-ultimo-locations'),
|
||||
'35' => __('Ille-et-Vilaine', 'wp-ultimo-locations'),
|
||||
'36' => __('Indre', 'wp-ultimo-locations'),
|
||||
'37' => __('Indre-et-Loire', 'wp-ultimo-locations'),
|
||||
'38' => __('Isère', 'wp-ultimo-locations'),
|
||||
'39' => __('Jura', 'wp-ultimo-locations'),
|
||||
'40' => __('Landes', 'wp-ultimo-locations'),
|
||||
'41' => __('Loir-et-Cher', 'wp-ultimo-locations'),
|
||||
'42' => __('Loire', 'wp-ultimo-locations'),
|
||||
'43' => __('Haute-Loire', 'wp-ultimo-locations'),
|
||||
'44' => __('Loire-Atlantique', 'wp-ultimo-locations'),
|
||||
'45' => __('Loiret', 'wp-ultimo-locations'),
|
||||
'46' => __('Lot', 'wp-ultimo-locations'),
|
||||
'47' => __('Lot-et-Garonne', 'wp-ultimo-locations'),
|
||||
'48' => __('Lozère', 'wp-ultimo-locations'),
|
||||
'49' => __('Maine-et-Loire', 'wp-ultimo-locations'),
|
||||
'50' => __('Manche', 'wp-ultimo-locations'),
|
||||
'51' => __('Marne', 'wp-ultimo-locations'),
|
||||
'52' => __('Haute-Marne', 'wp-ultimo-locations'),
|
||||
'53' => __('Mayenne', 'wp-ultimo-locations'),
|
||||
'54' => __('Meurthe-et-Moselle', 'wp-ultimo-locations'),
|
||||
'55' => __('Meuse', 'wp-ultimo-locations'),
|
||||
'56' => __('Morbihan', 'wp-ultimo-locations'),
|
||||
'57' => __('Moselle', 'wp-ultimo-locations'),
|
||||
'58' => __('Nièvre', 'wp-ultimo-locations'),
|
||||
'59' => __('Nord', 'wp-ultimo-locations'),
|
||||
'60' => __('Oise', 'wp-ultimo-locations'),
|
||||
'61' => __('Orne', 'wp-ultimo-locations'),
|
||||
'62' => __('Pas-de-Calais', 'wp-ultimo-locations'),
|
||||
'63' => __('Puy-de-Dôme', 'wp-ultimo-locations'),
|
||||
'64' => __('Pyrénées-Atlantiques', 'wp-ultimo-locations'),
|
||||
'65' => __('Hautes-Pyrénées', 'wp-ultimo-locations'),
|
||||
'66' => __('Pyrénées-Orientales', 'wp-ultimo-locations'),
|
||||
'67' => __('Bas-Rhin', 'wp-ultimo-locations'),
|
||||
'68' => __('Haut-Rhin', 'wp-ultimo-locations'),
|
||||
'69' => __('Rhône', 'wp-ultimo-locations'),
|
||||
'70' => __('Haute-Saône', 'wp-ultimo-locations'),
|
||||
'71' => __('Saône-et-Loire', 'wp-ultimo-locations'),
|
||||
'72' => __('Sarthe', 'wp-ultimo-locations'),
|
||||
'73' => __('Savoie', 'wp-ultimo-locations'),
|
||||
'74' => __('Haute-Savoie', 'wp-ultimo-locations'),
|
||||
'76' => __('Seine-Maritime', 'wp-ultimo-locations'),
|
||||
'77' => __('Seine-et-Marne', 'wp-ultimo-locations'),
|
||||
'78' => __('Yvelines', 'wp-ultimo-locations'),
|
||||
'79' => __('Deux-Sèvres', 'wp-ultimo-locations'),
|
||||
'80' => __('Somme', 'wp-ultimo-locations'),
|
||||
'81' => __('Tarn', 'wp-ultimo-locations'),
|
||||
'82' => __('Tarn-et-Garonne', 'wp-ultimo-locations'),
|
||||
'83' => __('Var', 'wp-ultimo-locations'),
|
||||
'84' => __('Vaucluse', 'wp-ultimo-locations'),
|
||||
'85' => __('Vendée', 'wp-ultimo-locations'),
|
||||
'86' => __('Vienne', 'wp-ultimo-locations'),
|
||||
'87' => __('Haute-Vienne', 'wp-ultimo-locations'),
|
||||
'88' => __('Vosges', 'wp-ultimo-locations'),
|
||||
'89' => __('Yonne', 'wp-ultimo-locations'),
|
||||
'90' => __('Territoire de Belfort', 'wp-ultimo-locations'),
|
||||
'91' => __('Essonne', 'wp-ultimo-locations'),
|
||||
'92' => __('Hauts-de-Seine', 'wp-ultimo-locations'),
|
||||
'93' => __('Seine-Saint-Denis', 'wp-ultimo-locations'),
|
||||
'94' => __('Val-de-Marne', 'wp-ultimo-locations'),
|
||||
'95' => __("Val-d'Oise", 'wp-ultimo-locations'),
|
||||
'971' => __('Guadeloupe', 'wp-ultimo-locations'),
|
||||
'972' => __('Martinique', 'wp-ultimo-locations'),
|
||||
'973' => __('French Guiana', 'wp-ultimo-locations'),
|
||||
'974' => __('La Réunion', 'wp-ultimo-locations'),
|
||||
'976' => __('Mayotte', 'wp-ultimo-locations'),
|
||||
'01' => __('Ain', 'wp-ultimo-locations'),
|
||||
'02' => __('Aisne', 'wp-ultimo-locations'),
|
||||
'03' => __('Allier', 'wp-ultimo-locations'),
|
||||
'06' => __('Alpes-Maritimes', 'wp-ultimo-locations'),
|
||||
'04' => __('Alpes-de-Haute-Provence', 'wp-ultimo-locations'),
|
||||
'6AE' => __('Alsace', 'wp-ultimo-locations'),
|
||||
'08' => __('Ardennes', 'wp-ultimo-locations'),
|
||||
'07' => __('Ardèche', 'wp-ultimo-locations'),
|
||||
'09' => __('Ariège', 'wp-ultimo-locations'),
|
||||
'ARA' => __('Auvergne-Rhône-Alpes', 'wp-ultimo-locations'),
|
||||
'BFC' => __('Bourgogne-Franche-Comté', 'wp-ultimo-locations'),
|
||||
'BRE' => __('Bretagne', 'wp-ultimo-locations'),
|
||||
'CVL' => __('Centre-Val de Loire', 'wp-ultimo-locations'),
|
||||
'CP' => __('Clipperton', 'wp-ultimo-locations'),
|
||||
'20R' => __('Corse', 'wp-ultimo-locations'),
|
||||
'2A' => __('Corse-du-Sud', 'wp-ultimo-locations'),
|
||||
'PF' => __('French Polynesia', 'wp-ultimo-locations'),
|
||||
'TF' => __('French Southern and Antarctic Lands', 'wp-ultimo-locations'),
|
||||
'GES' => __('Grand-Est', 'wp-ultimo-locations'),
|
||||
'2B' => __('Haute-Corse', 'wp-ultimo-locations'),
|
||||
'05' => __('Hautes-Alpes', 'wp-ultimo-locations'),
|
||||
'HDF' => __('Hauts-de-France', 'wp-ultimo-locations'),
|
||||
'69M' => __('Métropole de Lyon', 'wp-ultimo-locations'),
|
||||
'NOR' => __('Normandie', 'wp-ultimo-locations'),
|
||||
'NAQ' => __('Nouvelle-Aquitaine', 'wp-ultimo-locations'),
|
||||
'OCC' => __('Occitanie', 'wp-ultimo-locations'),
|
||||
'75C' => __('Paris', 'wp-ultimo-locations'),
|
||||
'PDL' => __('Pays-de-la-Loire', 'wp-ultimo-locations'),
|
||||
'PAC' => __('Provence-Alpes-Côte-d’Azur', 'wp-ultimo-locations'),
|
||||
'PM' => __('Saint Pierre and Miquelon', 'wp-ultimo-locations'),
|
||||
'BL' => __('Saint-Barthélemy', 'wp-ultimo-locations'),
|
||||
'MF' => __('Saint-Martin', 'wp-ultimo-locations'),
|
||||
'WF' => __('Wallis and Futuna', 'wp-ultimo-locations'),
|
||||
'IDF' => __('Île-de-France', 'wp-ultimo-locations'),
|
||||
'10' => __('Aube', 'wp-ultimo'),
|
||||
'11' => __('Aude', 'wp-ultimo'),
|
||||
'12' => __('Aveyron', 'wp-ultimo'),
|
||||
'13' => __('Bouches-du-Rhône', 'wp-ultimo'),
|
||||
'14' => __('Calvados', 'wp-ultimo'),
|
||||
'15' => __('Cantal', 'wp-ultimo'),
|
||||
'16' => __('Charente', 'wp-ultimo'),
|
||||
'17' => __('Charente-Maritime', 'wp-ultimo'),
|
||||
'18' => __('Cher', 'wp-ultimo'),
|
||||
'19' => __('Corrèze', 'wp-ultimo'),
|
||||
'21' => __("Côte-d'Or", 'wp-ultimo'),
|
||||
'22' => __("Côtes-d'Armor", 'wp-ultimo'),
|
||||
'23' => __('Creuse', 'wp-ultimo'),
|
||||
'24' => __('Dordogne', 'wp-ultimo'),
|
||||
'25' => __('Doubs', 'wp-ultimo'),
|
||||
'26' => __('Drôme', 'wp-ultimo'),
|
||||
'27' => __('Eure', 'wp-ultimo'),
|
||||
'28' => __('Eure-et-Loir', 'wp-ultimo'),
|
||||
'29' => __('Finistère', 'wp-ultimo'),
|
||||
'30' => __('Gard', 'wp-ultimo'),
|
||||
'31' => __('Haute-Garonne', 'wp-ultimo'),
|
||||
'32' => __('Gers', 'wp-ultimo'),
|
||||
'33' => __('Gironde', 'wp-ultimo'),
|
||||
'34' => __('Hérault', 'wp-ultimo'),
|
||||
'35' => __('Ille-et-Vilaine', 'wp-ultimo'),
|
||||
'36' => __('Indre', 'wp-ultimo'),
|
||||
'37' => __('Indre-et-Loire', 'wp-ultimo'),
|
||||
'38' => __('Isère', 'wp-ultimo'),
|
||||
'39' => __('Jura', 'wp-ultimo'),
|
||||
'40' => __('Landes', 'wp-ultimo'),
|
||||
'41' => __('Loir-et-Cher', 'wp-ultimo'),
|
||||
'42' => __('Loire', 'wp-ultimo'),
|
||||
'43' => __('Haute-Loire', 'wp-ultimo'),
|
||||
'44' => __('Loire-Atlantique', 'wp-ultimo'),
|
||||
'45' => __('Loiret', 'wp-ultimo'),
|
||||
'46' => __('Lot', 'wp-ultimo'),
|
||||
'47' => __('Lot-et-Garonne', 'wp-ultimo'),
|
||||
'48' => __('Lozère', 'wp-ultimo'),
|
||||
'49' => __('Maine-et-Loire', 'wp-ultimo'),
|
||||
'50' => __('Manche', 'wp-ultimo'),
|
||||
'51' => __('Marne', 'wp-ultimo'),
|
||||
'52' => __('Haute-Marne', 'wp-ultimo'),
|
||||
'53' => __('Mayenne', 'wp-ultimo'),
|
||||
'54' => __('Meurthe-et-Moselle', 'wp-ultimo'),
|
||||
'55' => __('Meuse', 'wp-ultimo'),
|
||||
'56' => __('Morbihan', 'wp-ultimo'),
|
||||
'57' => __('Moselle', 'wp-ultimo'),
|
||||
'58' => __('Nièvre', 'wp-ultimo'),
|
||||
'59' => __('Nord', 'wp-ultimo'),
|
||||
'60' => __('Oise', 'wp-ultimo'),
|
||||
'61' => __('Orne', 'wp-ultimo'),
|
||||
'62' => __('Pas-de-Calais', 'wp-ultimo'),
|
||||
'63' => __('Puy-de-Dôme', 'wp-ultimo'),
|
||||
'64' => __('Pyrénées-Atlantiques', 'wp-ultimo'),
|
||||
'65' => __('Hautes-Pyrénées', 'wp-ultimo'),
|
||||
'66' => __('Pyrénées-Orientales', 'wp-ultimo'),
|
||||
'67' => __('Bas-Rhin', 'wp-ultimo'),
|
||||
'68' => __('Haut-Rhin', 'wp-ultimo'),
|
||||
'69' => __('Rhône', 'wp-ultimo'),
|
||||
'70' => __('Haute-Saône', 'wp-ultimo'),
|
||||
'71' => __('Saône-et-Loire', 'wp-ultimo'),
|
||||
'72' => __('Sarthe', 'wp-ultimo'),
|
||||
'73' => __('Savoie', 'wp-ultimo'),
|
||||
'74' => __('Haute-Savoie', 'wp-ultimo'),
|
||||
'76' => __('Seine-Maritime', 'wp-ultimo'),
|
||||
'77' => __('Seine-et-Marne', 'wp-ultimo'),
|
||||
'78' => __('Yvelines', 'wp-ultimo'),
|
||||
'79' => __('Deux-Sèvres', 'wp-ultimo'),
|
||||
'80' => __('Somme', 'wp-ultimo'),
|
||||
'81' => __('Tarn', 'wp-ultimo'),
|
||||
'82' => __('Tarn-et-Garonne', 'wp-ultimo'),
|
||||
'83' => __('Var', 'wp-ultimo'),
|
||||
'84' => __('Vaucluse', 'wp-ultimo'),
|
||||
'85' => __('Vendée', 'wp-ultimo'),
|
||||
'86' => __('Vienne', 'wp-ultimo'),
|
||||
'87' => __('Haute-Vienne', 'wp-ultimo'),
|
||||
'88' => __('Vosges', 'wp-ultimo'),
|
||||
'89' => __('Yonne', 'wp-ultimo'),
|
||||
'90' => __('Territoire de Belfort', 'wp-ultimo'),
|
||||
'91' => __('Essonne', 'wp-ultimo'),
|
||||
'92' => __('Hauts-de-Seine', 'wp-ultimo'),
|
||||
'93' => __('Seine-Saint-Denis', 'wp-ultimo'),
|
||||
'94' => __('Val-de-Marne', 'wp-ultimo'),
|
||||
'95' => __("Val-d'Oise", 'wp-ultimo'),
|
||||
'971' => __('Guadeloupe', 'wp-ultimo'),
|
||||
'972' => __('Martinique', 'wp-ultimo'),
|
||||
'973' => __('French Guiana', 'wp-ultimo'),
|
||||
'974' => __('La Réunion', 'wp-ultimo'),
|
||||
'976' => __('Mayotte', 'wp-ultimo'),
|
||||
'01' => __('Ain', 'wp-ultimo'),
|
||||
'02' => __('Aisne', 'wp-ultimo'),
|
||||
'03' => __('Allier', 'wp-ultimo'),
|
||||
'06' => __('Alpes-Maritimes', 'wp-ultimo'),
|
||||
'04' => __('Alpes-de-Haute-Provence', 'wp-ultimo'),
|
||||
'6AE' => __('Alsace', 'wp-ultimo'),
|
||||
'08' => __('Ardennes', 'wp-ultimo'),
|
||||
'07' => __('Ardèche', 'wp-ultimo'),
|
||||
'09' => __('Ariège', 'wp-ultimo'),
|
||||
'ARA' => __('Auvergne-Rhône-Alpes', 'wp-ultimo'),
|
||||
'BFC' => __('Bourgogne-Franche-Comté', 'wp-ultimo'),
|
||||
'BRE' => __('Bretagne', 'wp-ultimo'),
|
||||
'CVL' => __('Centre-Val de Loire', 'wp-ultimo'),
|
||||
'CP' => __('Clipperton', 'wp-ultimo'),
|
||||
'20R' => __('Corse', 'wp-ultimo'),
|
||||
'2A' => __('Corse-du-Sud', 'wp-ultimo'),
|
||||
'PF' => __('French Polynesia', 'wp-ultimo'),
|
||||
'TF' => __('French Southern and Antarctic Lands', 'wp-ultimo'),
|
||||
'GES' => __('Grand-Est', 'wp-ultimo'),
|
||||
'2B' => __('Haute-Corse', 'wp-ultimo'),
|
||||
'05' => __('Hautes-Alpes', 'wp-ultimo'),
|
||||
'HDF' => __('Hauts-de-France', 'wp-ultimo'),
|
||||
'69M' => __('Métropole de Lyon', 'wp-ultimo'),
|
||||
'NOR' => __('Normandie', 'wp-ultimo'),
|
||||
'NAQ' => __('Nouvelle-Aquitaine', 'wp-ultimo'),
|
||||
'OCC' => __('Occitanie', 'wp-ultimo'),
|
||||
'75C' => __('Paris', 'wp-ultimo'),
|
||||
'PDL' => __('Pays-de-la-Loire', 'wp-ultimo'),
|
||||
'PAC' => __('Provence-Alpes-Côte-d’Azur', 'wp-ultimo'),
|
||||
'PM' => __('Saint Pierre and Miquelon', 'wp-ultimo'),
|
||||
'BL' => __('Saint-Barthélemy', 'wp-ultimo'),
|
||||
'MF' => __('Saint-Martin', 'wp-ultimo'),
|
||||
'WF' => __('Wallis and Futuna', 'wp-ultimo'),
|
||||
'IDF' => __('Île-de-France', 'wp-ultimo'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user