From 0fd0402aa96818c8c3af1defc816ffcffadbb1fe Mon Sep 17 00:00:00 2001 From: Jean-Pierre Carvalho Date: Thu, 15 Aug 2024 22:59:02 +0100 Subject: [PATCH] feat(locale): implement company info on pt_PT locale (#3022) --- src/locales/pt_PT/company/index.ts | 14 ++++++++++++++ src/locales/pt_PT/company/legal_entity_type.ts | 7 +++++++ src/locales/pt_PT/company/name_pattern.ts | 4 ++++ src/locales/pt_PT/index.ts | 2 ++ 4 files changed, 27 insertions(+) create mode 100644 src/locales/pt_PT/company/index.ts create mode 100644 src/locales/pt_PT/company/legal_entity_type.ts create mode 100644 src/locales/pt_PT/company/name_pattern.ts diff --git a/src/locales/pt_PT/company/index.ts b/src/locales/pt_PT/company/index.ts new file mode 100644 index 00000000000..86925375beb --- /dev/null +++ b/src/locales/pt_PT/company/index.ts @@ -0,0 +1,14 @@ +/* + * This file is automatically generated. + * Run 'pnpm run generate:locales' to update. + */ +import type { CompanyDefinition } from '../../..'; +import legal_entity_type from './legal_entity_type'; +import name_pattern from './name_pattern'; + +const company: CompanyDefinition = { + legal_entity_type, + name_pattern, +}; + +export default company; diff --git a/src/locales/pt_PT/company/legal_entity_type.ts b/src/locales/pt_PT/company/legal_entity_type.ts new file mode 100644 index 00000000000..2a91fd9d452 --- /dev/null +++ b/src/locales/pt_PT/company/legal_entity_type.ts @@ -0,0 +1,7 @@ +export default [ + 'EI', // Empresário em Nome Individual: Sole Proprietorship + 'LDA', // Sociedade por Quotas: Private Limited Company + 'SA', // Sociedade Anónima: Public Limited Company + 'SCR', // Sociedade de Capital de Risco: Venture Capital Company + 'ULTDA', // Sociedade Unipessoal por Quotas: Single Shareholder Private Limited Company +]; diff --git a/src/locales/pt_PT/company/name_pattern.ts b/src/locales/pt_PT/company/name_pattern.ts new file mode 100644 index 00000000000..644a85da526 --- /dev/null +++ b/src/locales/pt_PT/company/name_pattern.ts @@ -0,0 +1,4 @@ +export default [ + '{{person.last_name.generic}} e {{person.last_name.generic}}', + '{{person.last_name.generic}} {{company.legal_entity_type}}', +]; diff --git a/src/locales/pt_PT/index.ts b/src/locales/pt_PT/index.ts index 612a97c11e8..e60fe0aba5a 100644 --- a/src/locales/pt_PT/index.ts +++ b/src/locales/pt_PT/index.ts @@ -6,6 +6,7 @@ import type { LocaleDefinition } from '../..'; import cell_phone from './cell_phone'; import color from './color'; import commerce from './commerce'; +import company from './company'; import date from './date'; import internet from './internet'; import location from './location'; @@ -17,6 +18,7 @@ const pt_PT: LocaleDefinition = { cell_phone, color, commerce, + company, date, internet, location,