From 1e551c5f47e292d3dc6bbefae9eaf75664a052a1 Mon Sep 17 00:00:00 2001 From: matsueushi Date: Fri, 11 Apr 2025 03:25:06 +0900 Subject: fix(locale): rename ja and zh_CN company affix files (#3448) --- src/locales/ja/company/index.ts | 4 ++-- src/locales/ja/company/legal_entity_type.ts | 1 + src/locales/ja/company/name_pattern.ts | 4 ++-- src/locales/ja/company/type.ts | 1 - src/locales/zh_CN/company/index.ts | 4 ++-- src/locales/zh_CN/company/legal_entity_type.ts | 9 +++++++++ src/locales/zh_CN/company/name_pattern.ts | 4 ++-- src/locales/zh_CN/company/type.ts | 9 --------- 8 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 src/locales/ja/company/legal_entity_type.ts delete mode 100644 src/locales/ja/company/type.ts create mode 100644 src/locales/zh_CN/company/legal_entity_type.ts delete mode 100644 src/locales/zh_CN/company/type.ts (limited to 'src') diff --git a/src/locales/ja/company/index.ts b/src/locales/ja/company/index.ts index 290ceacf..000b59c3 100644 --- a/src/locales/ja/company/index.ts +++ b/src/locales/ja/company/index.ts @@ -4,13 +4,13 @@ */ import type { CompanyDefinition } from '../../..'; import category from './category'; +import legal_entity_type from './legal_entity_type'; import name_pattern from './name_pattern'; -import type_ from './type'; const company: CompanyDefinition = { category, + legal_entity_type, name_pattern, - type: type_, }; export default company; diff --git a/src/locales/ja/company/legal_entity_type.ts b/src/locales/ja/company/legal_entity_type.ts new file mode 100644 index 00000000..71250e42 --- /dev/null +++ b/src/locales/ja/company/legal_entity_type.ts @@ -0,0 +1 @@ +export default ['合同会社', '合名会社', '合資会社', '有限会社', '株式会社']; diff --git a/src/locales/ja/company/name_pattern.ts b/src/locales/ja/company/name_pattern.ts index d3b6941d..30f2a6de 100644 --- a/src/locales/ja/company/name_pattern.ts +++ b/src/locales/ja/company/name_pattern.ts @@ -1,4 +1,4 @@ export default [ - '{{company.type}}{{person.last_name.generic}}{{company.category}}', - '{{person.last_name.generic}}{{company.category}}{{company.type}}', + '{{company.legal_entity_type}}{{person.last_name.generic}}{{company.category}}', + '{{person.last_name.generic}}{{company.category}}{{company.legal_entity_type}}', ]; diff --git a/src/locales/ja/company/type.ts b/src/locales/ja/company/type.ts deleted file mode 100644 index 71250e42..00000000 --- a/src/locales/ja/company/type.ts +++ /dev/null @@ -1 +0,0 @@ -export default ['合同会社', '合名会社', '合資会社', '有限会社', '株式会社']; diff --git a/src/locales/zh_CN/company/index.ts b/src/locales/zh_CN/company/index.ts index 290ceacf..000b59c3 100644 --- a/src/locales/zh_CN/company/index.ts +++ b/src/locales/zh_CN/company/index.ts @@ -4,13 +4,13 @@ */ import type { CompanyDefinition } from '../../..'; import category from './category'; +import legal_entity_type from './legal_entity_type'; import name_pattern from './name_pattern'; -import type_ from './type'; const company: CompanyDefinition = { category, + legal_entity_type, name_pattern, - type: type_, }; export default company; diff --git a/src/locales/zh_CN/company/legal_entity_type.ts b/src/locales/zh_CN/company/legal_entity_type.ts new file mode 100644 index 00000000..8c17760c --- /dev/null +++ b/src/locales/zh_CN/company/legal_entity_type.ts @@ -0,0 +1,9 @@ +export default [ + '无限公司', + '无限责任公司', + '有限公司', + '有限责任公司', + '股份有限公司', + '集团有限公司', + '(集团)有限公司', +]; diff --git a/src/locales/zh_CN/company/name_pattern.ts b/src/locales/zh_CN/company/name_pattern.ts index 2325cc69..0c95fd80 100644 --- a/src/locales/zh_CN/company/name_pattern.ts +++ b/src/locales/zh_CN/company/name_pattern.ts @@ -1,4 +1,4 @@ export default [ - '{{location.city}}{{person.first_name.generic}}{{company.category}}{{company.type}}', - '{{location.state}}{{person.first_name.generic}}{{company.category}}{{company.type}}', + '{{location.city}}{{person.first_name.generic}}{{company.category}}{{company.legal_entity_type}}', + '{{location.state}}{{person.first_name.generic}}{{company.category}}{{company.legal_entity_type}}', ]; diff --git a/src/locales/zh_CN/company/type.ts b/src/locales/zh_CN/company/type.ts deleted file mode 100644 index 8c17760c..00000000 --- a/src/locales/zh_CN/company/type.ts +++ /dev/null @@ -1,9 +0,0 @@ -export default [ - '无限公司', - '无限责任公司', - '有限公司', - '有限责任公司', - '股份有限公司', - '集团有限公司', - '(集团)有限公司', -]; -- cgit v1.2.3