Skip to content

Commit c3b540f

Browse files
authored
feat(locale): add company name to zh_CN (#2203)
1 parent 7687511 commit c3b540f

5 files changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export default [
2+
'水产',
3+
'林业',
4+
'矿业',
5+
'建设',
6+
'食品',
7+
'印刷',
8+
'电力',
9+
'燃气',
10+
'网络科技',
11+
'物流',
12+
'保险',
13+
'旅游发展',
14+
'传媒',
15+
'运输',
16+
];

src/locales/zh_CN/company/index.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { CompanyDefinition } from '../../..';
6+
import category from './category';
7+
import name_pattern from './name_pattern';
8+
import type_ from './type';
9+
10+
const company: CompanyDefinition = {
11+
category,
12+
name_pattern,
13+
type: type_,
14+
};
15+
16+
export default company;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
export default [
2+
'{{location.state}}{{person.first_name}}{{company.category}}{{company.type}}',
3+
'{{location.city}}{{person.first_name}}{{company.category}}{{company.type}}',
4+
];

src/locales/zh_CN/company/type.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default [
2+
'有限责任公司',
3+
'股份有限公司',
4+
'有限公司',
5+
'(集团)有限公司',
6+
'集团有限公司',
7+
'无限公司',
8+
'无限责任公司',
9+
];

src/locales/zh_CN/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { LocaleDefinition } from '../..';
6+
import company from './company';
67
import internet from './internet';
78
import location from './location';
89
import metadata from './metadata';
910
import person from './person';
1011
import phone_number from './phone_number';
1112

1213
const zh_CN: LocaleDefinition = {
14+
company,
1315
internet,
1416
location,
1517
metadata,

0 commit comments

Comments
 (0)