Skip to content

Commit

Permalink
feat(locale): implement company info on pt_PT locale (#3022)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrecarvalho authored Aug 15, 2024
1 parent a210619 commit 0fd0402
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
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

0 comments on commit 0fd0402

Please sign in to comment.