Skip to content

Commit f6c8ca3

Browse files
feat(locale): add state and state_abbr to cz (#1847)
1 parent 085562f commit f6c8ca3

3 files changed

Lines changed: 23 additions & 4 deletions

File tree

src/locales/cz/location/state.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
export default [];
1+
export default [
2+
'Jihočeský kraj',
3+
'Jihomoravský kraj',
4+
'Karlovarský kraj',
5+
'Kraj Vysočina',
6+
'Královéhradecký kraj',
7+
'Liberecký kraj',
8+
'Moravskoslezský kraj',
9+
'Olomoucký kraj',
10+
'Pardubický kraj',
11+
'Plzeňský kraj',
12+
'Praha',
13+
'Středočeský kraj',
14+
'Ústecký kraj',
15+
'Zlínský kraj',
16+
];
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
export default [];
1+
import states from './state';
2+
3+
// at the time of adding this I was not able to find
4+
// any information on the existance of state abbreviations
5+
export default states;

test/all_functional.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ const BROKEN_LOCALE_METHODS = {
2828
companySuffix: ['az'],
2929
},
3030
location: {
31-
state: ['az', 'cz', 'nb_NO', 'sk'],
32-
stateAbbr: ['cz', 'sk'],
31+
state: ['az', 'nb_NO', 'sk'],
32+
stateAbbr: ['sk'],
3333
},
3434
random: {
3535
locale: '*', // locale() has been pseudo removed

0 commit comments

Comments
 (0)