Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: implement company info on pt_PT locale
  • Loading branch information
jeanpierrecarvalho committed Jul 16, 2024
commit 068044c7bea399ea1347628360c9ca1daa1f8971
14 changes: 14 additions & 0 deletions src/locales/pt_PT/company/index.ts
Original file line number Diff line number Diff line change
@@ -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;
7 changes: 7 additions & 0 deletions src/locales/pt_PT/company/legal_entity_type.ts
Original file line number Diff line number Diff line change
@@ -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
];
4 changes: 4 additions & 0 deletions src/locales/pt_PT/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default [
'{{person.last_name.generic}} e {{person.last_name.generic}}',
'{{person.last_name.generic}} {{company.legal_entity_type}}',
];
2 changes: 2 additions & 0 deletions src/locales/pt_PT/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -17,6 +18,7 @@ const pt_PT: LocaleDefinition = {
cell_phone,
color,
commerce,
company,
date,
internet,
location,
Expand Down