Commit Graph

12 Commits

Author SHA1 Message Date
Rodrigo Primo 84f0b87ebc Remove duplicated entry for Cyprus
Cyprus was listed both in Europe and Asia in the list of continents. This meant that when users search for it, for example when creating a new shipping zone, it would be displayed twice.

This commit fixes this problem by removing Cyprus from Europe and leaving it in Asia. CLDR puts Cyprus in Western Asia (2dd06669d8/tools/java/org/unicode/cldr/util/data/UnMacroRegions.txt (L229)).

I checked and there are no other cases of countries added to more than one continent in i18n/continents.php.
2020-09-09 17:10:51 -03:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Gerhard Potgieter 2b0e631589 Remove non existing AN country from NA continent 2018-09-26 13:10:00 +02:00
Claudio Sanches b2392aadb9 Use short ABSPATH check in i18n 2018-03-05 17:10:12 -03:00
Claudio Sanches d43cd90cb3 Fixed PHPCS violations on i18n directory 2018-03-05 16:44:56 -03:00
Claudio Sanches f5a228509a Fixed coding standards 2016-11-17 18:07:58 -02:00
hussong 09ab05d24b Add Cyprus to Europe
Added missing country Cyprus (CY) to the Europe set. 

Arguably, you could also consider adding Greenland (GL), since it's one of the Overseas Countries and Territories (OCT) of the EU and you've already included Svalbard and Jan Mayen, which is equally far from Europe in a geographic sense.
2016-11-17 20:24:38 +01:00
Claudio Sanches 148228b505 Added missing Sint Maarten country and fixes the continents
Fixed missing Bonaire, Saint Eustatius and Saba (BQ) from the continents
list.
Fixed Curaçao, thats belongs to the North America continent.

Closes #11217
2016-06-29 18:26:06 -03:00
Mike Jolley 5f8ccafaa5 Add curacao to south america 2016-06-23 11:34:50 +01:00
Mike Jolley 76dd7447dc No SS
Closes #10745 or feed
2016-04-20 10:24:35 +01:00
Mike Jolley b9a02ba98c Some US states are countries
American Samoa, Guam, Mariana, Puerto Rico and islands are not really
states and have ISO country codes, so should be listed as such.

This may have implications on users using these state codes right now,
but as part of shipping zones this change makes sense. You wouldn’t
ship to Guam for the same cost as the US. @BFTrick
2015-12-08 12:39:17 +00:00
Mike Jolley 485a127778 get_continents 2015-12-08 11:15:02 +00:00