Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locale): implement company info on pt_PT locale #3022

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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