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(company): add realistic Hungarian company names #1758

Merged
merged 2 commits into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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/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