Commit Graph

137 Commits

Author SHA1 Message Date
Peter Fabian a3d6dc1775 Changed county codes for Ireland according to ISO 2018-04-09 23:15:09 +02:00
Claudio Sanches b2392aadb9 Use short ABSPATH check in i18n 2018-03-05 17:10:12 -03:00
Claudio Sanches 4a9c4be1a2 Fixed i18n/states/TH.php version 2018-03-05 17:06:40 -03:00
Mike Jolley 48100059e4 Merge branch 'master' into fix/19212 2018-03-05 20:03:08 +00:00
Claudio Sanches d43cd90cb3 Fixed PHPCS violations on i18n directory 2018-03-05 16:44:56 -03:00
Mike Jolley 4aedfb7809 Remove translations from Thailand states file 2018-03-02 16:15:05 +00:00
Shohei Tanaka e05a3723d2
Correction of English spelling of prefectures
Correction of English spelling of prefectures and addition of explanatory text.

Reference site
https://en.wikipedia.org/wiki/Prefectures_of_Japan
http://www.post.japanpost.jp/int/use/writing/ems.html
* please check [tokyo] spell at image for EMS.

I will edit the prefectures on translate file at translate.wordpress.org.
2018-01-22 06:23:30 +09:00
Mike Jolley 0006d575a6
Merge pull request #18486 from woocommerce/update-japanese-prefectures-coy
Spelling correction
2018-01-15 15:37:46 +00:00
John Coy 0b0ce465f2 Spelling correction
Japanese prefecture Hokkai-do required hyphen to speparate prefecture from prefecture type.
2018-01-15 09:17:59 -06:00
Rodrigo Primo 5116cd0bd3 Replace named HTML entity with decimal HTML entity
WP `esc_html()` function escapes the valid named HTML entity `ă` and this is causing problems for some state names (see issue #18355). This commit provides a workaround by replacing `ă` with its decimal HTML entity version `ă`.

The WP core ticket below added a whilelist of named HTML entity but there is no explanation why some named HTML entities, like `ă`, were not included in the list and thus are escaped:

https://core.trac.wordpress.org/ticket/12284

Fixes #18355
2018-01-05 12:08:14 -02:00
Rodrigo Primo 9818ed10f9 PHPCS fixes
Fixed one violation in each file but left the filename violation (filenames should be lowercase) to fix another time for all state files at once.
2018-01-05 12:06:55 -02:00
Alexander Minza 2307febfa1 Fixed Moldova states 2017-12-30 14:34:12 +02:00
Claudio Sanches 8bdc9a6a1d Fixed coding standards 2017-12-20 15:49:50 -02:00
Alexander Minza eea61cbe79 Added Moldova states 2017-12-19 23:44:58 +02:00
Alexander Minza fca5ef8dd8 Added Moldova states 2017-12-19 23:44:25 +02:00
John Coy a9baf47dc9 Spelling fix
Fixed Hokkaido Prefecture
2017-12-05 10:55:36 -06:00
Claudio Sanches 899bac0fbc
Merge pull request #17938 from zachd/update-irish-counties
Ensure Irish counties are listed alphabetically
2017-11-29 09:53:19 -02:00
John Coy 249aec1d47 Prefecture fix
Applied correct prefecture type for Tokyo and Hokkaido
2017-11-28 17:01:58 -06:00
John Coy a5d50968dc Updates Japanese Prefectures
Japanese prefectures now include type of prefecture to follow proper methods of listing. FIxes #17941
2017-11-28 16:35:59 -06:00
Zachary f09b7fc97e Ensure Irish counties are listed alphabetically 2017-11-28 18:58:50 +00:00
Mohsin Sumar 66888355fd Update TZ.php
Indentation fixed.
2017-10-06 13:13:56 +03:00
Mohsin Sumar a31fb456f1 Update TZ.php 2017-10-06 00:21:11 +03:00
Mohsin Sumar 5c6770b35b States for Tanzania 2017-10-05 16:08:01 +03:00
Mike Jolley 988b25b7ef angola states (#16092)
* Added cantons of Angola

* fix cantons of Angola

fix cantons of Angola. Angola (ISO Country code)

Subdivision names are listed as in the ISO 3166-2 standard published by
the ISO 3166 Maintenance Agency (ISO 3166/MA).

source: https://en.wikipedia.org/wiki/ISO_3166-2:AO

* fix indentation

* fix indentation

* fix indentation update

* fix indenting again
2017-07-12 15:22:48 +01:00
Marco Zink dce55fcc86 Update MX.php
Fix extra space
2017-07-10 17:41:06 -05:00
Marco Zink d066a05410 Update MX.php
Accented characters are now using the correct HTML code `acute`, users were experiencing problems in order acceptance when using a state with a special character.
2017-07-10 15:45:17 -05:00
Claudio Sanches 87de43b00f Added cantons of Switzerland 2017-07-05 19:41:56 -03:00
dabodude 32b78a3c62 Update MX.php Changing to 2 Letter Code
Sorry, it seems the 3 letter code causes conflicts with some shipping services such as Fedex. Moving to 2 letter code.
2017-06-28 12:20:08 -05:00
dabodude 00fba29c6e Update MX.PHP
Renamed Distrito Federal to Ciudad de Mexico which is the new official name of the "Capital State"
Changed States to a 3 letter ISO 3166:2 Code https://es.wikipedia.org/wiki/ISO_3166-2:MX
2017-06-28 01:04:34 -05:00
claudiulodro 506c01f56a Fix codesniffer violations 2017-06-27 14:19:59 -07:00
claudiulodro e9e8c3c011 formatting 2017-06-01 09:05:17 -07:00
claudiulodro 677802db71 formatting 2017-06-01 09:04:23 -07:00
claudiulodro 981fb2ce87 Add Romanian states 2017-06-01 09:03:23 -07:00
Mike Jolley db012b3a12 Merge pull request #15011 from woocommerce/fix/14999
Add abspath checks
2017-05-23 15:57:35 +01:00
Umesh Ghimire b026e9839c Tweak - Nepali zone name update 2017-05-22 14:14:07 +05:45
Mike Jolley bc4d36fd3f Add abspath checks
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley 891e55e1cf Merge pull request #14721 from woocommerce/fix/14670
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley 38279a72f3 version 2017-04-27 11:26:44 +01:00
Mike Jolley 801f5e1eb1 Avoid escaped quote chars in strings
Closes #14670
2017-04-26 13:51:53 +01:00
Roman Random 412cebc813 Added Bolivian states 2017-04-18 14:31:05 +02:00
Claudio Sanches 59c2849736 Changed version 2.7 to 3.0 2017-03-15 13:36:53 -03:00
Mike Jolley c0d6d3d051 Sort 2017-02-28 09:42:42 +00:00
Anwer AR bd2db65d50 Updated author and version 2017-02-28 00:31:28 +05:00
Anwer Abdul Rehman 51d2f80cb2 List of States in Pakistan
Added PK.php in states for Pakistani states. all province codes are accoring to ISO 3166 Standard
2017-02-26 23:50:51 +05:00
Sidsector9 a8e6b265d4 Update IN.php
Spelling corrected from "Dadar and Nagar Haveli" to "Dadra and Nagar Haveli" on line 44.
2016-12-09 01:55:24 +05:30
Zachary 09f53ce778 Add counties for Republic of Ireland, change Postcode label to Eircode (#12180) 2016-11-03 11:48:14 +00:00
flyonthenet 050f7f8497 Changed 'L'Aquila' to 'L\'Aquila'
In orders admin view, city name is converted to uppercase L'AQUILA - not legal HTML entity
2016-09-17 12:08:04 +02:00
Aristeides Stathopoulos 0516e96843 PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket 2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Claudio Sanches 0657c39d2d Fixed coding standards and file version for i18n/states/NG.php 2016-07-20 17:07:21 -03:00