Skip to content

Commit e1f26a6

Browse files
authored
feat(company): move name formats to locales (#1293)
1 parent 0866ee9 commit e1f26a6

54 files changed

Lines changed: 68 additions & 60 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/definitions/company.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export type CompanyDefinitions = LocaleEntry<{
2929
*/
3030
descriptor: string[];
3131

32+
/**
33+
* A list of patterns used to generate company names.
34+
*/
35+
name_patterns: string[];
36+
3237
/**
3338
* Catchphrase adjectives.
3439
*/

src/locales/az/company/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinitions } from '../../..';
6-
import name_ from './name';
6+
import name_patterns from './name_patterns';
77
import prefix from './prefix';
88
import suffix from './suffix';
99

1010
const company: CompanyDefinitions = {
11-
name: name_,
11+
name_patterns,
1212
prefix,
1313
suffix,
1414
};

src/locales/cz/company/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import adjective from './adjective';
77
import bs_noun from './bs_noun';
88
import bs_verb from './bs_verb';
99
import descriptor from './descriptor';
10-
import name_ from './name';
10+
import name_patterns from './name_patterns';
1111
import noun from './noun';
1212
import suffix from './suffix';
1313

@@ -16,7 +16,7 @@ const company: CompanyDefinitions = {
1616
bs_noun,
1717
bs_verb,
1818
descriptor,
19-
name: name_,
19+
name_patterns,
2020
noun,
2121
suffix,
2222
};

src/locales/de/company/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
*/
55
import type { CompanyDefinitions } from '../../..';
66
import legal_form from './legal_form';
7-
import name_ from './name';
7+
import name_patterns from './name_patterns';
88
import suffix from './suffix';
99

1010
const company: CompanyDefinitions = {
1111
legal_form,
12-
name: name_,
12+
name_patterns,
1313
suffix,
1414
};
1515

src/locales/de_AT/company/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
*/
55
import type { CompanyDefinitions } from '../../..';
66
import legal_form from './legal_form';
7-
import name_ from './name';
7+
import name_patterns from './name_patterns';
88
import suffix from './suffix';
99

1010
const company: CompanyDefinitions = {
1111
legal_form,
12-
name: name_,
12+
name_patterns,
1313
suffix,
1414
};
1515

File renamed without changes.

src/locales/de_CH/company/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinitions } from '../../..';
6-
import name_ from './name';
6+
import name_patterns from './name_patterns';
77
import suffix from './suffix';
88

99
const company: CompanyDefinitions = {
10-
name: name_,
10+
name_patterns,
1111
suffix,
1212
};
1313

0 commit comments

Comments
 (0)