Skip to content

Commit dbe2c2e

Browse files
committed
feat(company): add realistic Hungarian company names
1 parent dfa647d commit dbe2c2e

4 files changed

Lines changed: 23 additions & 0 deletions

File tree

src/locales/hu/company/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* This file is automatically generated.
3+
* Run 'pnpm run generate:locales' to update.
4+
*/
5+
import type { CompanyDefinitions } from '../../..';
6+
import name_patterns from './name_patterns';
7+
import suffix from './suffix';
8+
9+
const company: CompanyDefinitions = {
10+
name_patterns,
11+
suffix,
12+
};
13+
14+
export default company;
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default [
2+
'{{person.last_name}} {{company.suffix}}',
3+
'{{person.last_name}} és {{person.last_name}} {{company.suffix}}',
4+
'{{person.last_name}} és Tsa. {{company.suffix}}',
5+
'{{person.last_name}} 2000 {{company.suffix}}',
6+
];

src/locales/hu/company/suffix.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default ['Kft.', 'Bt.', 'Zrt.', 'Nyrt.', 'Kv.', 'Kkt.'];

src/locales/hu/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import type { LocaleDefinition } from '../..';
66
import animal from './animal';
77
import commerce from './commerce';
8+
import company from './company';
89
import date from './date';
910
import finance from './finance';
1011
import internet from './internet';
@@ -16,6 +17,7 @@ const hu: LocaleDefinition = {
1617
title: 'Hungarian',
1718
animal,
1819
commerce,
20+
company,
1921
date,
2022
finance,
2123
internet,

0 commit comments

Comments
 (0)