Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Czech country shortcode fix #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Fixed

- Czech's country shortcode for Google Autocomplete fields

## [0.8.28] - 2022-11-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion checkout-ui-custom/checkout6-custom.js

Large diffs are not rendered by default.

10,276 changes: 10,259 additions & 17 deletions checkout-ui-custom/package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions checkout-ui-custom/src/_js/_countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -4656,59 +4656,59 @@ module.exports._cities = [
regions: [
{
name: 'Hlavní město Praha',
shortCode: 'PR',
shortCode: 'Hlavní město Praha',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these the values being returned from the geolocation?

},
{
name: 'Jihočeský kraj',
shortCode: 'JC',
shortCode: 'Jihočeský kraj',
},
{
name: 'Jihomoravský kraj',
shortCode: 'JM',
shortCode: 'Jihomoravský kraj',
},
{
name: 'Karlovarský kraj',
shortCode: 'KA',
shortCode: 'Karlovarský kraj',
},
{
name: 'Královéhradecký kraj',
shortCode: 'KR',
shortCode: 'Královéhradecký kraj',
},
{
name: 'Liberecký kraj',
shortCode: 'LI',
shortCode: 'Liberecký kraj',
},
{
name: 'Moravskoslezský kraj',
shortCode: 'MO',
shortCode: 'Moravskoslezský kraj',
},
{
name: 'Olomoucký kraj',
shortCode: 'OL',
shortCode: 'Olomoucký kraj',
},
{
name: 'Pardubický kraj',
shortCode: 'PA',
shortCode: 'Pardubický kraj',
},
{
name: 'Plzeňský kraj',
shortCode: 'PL',
shortCode: 'Plzeňský kraj',
},
{
name: 'Středočeský kraj',
shortCode: 'ST',
shortCode: 'Středočeský kraj',
},
{
name: 'Ústecký kraj',
shortCode: 'US',
shortCode: 'Ústecký kraj',
},
{
name: 'Vysočina',
shortCode: 'VY',
shortCode: 'Vysočina',
},
{
name: 'Zlínský kraj',
shortCode: 'ZL',
shortCode: 'Zlínský kraj',
},
],
},
Expand Down
Loading