Skip to content

Commit

Permalink
feat(company): add realistic Hungarian company names
Browse files Browse the repository at this point in the history
  • Loading branch information
BenceSzalai committed Jan 19, 2023
1 parent dfa647d commit dbe2c2e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/locales/hu/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 { CompanyDefinitions } from '../../..';
import name_patterns from './name_patterns';
import suffix from './suffix';

const company: CompanyDefinitions = {
name_patterns,
suffix,
};

export default company;
6 changes: 6 additions & 0 deletions src/locales/hu/company/name_patterns.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default [
'{{person.last_name}} {{company.suffix}}',
'{{person.last_name}} és {{person.last_name}} {{company.suffix}}',
'{{person.last_name}} és Tsa. {{company.suffix}}',
'{{person.last_name}} 2000 {{company.suffix}}',
];
1 change: 1 addition & 0 deletions src/locales/hu/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default ['Kft.', 'Bt.', 'Zrt.', 'Nyrt.', 'Kv.', 'Kkt.'];
2 changes: 2 additions & 0 deletions src/locales/hu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import type { LocaleDefinition } from '../..';
import animal from './animal';
import commerce from './commerce';
import company from './company';
import date from './date';
import finance from './finance';
import internet from './internet';
Expand All @@ -16,6 +17,7 @@ const hu: LocaleDefinition = {
title: 'Hungarian',
animal,
commerce,
company,
date,
finance,
internet,
Expand Down

0 comments on commit dbe2c2e

Please sign in to comment.