-
-
Notifications
You must be signed in to change notification settings - Fork 930
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into refactor/location/rename-city-definition-to-…
…city-patterns
- Loading branch information
Showing
42 changed files
with
639 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable jsdoc/check-tag-names */ | ||
/* eslint-disable jsdoc/require-param */ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
|
||
import { Faker } from '../faker'; | ||
import base from '../locales/base'; | ||
import en from '../locales/en'; | ||
import en_HK from '../locales/en_HK'; | ||
|
||
export const faker = new Faker({ | ||
locale: [en_HK, en, base], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { CompanyDefinitions } from '../../..'; | ||
import suffix from './suffix'; | ||
|
||
const company: CompanyDefinitions = { | ||
suffix, | ||
}; | ||
|
||
export default company; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['Ltd.', 'Co. Ltd.']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { LocaleDefinition } from '../..'; | ||
import company from './company'; | ||
import internet from './internet'; | ||
import location from './location'; | ||
import metadata from './metadata'; | ||
import person from './person'; | ||
import phone_number from './phone_number'; | ||
|
||
const en_HK: LocaleDefinition = { | ||
company, | ||
internet, | ||
location, | ||
metadata, | ||
person, | ||
phone_number, | ||
}; | ||
|
||
export default en_HK; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['com', 'hk', 'com.hk', 'org.hk']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { InternetDefinitions } from '../../..'; | ||
import domain_suffix from './domain_suffix'; | ||
|
||
const internet: InternetDefinitions = { | ||
domain_suffix, | ||
}; | ||
|
||
export default internet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['###', '##', '#']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
export default [ | ||
'Aberdeen', | ||
'Ap Lei Chau', | ||
'Causeway Bay', | ||
'Chai Wan', | ||
'Cheung Chau', | ||
'Cheung Fat', | ||
'Cheung Sha Wan', | ||
'Choi Hung Chuen', | ||
'Choi Ming', | ||
'Chuk Yuen', | ||
'Cyberport', | ||
'Discovery Bay', | ||
'Fairview Park', | ||
'Fanling', | ||
'Fo Tan', | ||
'Fu Shan', | ||
'Fu Shin', | ||
'Fu Tai', | ||
'Happy Valley', | ||
'Heng Fa Chuen', | ||
'Heng On', | ||
'Hin Keng', | ||
'Ho Man Tin', | ||
'Hung Hom Bay', | ||
'Kam Tai', | ||
'Kam Tin', | ||
'Kennedy Town', | ||
'Kowloon', | ||
'Kowloon Bay', | ||
'Kowloon Central', | ||
'Kowloon City', | ||
'Kowloon East', | ||
'Kwai Chung', | ||
'Kwai Fong', | ||
'Kwai Shing', | ||
'Kwong Yuen', | ||
'Kwun Tong', | ||
'Lai King', | ||
'Lai Kok', | ||
'Lam Tin', | ||
'Lamma', | ||
'Lee On', | ||
'Lei Muk Shue', | ||
'Lei Tung', | ||
'Leung King', | ||
'Lok Fu', | ||
'Ma On Shan', | ||
'Mei Foo Sun Chuen', | ||
'Mei Lam', | ||
'Mong Kok', | ||
'Mui Wo', | ||
'Ngau Chi Wan', | ||
'Ngau Tau Kok', | ||
'Oi Man', | ||
'Peak', | ||
'Peng Chau', | ||
'Po Lam', | ||
'Pok Fu Lam', | ||
'Repulse Bay', | ||
'Sai Kung', | ||
'Sai Ying Pun', | ||
'San Tin', | ||
'Sau Mau Ping', | ||
'Sha Kok', | ||
'Sha Tau Kok', | ||
'Sha Tin', | ||
'Sham Shui Po', | ||
'Shau Kei Wan', | ||
'Shek Kip Mei', | ||
'Shek Lei', | ||
'Shek Wai Kok', | ||
'Shek Wu Hui', | ||
'Sheung Tak', | ||
'Sheung Wan', | ||
'Shun Lee', | ||
'Siu Sai Wan', | ||
'So Uk', | ||
'Stanley', | ||
'Sun Chui', | ||
'Tai Hing', | ||
'Tai Kok Tsui', | ||
'Tai Koo Shing', | ||
'Tai O', | ||
'Tai Po', | ||
'Tin Yiu', | ||
'Tin Yuet', | ||
'To Kwa Wan', | ||
'Tsat Tsz Mui', | ||
'Tseung Kwan O', | ||
'Tsim Sha Tsui', | ||
'Tsing Yi', | ||
'Tsuen Wan', | ||
'Tsz Wan Shan', | ||
'Tuen Mun', | ||
'Tung Chung', | ||
'Wah Fu', | ||
'Wah Ming', | ||
'Wan Chai', | ||
'Wan Tau Tong', | ||
'Wo Che', | ||
'Wong Tai Sin', | ||
'Yau Tong', | ||
'Yau Yat Tsuen', | ||
'Yuen Long', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['Hong Kong']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* This file is automatically generated. | ||
* Run 'pnpm run generate:locales' to update. | ||
*/ | ||
import type { LocationDefinitions } from '../../..'; | ||
import building_number from './building_number'; | ||
import city from './city'; | ||
import default_country from './default_country'; | ||
import postcode from './postcode'; | ||
import postcode_by_state from './postcode_by_state'; | ||
import state from './state'; | ||
import state_abbr from './state_abbr'; | ||
import street_cantonese_part from './street_cantonese_part'; | ||
import street_english_part from './street_english_part'; | ||
import street_pattern from './street_pattern'; | ||
import street_prefix from './street_prefix'; | ||
import street_suffix from './street_suffix'; | ||
|
||
const location: LocationDefinitions = { | ||
building_number, | ||
city, | ||
default_country, | ||
postcode, | ||
postcode_by_state, | ||
state, | ||
state_abbr, | ||
street_cantonese_part, | ||
street_english_part, | ||
street_pattern, | ||
street_prefix, | ||
street_suffix, | ||
}; | ||
|
||
export default location; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// https://www.hongkongpost.hk/en/about_us/tips/postcode/index.html | ||
export default null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// https://www.hongkongpost.hk/en/about_us/tips/postcode/index.html | ||
export default null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['Hong Kong Island', 'Kowloon', 'New Territories']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default ['HK', 'KLN', 'NT']; |
Oops, something went wrong.