diff options
| author | kz-d <[email protected]> | 2022-11-22 03:43:52 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-21 18:43:52 +0000 |
| commit | 6e1009ae0ab6a185eaf808e2dd4d8dcab65c79b6 (patch) | |
| tree | 30fee66b0f1a1abc882b5ecc4df927ed92d81009 /src | |
| parent | f30c1116dd5a9a5947c9171a55d522178719d765 (diff) | |
| download | faker-6e1009ae0ab6a185eaf808e2dd4d8dcab65c79b6.tar.xz faker-6e1009ae0ab6a185eaf808e2dd4d8dcab65c79b6.zip | |
feat(locate): add japanese company (#1573)
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/ja/company/category.ts | 15 | ||||
| -rw-r--r-- | src/locales/ja/company/index.ts | 16 | ||||
| -rw-r--r-- | src/locales/ja/company/name_patterns.ts | 4 | ||||
| -rw-r--r-- | src/locales/ja/company/type.ts | 1 | ||||
| -rw-r--r-- | src/locales/ja/index.ts | 2 |
5 files changed, 38 insertions, 0 deletions
diff --git a/src/locales/ja/company/category.ts b/src/locales/ja/company/category.ts new file mode 100644 index 00000000..fa120008 --- /dev/null +++ b/src/locales/ja/company/category.ts @@ -0,0 +1,15 @@ +export default [ + '水産', + '農林', + '鉱業', + '建設', + '食品', + '印刷', + '電気', + 'ガス', + '情報', + '通信', + '運輸', + '銀行', + '保険', +]; diff --git a/src/locales/ja/company/index.ts b/src/locales/ja/company/index.ts new file mode 100644 index 00000000..eef08ee2 --- /dev/null +++ b/src/locales/ja/company/index.ts @@ -0,0 +1,16 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinitions } from '../../..'; +import category from './category'; +import name_patterns from './name_patterns'; +import type_ from './type'; + +const company: CompanyDefinitions = { + category, + name_patterns, + type: type_, +}; + +export default company; diff --git a/src/locales/ja/company/name_patterns.ts b/src/locales/ja/company/name_patterns.ts new file mode 100644 index 00000000..a69d0a70 --- /dev/null +++ b/src/locales/ja/company/name_patterns.ts @@ -0,0 +1,4 @@ +export default [ + '{{company.type}}{{person.last_name}}{{company.category}}', + '{{person.last_name}}{{company.category}}{{company.type}}', +]; diff --git a/src/locales/ja/company/type.ts b/src/locales/ja/company/type.ts new file mode 100644 index 00000000..f3ff4c7f --- /dev/null +++ b/src/locales/ja/company/type.ts @@ -0,0 +1 @@ +export default ['株式会社', '有限会社', '合名会社', '合資会社', '合同会社']; diff --git a/src/locales/ja/index.ts b/src/locales/ja/index.ts index 8d2400d1..55c30815 100644 --- a/src/locales/ja/index.ts +++ b/src/locales/ja/index.ts @@ -4,6 +4,7 @@ */ import type { LocaleDefinition } from '../..'; import cell_phone from './cell_phone'; +import company from './company'; import location from './location'; import lorem from './lorem'; import person from './person'; @@ -12,6 +13,7 @@ import phone_number from './phone_number'; const ja: LocaleDefinition = { title: 'Japanese', cell_phone, + company, location, lorem, person, |
