Skip to content

Commit

Permalink
feat(locate): add japanese company (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
kz-d committed Nov 21, 2022
1 parent f30c111 commit 6e1009a
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/locales/ja/company/category.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default [
'水産',
'農林',
'鉱業',
'建設',
'食品',
'印刷',
'電気',
'ガス',
'情報',
'通信',
'運輸',
'銀行',
'保険',
];
16 changes: 16 additions & 0 deletions src/locales/ja/company/index.ts
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 4 additions & 0 deletions src/locales/ja/company/name_patterns.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default [
'{{company.type}}{{person.last_name}}{{company.category}}',
'{{person.last_name}}{{company.category}}{{company.type}}',
];
1 change: 1 addition & 0 deletions src/locales/ja/company/type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default ['株式会社', '有限会社', '合名会社', '合資会社', '合同会社'];
2 changes: 2 additions & 0 deletions src/locales/ja/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -12,6 +13,7 @@ import phone_number from './phone_number';
const ja: LocaleDefinition = {
title: 'Japanese',
cell_phone,
company,
location,
lorem,
person,
Expand Down

0 comments on commit 6e1009a

Please sign in to comment.