Skip to content

Commit

Permalink
feat(locale): add company name to zh_CN (#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZACHSTRIVES authored Jun 16, 2023
1 parent 7687511 commit c3b540f
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/locales/zh_CN/company/category.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export default [
'水产',
'林业',
'矿业',
'建设',
'食品',
'印刷',
'电力',
'燃气',
'网络科技',
'物流',
'保险',
'旅游发展',
'传媒',
'运输',
];
16 changes: 16 additions & 0 deletions src/locales/zh_CN/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 { CompanyDefinition } from '../../..';
import category from './category';
import name_pattern from './name_pattern';
import type_ from './type';

const company: CompanyDefinition = {
category,
name_pattern,
type: type_,
};

export default company;
4 changes: 4 additions & 0 deletions src/locales/zh_CN/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default [
'{{location.state}}{{person.first_name}}{{company.category}}{{company.type}}',
'{{location.city}}{{person.first_name}}{{company.category}}{{company.type}}',
];
9 changes: 9 additions & 0 deletions src/locales/zh_CN/company/type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default [
'有限责任公司',
'股份有限公司',
'有限公司',
'(集团)有限公司',
'集团有限公司',
'无限公司',
'无限责任公司',
];
2 changes: 2 additions & 0 deletions src/locales/zh_CN/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
* 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 zh_CN: LocaleDefinition = {
company,
internet,
location,
metadata,
Expand Down

0 comments on commit c3b540f

Please sign in to comment.