Skip to content

Commit 49d7119

Browse files
authored
refactor(locale): rename company affix files (#2975)
1 parent 8134b33 commit 49d7119

File tree

116 files changed

+161
-170
lines changed

Some content is hidden

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

116 files changed

+161
-170
lines changed

docs/guide/upgrading.md

+15

src/locales/af_ZA/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

src/locales/az/company/index.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6+
import legal_entity_type from './legal_entity_type';
67
import name_pattern from './name_pattern';
7-
import prefix from './prefix';
8-
import suffix from './suffix';
98

109
const company: CompanyDefinition = {
10+
legal_entity_type,
1111
name_pattern,
12-
prefix,
13-
suffix,
1412
};
1513

1614
export default company;
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
'{{company.prefix}} {{person.female_first_name}}',
3-
'{{company.prefix}} {{person.male_first_name}}',
4-
'{{company.prefix}} {{person.male_last_name}}',
2+
'{{company.legal_entity_type}} {{person.female_first_name}}',
3+
'{{company.legal_entity_type}} {{person.male_first_name}}',
4+
'{{company.legal_entity_type}} {{person.male_last_name}}',
55
];

src/locales/az/company/suffix.ts

-1
This file was deleted.

src/locales/cs_CZ/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6+
import legal_entity_type from './legal_entity_type';
67
import name_pattern from './name_pattern';
7-
import suffix from './suffix';
88

99
const company: CompanyDefinition = {
10+
legal_entity_type,
1011
name_pattern,
11-
suffix,
1212
};
1313

1414
export default company;
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default [
2-
'{{person.last_name}} {{company.suffix}}',
3-
'{{person.male_last_name}} a {{person.male_last_name}} {{company.suffix}}',
2+
'{{person.last_name}} {{company.legal_entity_type}}',
3+
'{{person.male_last_name}} a {{person.male_last_name}} {{company.legal_entity_type}}',
44
];

src/locales/da/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import buzz_noun from './buzz_noun';
99
import buzz_verb from './buzz_verb';
1010
import company_name from './company_name';
1111
import descriptor from './descriptor';
12+
import legal_entity_type from './legal_entity_type';
1213
import name_pattern from './name_pattern';
1314
import noun from './noun';
14-
import suffix from './suffix';
1515

1616
const company: CompanyDefinition = {
1717
adjective,
@@ -20,9 +20,9 @@ const company: CompanyDefinition = {
2020
buzz_verb,
2121
company_name,
2222
descriptor,
23+
legal_entity_type,
2324
name_pattern,
2425
noun,
25-
suffix,
2626
};
2727

2828
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default [
22
'{{company.company_name}}',
3-
'{{person.last_name}} {{commerce.department}} {{company.suffix}}',
3+
'{{person.last_name}} {{commerce.department}} {{company.legal_entity_type}}',
44
];

src/locales/de/company/index.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import legal_form from './legal_form';
6+
import legal_entity_type from './legal_entity_type';
77
import name_pattern from './name_pattern';
8-
import suffix from './suffix';
98

109
const company: CompanyDefinition = {
11-
legal_form,
10+
legal_entity_type,
1211
name_pattern,
13-
suffix,
1412
};
1513

1614
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
'{{person.last_name}} {{company.suffix}}',
2+
'{{person.last_name}} {{company.legal_entity_type}}',
33
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
44
'{{person.last_name}}-{{person.last_name}}',
55
];

src/locales/de_AT/company/index.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import legal_form from './legal_form';
6+
import legal_entity_type from './legal_entity_type';
77
import name_pattern from './name_pattern';
8-
import suffix from './suffix';
98

109
const company: CompanyDefinition = {
11-
legal_form,
10+
legal_entity_type,
1211
name_pattern,
13-
suffix,
1412
};
1513

1614
export default company;

src/locales/de_AT/company/legal_form.ts

-1
This file was deleted.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
'{{person.last_name}} {{company.suffix}}',
2+
'{{person.last_name}} {{company.legal_entity_type}}',
33
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
44
'{{person.last_name}}-{{person.last_name}}',
55
];

src/locales/de_AT/company/suffix.ts

-1
This file was deleted.

src/locales/de_CH/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6+
import legal_entity_type from './legal_entity_type';
67
import name_pattern from './name_pattern';
7-
import suffix from './suffix';
88

99
const company: CompanyDefinition = {
10+
legal_entity_type,
1011
name_pattern,
11-
suffix,
1212
};
1313

1414
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
'{{person.last_name}} {{company.suffix}}',
2+
'{{person.last_name}} {{company.legal_entity_type}}',
33
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
44
'{{person.last_name}}-{{person.last_name}}',
55
];

src/locales/dv/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
*/
55
import type { CompanyDefinition } from '../../..';
66
import adjective from './adjective';
7+
import legal_entity_type from './legal_entity_type';
78
import name_pattern from './name_pattern';
89
import noun from './noun';
9-
import suffix from './suffix';
1010

1111
const company: CompanyDefinition = {
1212
adjective,
13+
legal_entity_type,
1314
name_pattern,
1415
noun,
15-
suffix,
1616
};
1717

1818
export default company;
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default [
2-
'{{company.adjective}} {{company.noun}} {{company.suffix}}',
3-
'{{company.adjective}} {{person.last_name}} {{person.last_name}} {{company.suffix}}',
4-
'{{person.first_name}} {{company.suffix}}',
5-
'{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.suffix}}',
6-
'{{person.last_name}} {{company.suffix}}',
2+
'{{company.adjective}} {{company.noun}} {{company.legal_entity_type}}',
3+
'{{company.adjective}} {{person.last_name}} {{person.last_name}} {{company.legal_entity_type}}',
4+
'{{person.first_name}} {{company.legal_entity_type}}',
5+
'{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.legal_entity_type}}',
6+
'{{person.last_name}} {{company.legal_entity_type}}',
77
];

src/locales/el/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ import buzz_adjective from './buzz_adjective';
88
import buzz_noun from './buzz_noun';
99
import buzz_verb from './buzz_verb';
1010
import descriptor from './descriptor';
11+
import legal_entity_type from './legal_entity_type';
1112
import name_pattern from './name_pattern';
1213
import noun from './noun';
13-
import suffix from './suffix';
1414

1515
const company: CompanyDefinition = {
1616
adjective,
1717
buzz_adjective,
1818
buzz_noun,
1919
buzz_verb,
2020
descriptor,
21+
legal_entity_type,
2122
name_pattern,
2223
noun,
23-
suffix,
2424
};
2525

2626
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
2-
'{{person.last_name}} {{company.suffix}}',
2+
'{{person.last_name}} {{company.legal_entity_type}}',
33
'{{person.last_name}}, {{person.last_name}} and {{person.last_name}}',
44
'{{person.last_name}}-{{person.last_name}}',
55
];

src/locales/en/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ import buzz_adjective from './buzz_adjective';
88
import buzz_noun from './buzz_noun';
99
import buzz_verb from './buzz_verb';
1010
import descriptor from './descriptor';
11+
import legal_entity_type from './legal_entity_type';
1112
import name_pattern from './name_pattern';
1213
import noun from './noun';
13-
import suffix from './suffix';
1414

1515
const company: CompanyDefinition = {
1616
adjective,
1717
buzz_adjective,
1818
buzz_noun,
1919
buzz_verb,
2020
descriptor,
21+
legal_entity_type,
2122
name_pattern,
2223
noun,
23-
suffix,
2424
};
2525

2626
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default [
22
'{{person.last_name}} - {{person.last_name}}',
3-
'{{person.last_name}} {{company.suffix}}',
3+
'{{person.last_name}} {{company.legal_entity_type}}',
44
'{{person.last_name}}, {{person.last_name}} and {{person.last_name}}',
55
];

src/locales/en_AU/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

src/locales/en_AU_ocker/company/index.ts

-12
This file was deleted.

src/locales/en_AU_ocker/company/suffix.ts

-1
This file was deleted.

src/locales/en_AU_ocker/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { LocaleDefinition } from '../..';
6-
import company from './company';
76
import internet from './internet';
87
import location from './location';
98
import metadata from './metadata';
109
import person from './person';
1110
import phone_number from './phone_number';
1211

1312
const en_AU_ocker: LocaleDefinition = {
14-
company,
1513
internet,
1614
location,
1715
metadata,

src/locales/en_GH/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6+
import legal_entity_type from './legal_entity_type';
67
import name_pattern from './name_pattern';
7-
import suffix from './suffix';
88

99
const company: CompanyDefinition = {
10+
legal_entity_type,
1011
name_pattern,
11-
suffix,
1212
};
1313

1414
export default company;
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default [
22
'{{person.last_name}} and {{person.last_name}}',
3-
'{{person.last_name}} {{company.suffix}}',
3+
'{{person.last_name}} {{company.legal_entity_type}}',
44
];

src/locales/en_HK/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

src/locales/en_IN/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

src/locales/en_NG/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

src/locales/en_ZA/company/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* Run 'pnpm run generate:locales' to update.
44
*/
55
import type { CompanyDefinition } from '../../..';
6-
import suffix from './suffix';
6+
import legal_entity_type from './legal_entity_type';
77

88
const company: CompanyDefinition = {
9-
suffix,
9+
legal_entity_type,
1010
};
1111

1212
export default company;

0 commit comments

Comments
 (0)