Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
17 changes: 16 additions & 1 deletion src/locales/cz/location/state.ts
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
export default [];
export default [
'Jihočeský kraj',
'Jihomoravský kraj',
'Karlovarský kraj',
'Kraj Vysočina',
'Královéhradecký kraj',
'Liberecký kraj',
'Moravskoslezský kraj',
'Olomoucký kraj',
'Pardubický kraj',
'Plzeňský kraj',
'Praha',
'Středočeský kraj',
'Ústecký kraj',
'Zlínský kraj',
];
6 changes: 5 additions & 1 deletion src/locales/cz/location/state_abbr.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export default [];
import states from './state';

// at the time of adding this I was not able to find
// any information on the existance of state abbreviations
export default states;
4 changes: 2 additions & 2 deletions test/all_functional.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const BROKEN_LOCALE_METHODS = {
companySuffix: ['az'],
},
location: {
state: ['az', 'cz', 'nb_NO', 'sk'],
stateAbbr: ['cz', 'sk'],
state: ['az', 'nb_NO', 'sk'],
stateAbbr: ['sk'],
},
string: {
fromCharacters: '*',
Expand Down