Skip to content

Commit

Permalink
Merge branch 'next' into chore/more-states-pt
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Jul 28, 2023
2 parents 151def4 + 1b3e5eb commit 4eaa970
Show file tree
Hide file tree
Showing 19 changed files with 343 additions and 195 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@
},
"devDependencies": {
"@actions/github": "~5.1.1",
"@algolia/client-search": "~4.18.0",
"@algolia/client-search": "~4.19.1",
"@types/markdown-it": "~12.2.3",
"@types/node": "~20.4.1",
"@types/prettier": "~2.7.3",
"@types/react": "~18.2.15",
"@types/sanitize-html": "~2.9.0",
"@types/semver": "~7.5.0",
"@types/validator": "~13.7.17",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"@typescript-eslint/eslint-plugin": "~6.1.0",
"@typescript-eslint/parser": "~6.1.0",
"@vitest/coverage-v8": "~0.33.0",
"@vitest/ui": "~0.33.0",
"@vueuse/core": "~10.2.1",
Expand Down Expand Up @@ -128,7 +128,7 @@
"typescript": "~4.9.5",
"validator": "~13.9.0",
"vite": "~4.4.2",
"vitepress": "1.0.0-beta.5",
"vitepress": "1.0.0-beta.6",
"vitest": "~0.33.0",
"vue": "~3.3.4"
},
Expand Down
250 changes: 135 additions & 115 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/locales/cs_CZ/location/postcode.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['#####', '### ##', '###-##'];
export default ['#####', '### ##'];
2 changes: 1 addition & 1 deletion src/locales/en_AU/location/city_pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export default [
'{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.firstName}}',
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
];
2 changes: 1 addition & 1 deletion src/locales/en_CA/location/city_pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export default [
'{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.firstName}}',
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
'{{location.city_name}}',
];
8 changes: 4 additions & 4 deletions src/locales/en_GB/location/city_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default [
'{{location.city_prefix}} {{person.lastName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.lastName}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_infix}}{{person.lastName}}',
'{{location.city_prefix}} {{person.last_name}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.last_name}}',
'{{person.last_name}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_infix}}{{person.last_name}}',
];
2 changes: 1 addition & 1 deletion src/locales/en_IE/location/city_pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export default [
'{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.firstName}}',
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
];
2 changes: 1 addition & 1 deletion src/locales/en_US/location/city_pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export default [
'{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.firstName}}',
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
];
2 changes: 1 addition & 1 deletion src/locales/fr_CA/location/city_pattern.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ export default [
'{{location.city_prefix}} {{person.firstName}}{{location.city_suffix}}',
'{{location.city_prefix}} {{person.firstName}}',
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
];
9 changes: 2 additions & 7 deletions src/locales/mk/location/city_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@ export default [
'Вевчани',
'Велес',
'Виница',
'Вранештица',
'Врапчиште',
'Гази Баба',
'Гевгелија',
'Гостивар',
'Градско',
'Дебар',
'Дебарца',
'Дебрца',
'Делчево',
'Демир Капија',
'Демир Хисар',
'Дојран',
'Долнени',
'Другово',
'Ѓорче Петров',
'Желино',
'Зајас',
'Зелениково',
'Зрновци',
'Илинден',
Expand All @@ -55,7 +52,6 @@ export default [
'Неготино',
'Новаци',
'Ново Село',
'Осломеј',
'Охрид',
'Петровец',
'Пехчево',
Expand All @@ -68,10 +64,9 @@ export default [
'Росоман',
'Сарај',
'Свети Николе',
'Скопје',
'Сопиште',
'Струга',
'Старо Нагоричане',
'Струга',
'Струмица',
'Студеничани',
'Теарце',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/mk/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import country from './country';
import default_country from './default_country';
import postcode from './postcode';
import secondary_address from './secondary_address';
import state from './state';
import street_address from './street_address';
import street_name from './street_name';
import street_pattern from './street_pattern';
Expand All @@ -22,6 +23,7 @@ const location: LocationDefinition = {
default_country,
postcode,
secondary_address,
state,
street_address,
street_name,
street_pattern,
Expand Down
82 changes: 82 additions & 0 deletions src/locales/mk/location/state.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
export default [
'Аеродром',
'Арачиново',
'Берово',
'Битола',
'Богданци',
'Боговиње',
'Босилово',
'Брвеница',
'Бутел',
'Валандово',
'Василево',
'Вевчани',
'Велес',
'Виница',
'Врапчиште',
'Гази Баба',
'Гевгелија',
'Гостивар',
'Градско',
'Дебар',
'Дебрца',
'Делчево',
'Демир Капија',
'Демир Хисар',
'Дојран',
'Долнени',
'Ѓорче Петров',
'Желино',
'Зелениково',
'Зрновци',
'Илинден',
'Јегуновце',
'Кавадарци',
'Карбинци',
'Карпош',
'Кисела Вода',
'Кичево',
'Конче',
'Кочани',
'Кратово',
'Крива Паланка',
'Кривогаштани',
'Крушево',
'Куманово',
'Липково',
'Лозово',
'Маврово и Ростуше',
'Македонска Каменица',
'Македонски Брод',
'Могила',
'Неготино',
'Новаци',
'Ново Село',
'Охрид',
'Петровец',
'Пехчево',
'Пласница',
'Прилеп',
'Пробиштип',
'Радовиш',
'Ранковце',
'Ресен',
'Росоман',
'Сарај',
'Свети Николе',
'Сопиште',
'Старо Нагоричане',
'Струга',
'Струмица',
'Студеничани',
'Теарце',
'Тетово',
'Центар',
'Центар Жупа',
'Чаир',
'Чашка',
'Чешиново-Облешево',
'Чучер-Сандево',
'Штип',
'Шуто Оризари',
];
2 changes: 1 addition & 1 deletion src/locales/pt_BR/location/city_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default [
'{{person.firstName}}{{location.city_suffix}}',
'{{person.lastName}}{{location.city_suffix}}',
'{{person.last_name}}{{location.city_suffix}}',
];
77 changes: 22 additions & 55 deletions src/locales/vi/location/city_name.ts
Original file line number Diff line number Diff line change
@@ -1,65 +1,32 @@
export default [
'An Giang',
'Bà Rịa-Vũng Tàu',
'Bạc Liêu',
'Bắc Kạn',
'Bắc Giang',
'An Nhơn',
'Biên Hòa',
'Buôn Ma Thuột',
'Bắc Ninh',
'Bến Tre',
'Bình Dương',
'Bình Định',
'Bình Phước',
'Bình Thuận',
'Cà Mau',
'Cao Bằng',
'Cần Thơ',
'Đà Nẵng',
'Đắk Lắk',
'Đắk Nông',
'Điện Biên',
'Đồng Nai',
'Đồng Tháp',
'Gia Lai',
'Hà Giang',
'Hà Nam',
'Hà Nội',
'Hà Tĩnh',
'Haiphong',
'Hanoi',
'Ho Chi Minh City',
'Huế',
'Hải Dương',
'Hải Phòng',
'Hậu Giang',
'Hòa Bình',
'TP. Hồ Chí Minh',
'Hưng Yên',
'Khánh Hoà',
'Kiên Giang',
'Kon Tum',
'Lai Châu',
'Lạng Sơn',
'Lào Cai',
'Lâm Đồng',
'Long An',
'Long Xuyên',
'Mỹ Tho',
'Nam Định',
'Nghệ An',
'Ninh Bình',
'Ninh Thuận',
'Phú Thọ',
'Phú Yên',
'Quảng Bình',
'Quảng Nam',
'Quảng Ngãi',
'Quảng Ninh',
'Quảng Trị',
'Nghi Sơn',
'Nha Trang',
'Phan Thiết',
'Quy Nhơn',
'Quảng Hà',
'Sóc Trăng',
'Sơn La',
'Tây Ninh',
'Thanh Hóa',
'Thái Bình',
'Thái Nguyên',
'Thanh Hoá',
'Thừa Thiên-Huế',
'Tiền Giang',
'Trà Vinh',
'Tuyên Quang',
'Vĩnh Long',
'Vĩnh Phúc',
'Yên Bái',
'Thủ Dầu Một',
'Thủ Đức',
'Tân An',
'Tân Uyên',
'Vinh',
'Việt Trì',
'Vũng Tàu',
];
2 changes: 2 additions & 0 deletions src/locales/vi/location/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import city_pattern from './city_pattern';
import country from './country';
import default_country from './default_country';
import postcode from './postcode';
import state from './state';
import street_pattern from './street_pattern';

const location: LocationDefinition = {
Expand All @@ -16,6 +17,7 @@ const location: LocationDefinition = {
country,
default_country,
postcode,
state,
street_pattern,
};

Expand Down
66 changes: 66 additions & 0 deletions src/locales/vi/location/state.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
export default [
'An Giang',
'Bà Rịa-Vũng Tàu',
'Bắc Giang',
'Bắc Kạn',
'Bạc Liêu',
'Bắc Ninh',
'Bến Tre',
'Bình Định',
'Bình Dương',
'Bình Phước',
'Bình Thuận',
'Cà Mau',
'Cần Thơ',
'Cao Bằng',
'Đà Nẵng',
'Đắk Lắk',
'Đắk Nông',
'Điện Biên',
'Đồng Nai',
'Đồng Tháp',
'Gia Lai',
'Hà Giang',
'Hà Nam',
'Hà Tây',
'Hà Tĩnh',
'Hải Dương',
'Hải Phòng',
'Hà Nội',
'Hậu Giang',
'Hồ Chí Minh',
'Hòa Bình',
'Hưng Yên',
'Khánh Hòa',
'Kiên Giang',
'Kon Tum',
'Lai Châu',
'Lâm Đồng',
'Lạng Sơn',
'Lào Cai',
'Long An',
'Nam Định',
'Nghệ An',
'Ninh Bình',
'Ninh Thuận',
'Phú Thọ',
'Phú Yên',
'Quảng Bình',
'Quảng Nam',
'Quảng Ngãi',
'Quảng Ninh',
'Quảng Trị',
'Sóc Trăng',
'Sơn La',
'Tây Ninh',
'Thái Bình',
'Thái Nguyên',
'Thanh Hóa',
'Thừa Thiên-Huế',
'Tiền Giang',
'Trà Vinh',
'Tuyên Quang',
'Vĩnh Long',
'Vĩnh Phúc',
'Yên Bái',
];

0 comments on commit 4eaa970

Please sign in to comment.