From 2e6b136c61a7cfc799c72a86a38ca4a505d94e3c Mon Sep 17 00:00:00 2001 From: Bence Szalai Date: Fri, 20 Jan 2023 22:05:40 +0100 Subject: [PATCH] feat(company): add realistic Hungarian company names (#1758) --- src/locales/hu/company/index.ts | 14 ++++++++++++++ src/locales/hu/company/name_patterns.ts | 6 ++++++ src/locales/hu/company/suffix.ts | 1 + src/locales/hu/index.ts | 2 ++ 4 files changed, 23 insertions(+) create mode 100644 src/locales/hu/company/index.ts create mode 100644 src/locales/hu/company/name_patterns.ts create mode 100644 src/locales/hu/company/suffix.ts diff --git a/src/locales/hu/company/index.ts b/src/locales/hu/company/index.ts new file mode 100644 index 00000000000..94e1daa3406 --- /dev/null +++ b/src/locales/hu/company/index.ts @@ -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; diff --git a/src/locales/hu/company/name_patterns.ts b/src/locales/hu/company/name_patterns.ts new file mode 100644 index 00000000000..1bf8edbc6af --- /dev/null +++ b/src/locales/hu/company/name_patterns.ts @@ -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}}', +]; diff --git a/src/locales/hu/company/suffix.ts b/src/locales/hu/company/suffix.ts new file mode 100644 index 00000000000..584776b5861 --- /dev/null +++ b/src/locales/hu/company/suffix.ts @@ -0,0 +1 @@ +export default ['Kft.', 'Bt.', 'Zrt.', 'Nyrt.', 'Kv.', 'Kkt.']; diff --git a/src/locales/hu/index.ts b/src/locales/hu/index.ts index f093b93bbe2..f122d5e2efa 100644 --- a/src/locales/hu/index.ts +++ b/src/locales/hu/index.ts @@ -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'; @@ -16,6 +17,7 @@ const hu: LocaleDefinition = { title: 'Hungarian', animal, commerce, + company, date, finance, internet,