Spaces fixed

This commit is contained in:
David Wampamba 2019-04-09 13:59:49 +03:00
parent 5de3d4d18b
commit bc6cbfcadc
2 changed files with 146 additions and 144 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* Uganda States(Districts) * Uganda Districts
* *
* Based on English names published at https://en.wikipedia.org/wiki/ISO_3166-2:UG * Based on English names published at https://en.wikipedia.org/wiki/ISO_3166-2:UG
* *
@ -11,133 +11,135 @@
global $states; global $states;
defined( 'ABSPATH' ) || exit;
$states['UG'] = array( $states['UG'] = array(
'UG314' => __('Abim','woocommerce'), 'UG314' => __( 'Abim', 'woocommerce' ),
'UG301' => __('Adjumani','woocommerce'), 'UG301' => __( 'Adjumani', 'woocommerce' ),
'UG322' => __('Agago','woocommerce'), 'UG322' => __( 'Agago', 'woocommerce' ),
'UG323' => __('Alebtong','woocommerce'), 'UG323' => __( 'Alebtong', 'woocommerce' ),
'UG315' => __('Amolatar','woocommerce'), 'UG315' => __( 'Amolatar', 'woocommerce' ),
'UG324' => __('Amudat','woocommerce'), 'UG324' => __( 'Amudat', 'woocommerce' ),
'UG216' => __('Amuria','woocommerce'), 'UG216' => __( 'Amuria', 'woocommerce' ),
'UG316' => __('Amuru','woocommerce'), 'UG316' => __( 'Amuru', 'woocommerce' ),
'UG302' => __('Apac','woocommerce'), 'UG302' => __( 'Apac', 'woocommerce' ),
'UG303' => __('Arua','woocommerce'), 'UG303' => __( 'Arua', 'woocommerce' ),
'UG217' => __('Budaka','woocommerce'), 'UG217' => __( 'Budaka', 'woocommerce' ),
'UG218' => __('Bududa','woocommerce'), 'UG218' => __( 'Bududa', 'woocommerce' ),
'UG201' => __('Bugiri','woocommerce'), 'UG201' => __( 'Bugiri', 'woocommerce' ),
'UG235' => __('Bugweri','woocommerce'), 'UG235' => __( 'Bugweri', 'woocommerce' ),
'UG420' => __('Buhweju','woocommerce'), 'UG420' => __( 'Buhweju', 'woocommerce' ),
'UG117' => __('Buikwe','woocommerce'), 'UG117' => __( 'Buikwe', 'woocommerce' ),
'UG219' => __('Bukedea','woocommerce'), 'UG219' => __( 'Bukedea', 'woocommerce' ),
'UG118' => __('Bukomansimbi','woocommerce'), 'UG118' => __( 'Bukomansimbi', 'woocommerce' ),
'UG220' => __('Bukwa','woocommerce'), 'UG220' => __( 'Bukwa', 'woocommerce' ),
'UG225' => __('Bulambuli','woocommerce'), 'UG225' => __( 'Bulambuli', 'woocommerce' ),
'UG416' => __('Buliisa','woocommerce'), 'UG416' => __( 'Buliisa', 'woocommerce' ),
'UG401' => __('Bundibugyo','woocommerce'), 'UG401' => __( 'Bundibugyo', 'woocommerce' ),
'UG430' => __('Bunyangabu','woocommerce'), 'UG430' => __( 'Bunyangabu', 'woocommerce' ),
'UG402' => __('Bushenyi','woocommerce'), 'UG402' => __( 'Bushenyi', 'woocommerce' ),
'UG202' => __('Busia','woocommerce'), 'UG202' => __( 'Busia', 'woocommerce' ),
'UG221' => __('Butaleja','woocommerce'), 'UG221' => __( 'Butaleja', 'woocommerce' ),
'UG119' => __('Butambala','woocommerce'), 'UG119' => __( 'Butambala', 'woocommerce' ),
'UG233' => __('Butebo','woocommerce'), 'UG233' => __( 'Butebo', 'woocommerce' ),
'UG120' => __('Buvuma','woocommerce'), 'UG120' => __( 'Buvuma', 'woocommerce' ),
'UG226' => __('Buyende','woocommerce'), 'UG226' => __( 'Buyende', 'woocommerce' ),
'UG317' => __('Dokolo','woocommerce'), 'UG317' => __( 'Dokolo', 'woocommerce' ),
'UG121' => __('Gomba','woocommerce'), 'UG121' => __( 'Gomba', 'woocommerce' ),
'UG304' => __('Gulu','woocommerce'), 'UG304' => __( 'Gulu', 'woocommerce' ),
'UG403' => __('Hoima','woocommerce'), 'UG403' => __( 'Hoima', 'woocommerce' ),
'UG417' => __('Ibanda','woocommerce'), 'UG417' => __( 'Ibanda', 'woocommerce' ),
'UG203' => __('Iganga','woocommerce'), 'UG203' => __( 'Iganga', 'woocommerce' ),
'UG418' => __('Isingiro','woocommerce'), 'UG418' => __( 'Isingiro', 'woocommerce' ),
'UG204' => __('Jinja','woocommerce'), 'UG204' => __( 'Jinja', 'woocommerce' ),
'UG318' => __('Kaabong','woocommerce'), 'UG318' => __( 'Kaabong', 'woocommerce' ),
'UG404' => __('Kabale','woocommerce'), 'UG404' => __( 'Kabale', 'woocommerce' ),
'UG405' => __('Kabarole','woocommerce'), 'UG405' => __( 'Kabarole', 'woocommerce' ),
'UG213' => __('Kaberamaido','woocommerce'), 'UG213' => __( 'Kaberamaido', 'woocommerce' ),
'UG427' => __('Kagadi','woocommerce'), 'UG427' => __( 'Kagadi', 'woocommerce' ),
'UG428' => __('Kakumiro','woocommerce'), 'UG428' => __( 'Kakumiro', 'woocommerce' ),
'UG101' => __('Kalangala','woocommerce'), 'UG101' => __( 'Kalangala', 'woocommerce' ),
'UG222' => __('Kaliro','woocommerce'), 'UG222' => __( 'Kaliro', 'woocommerce' ),
'UG122' => __('Kalungu','woocommerce'), 'UG122' => __( 'Kalungu', 'woocommerce' ),
'UG102' => __('Kampala','woocommerce'), 'UG102' => __( 'Kampala', 'woocommerce' ),
'UG205' => __('Kamuli','woocommerce'), 'UG205' => __( 'Kamuli', 'woocommerce' ),
'UG413' => __('Kamwenge','woocommerce'), 'UG413' => __( 'Kamwenge', 'woocommerce' ),
'UG414' => __('Kanungu','woocommerce'), 'UG414' => __( 'Kanungu', 'woocommerce' ),
'UG206' => __('Kapchorwa','woocommerce'), 'UG206' => __( 'Kapchorwa', 'woocommerce' ),
'UG236' => __('Kapelebyong','woocommerce'), 'UG236' => __( 'Kapelebyong', 'woocommerce' ),
'UG126' => __('Kasanda','woocommerce'), 'UG126' => __( 'Kasanda', 'woocommerce' ),
'UG406' => __('Kasese','woocommerce'), 'UG406' => __( 'Kasese', 'woocommerce' ),
'UG207' => __('Katakwi','woocommerce'), 'UG207' => __( 'Katakwi', 'woocommerce' ),
'UG112' => __('Kayunga','woocommerce'), 'UG112' => __( 'Kayunga', 'woocommerce' ),
'UG407' => __('Kibaale','woocommerce'), 'UG407' => __( 'Kibaale', 'woocommerce' ),
'UG103' => __('Kiboga','woocommerce'), 'UG103' => __( 'Kiboga', 'woocommerce' ),
'UG227' => __('Kibuku','woocommerce'), 'UG227' => __( 'Kibuku', 'woocommerce' ),
'UG432' => __('Kikuube','woocommerce'), 'UG432' => __( 'Kikuube', 'woocommerce' ),
'UG419' => __('Kiruhura','woocommerce'), 'UG419' => __( 'Kiruhura', 'woocommerce' ),
'UG421' => __('Kiryandongo','woocommerce'), 'UG421' => __( 'Kiryandongo', 'woocommerce' ),
'UG408' => __('Kisoro','woocommerce'), 'UG408' => __( 'Kisoro', 'woocommerce' ),
'UG305' => __('Kitgum','woocommerce'), 'UG305' => __( 'Kitgum', 'woocommerce' ),
'UG319' => __('Koboko','woocommerce'), 'UG319' => __( 'Koboko', 'woocommerce' ),
'UG325' => __('Kole','woocommerce'), 'UG325' => __( 'Kole', 'woocommerce' ),
'UG306' => __('Kotido','woocommerce'), 'UG306' => __( 'Kotido', 'woocommerce' ),
'UG208' => __('Kumi','woocommerce'), 'UG208' => __( 'Kumi', 'woocommerce' ),
'UG333' => __('Kwania','woocommerce'), 'UG333' => __( 'Kwania', 'woocommerce' ),
'UG228' => __('Kween','woocommerce'), 'UG228' => __( 'Kween', 'woocommerce' ),
'UG123' => __('Kyankwanzi','woocommerce'), 'UG123' => __( 'Kyankwanzi', 'woocommerce' ),
'UG422' => __('Kyegegwa','woocommerce'), 'UG422' => __( 'Kyegegwa', 'woocommerce' ),
'UG415' => __('Kyenjojo','woocommerce'), 'UG415' => __( 'Kyenjojo', 'woocommerce' ),
'UG125' => __('Kyotera','woocommerce'), 'UG125' => __( 'Kyotera', 'woocommerce' ),
'UG326' => __('Lamwo','woocommerce'), 'UG326' => __( 'Lamwo', 'woocommerce' ),
'UG307' => __('Lira','woocommerce'), 'UG307' => __( 'Lira', 'woocommerce' ),
'UG229' => __('Luuka','woocommerce'), 'UG229' => __( 'Luuka', 'woocommerce' ),
'UG104' => __('Luwero','woocommerce'), 'UG104' => __( 'Luwero', 'woocommerce' ),
'UG124' => __('Lwengo','woocommerce'), 'UG124' => __( 'Lwengo', 'woocommerce' ),
'UG114' => __('Lyantonde','woocommerce'), 'UG114' => __( 'Lyantonde', 'woocommerce' ),
'UG223' => __('Manafwa','woocommerce'), 'UG223' => __( 'Manafwa', 'woocommerce' ),
'UG320' => __('Maracha','woocommerce'), 'UG320' => __( 'Maracha', 'woocommerce' ),
'UG105' => __('Masaka','woocommerce'), 'UG105' => __( 'Masaka', 'woocommerce' ),
'UG409' => __('Masindi','woocommerce'), 'UG409' => __( 'Masindi', 'woocommerce' ),
'UG214' => __('Mayuge','woocommerce'), 'UG214' => __( 'Mayuge', 'woocommerce' ),
'UG209' => __('Mbale','woocommerce'), 'UG209' => __( 'Mbale', 'woocommerce' ),
'UG410' => __('Mbarara','woocommerce'), 'UG410' => __( 'Mbarara', 'woocommerce' ),
'UG423' => __('Mitooma','woocommerce'), 'UG423' => __( 'Mitooma', 'woocommerce' ),
'UG115' => __('Mityana','woocommerce'), 'UG115' => __( 'Mityana', 'woocommerce' ),
'UG308' => __('Moroto','woocommerce'), 'UG308' => __( 'Moroto', 'woocommerce' ),
'UG309' => __('Moyo','woocommerce'), 'UG309' => __( 'Moyo', 'woocommerce' ),
'UG106' => __('Mpigi','woocommerce'), 'UG106' => __( 'Mpigi', 'woocommerce' ),
'UG107' => __('Mubende','woocommerce'), 'UG107' => __( 'Mubende', 'woocommerce' ),
'UG108' => __('Mukono','woocommerce'), 'UG108' => __( 'Mukono', 'woocommerce' ),
'UG334' => __('Nabilatuk','woocommerce'), 'UG334' => __( 'Nabilatuk', 'woocommerce' ),
'UG311' => __('Nakapiripirit','woocommerce'), 'UG311' => __( 'Nakapiripirit', 'woocommerce' ),
'UG116' => __('Nakaseke','woocommerce'), 'UG116' => __( 'Nakaseke', 'woocommerce' ),
'UG109' => __('Nakasongola','woocommerce'), 'UG109' => __( 'Nakasongola', 'woocommerce' ),
'UG230' => __('Namayingo','woocommerce'), 'UG230' => __( 'Namayingo', 'woocommerce' ),
'UG234' => __('Namisindwa','woocommerce'), 'UG234' => __( 'Namisindwa', 'woocommerce' ),
'UG224' => __('Namutumba','woocommerce'), 'UG224' => __( 'Namutumba', 'woocommerce' ),
'UG327' => __('Napak','woocommerce'), 'UG327' => __( 'Napak', 'woocommerce' ),
'UG310' => __('Nebbi','woocommerce'), 'UG310' => __( 'Nebbi', 'woocommerce' ),
'UG231' => __('Ngora','woocommerce'), 'UG231' => __( 'Ngora', 'woocommerce' ),
'UG424' => __('Ntoroko','woocommerce'), 'UG424' => __( 'Ntoroko', 'woocommerce' ),
'UG411' => __('Ntungamo','woocommerce'), 'UG411' => __( 'Ntungamo', 'woocommerce' ),
'UG328' => __('Nwoya','woocommerce'), 'UG328' => __( 'Nwoya', 'woocommerce' ),
'UG331' => __('Omoro','woocommerce'), 'UG331' => __( 'Omoro', 'woocommerce' ),
'UG329' => __('Otuke','woocommerce'), 'UG329' => __( 'Otuke', 'woocommerce' ),
'UG321' => __('Oyam','woocommerce'), 'UG321' => __( 'Oyam', 'woocommerce' ),
'UG312' => __('Pader','woocommerce'), 'UG312' => __( 'Pader', 'woocommerce' ),
'UG332' => __('Pakwach','woocommerce'), 'UG332' => __( 'Pakwach', 'woocommerce' ),
'UG210' => __('Pallisa','woocommerce'), 'UG210' => __( 'Pallisa', 'woocommerce' ),
'UG110' => __('Rakai','woocommerce'), 'UG110' => __( 'Rakai', 'woocommerce' ),
'UG429' => __('Rubanda','woocommerce'), 'UG429' => __( 'Rubanda', 'woocommerce' ),
'UG425' => __('Rubirizi','woocommerce'), 'UG425' => __( 'Rubirizi', 'woocommerce' ),
'UG431' => __('Rukiga','woocommerce'), 'UG431' => __( 'Rukiga', 'woocommerce' ),
'UG412' => __('Rukungiri','woocommerce'), 'UG412' => __( 'Rukungiri', 'woocommerce' ),
'UG111' => __('Sembabule','woocommerce'), 'UG111' => __( 'Sembabule', 'woocommerce' ),
'UG232' => __('Serere','woocommerce'), 'UG232' => __( 'Serere', 'woocommerce' ),
'UG426' => __('Sheema','woocommerce'), 'UG426' => __( 'Sheema', 'woocommerce' ),
'UG215' => __('Sironko','woocommerce'), 'UG215' => __( 'Sironko', 'woocommerce' ),
'UG211' => __('Soroti','woocommerce'), 'UG211' => __( 'Soroti', 'woocommerce' ),
'UG212' => __('Tororo','woocommerce'), 'UG212' => __( 'Tororo', 'woocommerce' ),
'UG113' => __('Wakiso','woocommerce'), 'UG113' => __( 'Wakiso', 'woocommerce' ),
'UG313' => __('Yumbe','woocommerce'), 'UG313' => __( 'Yumbe', 'woocommerce' ),
'UG330' => __('Zombo','woocommerce'), 'UG330' => __( 'Zombo', 'woocommerce' ),
); );

View File

@ -505,7 +505,7 @@ class WC_Countries {
'ES' => "{name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city}\n{state}\n{country}", 'ES' => "{name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city}\n{state}\n{country}",
'SE' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}", 'SE' => "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}",
'TR' => "{name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city} {state}\n{country}", 'TR' => "{name}\n{company}\n{address_1}\n{address_2}\n{postcode} {city} {state}\n{country}",
'UG' => "{name}\n{company}\n{address_1}\n{address_2}\n{city}, {state} \n{country}", 'UG' => "{name}\n{company}\n{address_1}\n{address_2}\n{city}\n{state}, {country}",
'US' => "{name}\n{company}\n{address_1}\n{address_2}\n{city}, {state_code} {postcode}\n{country}", 'US' => "{name}\n{company}\n{address_1}\n{address_2}\n{city}, {state_code} {postcode}\n{country}",
'VN' => "{name}\n{company}\n{address_1}\n{city}\n{country}", 'VN' => "{name}\n{company}\n{address_1}\n{city}\n{country}",
) )