Remove city database to reduce package size
This commit is contained in:
@ -99,7 +99,7 @@ class Country_IN extends Country {
|
||||
*/
|
||||
public function get_name() {
|
||||
|
||||
return __('India', 'wp-ultimo-locations');
|
||||
return __('India', 'wp-ultimo');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -111,42 +111,42 @@ class Country_IN extends Country {
|
||||
protected function states() {
|
||||
|
||||
return array(
|
||||
'AN' => __('Andaman and Nicobar Islands', 'wp-ultimo-locations'),
|
||||
'AP' => __('Andhra Pradesh', 'wp-ultimo-locations'),
|
||||
'AR' => __('Arunachal Pradesh', 'wp-ultimo-locations'),
|
||||
'AS' => __('Assam', 'wp-ultimo-locations'),
|
||||
'BR' => __('Bihar', 'wp-ultimo-locations'),
|
||||
'CH' => __('Chandigarh', 'wp-ultimo-locations'),
|
||||
'CT' => __('Chhattisgarh', 'wp-ultimo-locations'),
|
||||
'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'wp-ultimo-locations'),
|
||||
'DL' => __('Delhi', 'wp-ultimo-locations'),
|
||||
'GA' => __('Goa', 'wp-ultimo-locations'),
|
||||
'GJ' => __('Gujarat', 'wp-ultimo-locations'),
|
||||
'HR' => __('Haryana', 'wp-ultimo-locations'),
|
||||
'HP' => __('Himachal Pradesh', 'wp-ultimo-locations'),
|
||||
'JK' => __('Jammu and Kashmir', 'wp-ultimo-locations'),
|
||||
'JH' => __('Jharkhand', 'wp-ultimo-locations'),
|
||||
'KA' => __('Karnataka', 'wp-ultimo-locations'),
|
||||
'KL' => __('Kerala', 'wp-ultimo-locations'),
|
||||
'LA' => __('Ladakh', 'wp-ultimo-locations'),
|
||||
'LD' => __('Lakshadweep', 'wp-ultimo-locations'),
|
||||
'MP' => __('Madhya Pradesh', 'wp-ultimo-locations'),
|
||||
'MH' => __('Maharashtra', 'wp-ultimo-locations'),
|
||||
'MN' => __('Manipur', 'wp-ultimo-locations'),
|
||||
'ML' => __('Meghalaya', 'wp-ultimo-locations'),
|
||||
'MZ' => __('Mizoram', 'wp-ultimo-locations'),
|
||||
'NL' => __('Nagaland', 'wp-ultimo-locations'),
|
||||
'OR' => __('Odisha', 'wp-ultimo-locations'),
|
||||
'PY' => __('Puducherry', 'wp-ultimo-locations'),
|
||||
'PB' => __('Punjab', 'wp-ultimo-locations'),
|
||||
'RJ' => __('Rajasthan', 'wp-ultimo-locations'),
|
||||
'SK' => __('Sikkim', 'wp-ultimo-locations'),
|
||||
'TN' => __('Tamil Nadu', 'wp-ultimo-locations'),
|
||||
'TG' => __('Telangana', 'wp-ultimo-locations'),
|
||||
'TR' => __('Tripura', 'wp-ultimo-locations'),
|
||||
'UP' => __('Uttar Pradesh', 'wp-ultimo-locations'),
|
||||
'UT' => __('Uttarakhand', 'wp-ultimo-locations'),
|
||||
'WB' => __('West Bengal', 'wp-ultimo-locations'),
|
||||
'AN' => __('Andaman and Nicobar Islands', 'wp-ultimo'),
|
||||
'AP' => __('Andhra Pradesh', 'wp-ultimo'),
|
||||
'AR' => __('Arunachal Pradesh', 'wp-ultimo'),
|
||||
'AS' => __('Assam', 'wp-ultimo'),
|
||||
'BR' => __('Bihar', 'wp-ultimo'),
|
||||
'CH' => __('Chandigarh', 'wp-ultimo'),
|
||||
'CT' => __('Chhattisgarh', 'wp-ultimo'),
|
||||
'DH' => __('Dadra and Nagar Haveli and Daman and Diu', 'wp-ultimo'),
|
||||
'DL' => __('Delhi', 'wp-ultimo'),
|
||||
'GA' => __('Goa', 'wp-ultimo'),
|
||||
'GJ' => __('Gujarat', 'wp-ultimo'),
|
||||
'HR' => __('Haryana', 'wp-ultimo'),
|
||||
'HP' => __('Himachal Pradesh', 'wp-ultimo'),
|
||||
'JK' => __('Jammu and Kashmir', 'wp-ultimo'),
|
||||
'JH' => __('Jharkhand', 'wp-ultimo'),
|
||||
'KA' => __('Karnataka', 'wp-ultimo'),
|
||||
'KL' => __('Kerala', 'wp-ultimo'),
|
||||
'LA' => __('Ladakh', 'wp-ultimo'),
|
||||
'LD' => __('Lakshadweep', 'wp-ultimo'),
|
||||
'MP' => __('Madhya Pradesh', 'wp-ultimo'),
|
||||
'MH' => __('Maharashtra', 'wp-ultimo'),
|
||||
'MN' => __('Manipur', 'wp-ultimo'),
|
||||
'ML' => __('Meghalaya', 'wp-ultimo'),
|
||||
'MZ' => __('Mizoram', 'wp-ultimo'),
|
||||
'NL' => __('Nagaland', 'wp-ultimo'),
|
||||
'OR' => __('Odisha', 'wp-ultimo'),
|
||||
'PY' => __('Puducherry', 'wp-ultimo'),
|
||||
'PB' => __('Punjab', 'wp-ultimo'),
|
||||
'RJ' => __('Rajasthan', 'wp-ultimo'),
|
||||
'SK' => __('Sikkim', 'wp-ultimo'),
|
||||
'TN' => __('Tamil Nadu', 'wp-ultimo'),
|
||||
'TG' => __('Telangana', 'wp-ultimo'),
|
||||
'TR' => __('Tripura', 'wp-ultimo'),
|
||||
'UP' => __('Uttar Pradesh', 'wp-ultimo'),
|
||||
'UT' => __('Uttarakhand', 'wp-ultimo'),
|
||||
'WB' => __('West Bengal', 'wp-ultimo'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user