Skip to content

Commit

Permalink
refactor(locale): normalize company data (#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox committed May 14, 2024
1 parent b27e1a8 commit 5ba44bc
Show file tree
Hide file tree
Showing 115 changed files with 1,164 additions and 1,165 deletions.
1 change: 0 additions & 1 deletion scripts/generate-locales.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,6 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {

const legacyDefinitions = ['app', 'cell_phone', 'team'];
const definitionsToSkip = [
'company',
'date',
'finance',
'internet',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/af_ZA/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['Pty Ltd', 'Ltd', 'CC'];
export default ['CC', 'Ltd', 'Pty Ltd'];
2 changes: 1 addition & 1 deletion src/locales/cs_CZ/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['s.r.o.', 'a.s.', 'v.o.s.'];
export default ['a.s.', 's.r.o.', 'v.o.s.'];
2 changes: 1 addition & 1 deletion src/locales/da/company/buzz_adjective.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export default [
'24/365',
'24/7',
'allestedsnærværende',
'B2B',
'B2C',
'allestedsnærværende',
'back-end',
'bedst-i-klassen',
'brugercentrerede',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/da/company/buzz_noun.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export default [
'ROI',
'applikationer',
'arkitektur',
'blockchains',
Expand Down Expand Up @@ -31,7 +32,6 @@ export default [
'platforme',
'portaler',
'relationer',
'ROI',
'skemaer',
'synergier',
'systemer',
Expand Down
20 changes: 10 additions & 10 deletions src/locales/da/company/company_name.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
export default [
'Aabenraa Anlæg',
'Aabenraa Automater',
'Aalborg Aqua',
'Aarhus Automatik',
'Albertslund Aluminium',
'Albertslund App',
'Allerød Akustik',
Expand Down Expand Up @@ -32,6 +36,7 @@ export default [
'Egedal Erhverv',
'Esbjerg Elektronik',
'Esbjerg Energi',
'Faaborg-Midtfyn Film',
'Falster Farmaceuter',
'Fanø Fartøj',
'Fanø Forsikring',
Expand All @@ -53,7 +58,6 @@ export default [
'Furesø Fisk',
'Fyn Fiskeri',
'Fynske Fødevarer',
'Faaborg-Midtfyn Film',
'Gentofte Genbrug',
'Gladsaxe Glas',
'Glostrup Gaming',
Expand All @@ -62,9 +66,9 @@ export default [
'Gribskov Græs',
'GrønBølge Energi',
'Grønland Gourmet',
'GuldHornet Mode',
'Guldborgsund Gas',
'Guldborgsund Guld',
'GuldHornet Mode',
'Haderslev Haver',
'Haderslev Håndværk',
'Halsnæs Halvleder',
Expand Down Expand Up @@ -106,9 +110,9 @@ export default [
'Mors Møbler',
'Morsø Maling',
'NaturLinjen Kosmetik',
'NordHavn Teknologier',
'Norddjurs Naturlig',
'Nordfyn Næringsstoffer',
'NordHavn Teknologier',
'Nordisk NanoLab',
'Nordlys Finans',
'Nyborg Nytte',
Expand Down Expand Up @@ -139,12 +143,12 @@ export default [
'Sydfyn Sko',
'SynergiSport Udstyr',
'Sønderborg Sol',
'Taastrup Transport',
'Thisted Tjenester',
'Thy Teknik',
'Trekroner Forsikring',
'Tønder Tekstil',
'Tårnby Tekstiler',
'Taastrup Transport',
'Tønder Tekstil',
'Valby VandTek',
'Varde Varehandel',
'Vejen Vand',
Expand All @@ -153,11 +157,7 @@ export default [
'Viborg Video',
'VikingNetværk',
'Vordingborg Vind',
'Århus Robotik',
'Øresund MarineTek',
'ØstVind Innovation',
'Aabenraa Anlæg',
'Aabenraa Automater',
'Aalborg Aqua',
'Aarhus Automatik',
'Århus Robotik',
];
2 changes: 1 addition & 1 deletion src/locales/da/company/descriptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export default [
'holdningsorienteret',
'homogen',
'hybrid',
'højniveau',
'håndgribelig',
'højniveau',
'indholdsbaseret',
'inkremental',
'interaktiv',
Expand Down
2 changes: 1 addition & 1 deletion src/locales/da/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['ApS', 'A/S'];
export default ['A/S', 'ApS'];
2 changes: 1 addition & 1 deletion src/locales/de/company/legal_form.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['GmbH', 'AG', 'Gruppe', 'KG', 'GmbH & Co. KG', 'UG', 'OHG'];
export default ['AG', 'GmbH', 'GmbH & Co. KG', 'Gruppe', 'KG', 'OHG', 'UG'];
2 changes: 1 addition & 1 deletion src/locales/de/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default [
'{{person.last_name}} {{company.suffix}}',
'{{person.last_name}}-{{person.last_name}}',
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
'{{person.last_name}}-{{person.last_name}}',
];
2 changes: 1 addition & 1 deletion src/locales/de/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['GmbH', 'AG', 'Gruppe', 'KG', 'GmbH & Co. KG', 'UG', 'OHG'];
export default ['AG', 'GmbH', 'GmbH & Co. KG', 'Gruppe', 'KG', 'OHG', 'UG'];
2 changes: 1 addition & 1 deletion src/locales/de_AT/company/legal_form.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['GmbH', 'AG', 'Gruppe', 'KG', 'GmbH & Co. KG', 'UG', 'OHG'];
export default ['AG', 'GmbH', 'GmbH & Co. KG', 'Gruppe', 'KG', 'OHG', 'UG'];
2 changes: 1 addition & 1 deletion src/locales/de_AT/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default [
'{{person.last_name}} {{company.suffix}}',
'{{person.last_name}}-{{person.last_name}}',
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
'{{person.last_name}}-{{person.last_name}}',
];
2 changes: 1 addition & 1 deletion src/locales/de_AT/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export default ['GmbH', 'AG', 'Gruppe', 'KG', 'GmbH & Co. KG', 'UG', 'OHG'];
export default ['AG', 'GmbH', 'GmbH & Co. KG', 'Gruppe', 'KG', 'OHG', 'UG'];
2 changes: 1 addition & 1 deletion src/locales/de_CH/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default [
'{{person.last_name}} {{company.suffix}}',
'{{person.last_name}}-{{person.last_name}}',
'{{person.last_name}}, {{person.last_name}} und {{person.last_name}}',
'{{person.last_name}}-{{person.last_name}}',
];
8 changes: 4 additions & 4 deletions src/locales/de_CH/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export default [
'& Co.',
'AG',
'GmbH',
'und Söhne',
'und Partner',
'& Co.',
'Gruppe',
'LLC',
'Inc.',
'LLC',
'und Partner',
'und Söhne',
];
34 changes: 17 additions & 17 deletions src/locales/dv/company/adjective.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
export default [
'ބޮޑު',
'ކުޑަ',
'ހަޑި',
'ރީތި',
'ހޫނު',
'ފިނި',
'މަޖާ',
'ފޫހި',
'ހުތުރު',
'އަލި',
'އަނދިރި',
'ހިރަފުސް',
'ސާފު',
'މޮޅު',
'ދަށް',
'ހުށިޔާރު',
'ހުތުރު',
'ހޫނު',
'ނުރައްކާ',
'ސަމާލު',
'ގޮތްކުޑަ',
'ފުރިހަމަ',
'ނުފެންނަ',
'ރީތި',
'ބޮޑު',
'ކުޑަ',
'އަނދިރި',
'އަލި',
'އެއްވަނަ',
'މަޖާ',
'މޮޅު',
'ފިނި',
'ފުރިހަމަ',
'ފޫހި',
'ދަށް',
'ދެވަނަ',
'ތިންވަނަ',
'ނުފެންނަ',
'ގޮތްކުޑަ',
'ސަމާލު',
'ސާފު',
];
6 changes: 3 additions & 3 deletions src/locales/dv/company/name_pattern.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default [
'{{person.first_name}} {{company.suffix}}',
'{{person.last_name}} {{company.suffix}}',
'{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.suffix}}',
'{{company.adjective}} {{company.noun}} {{company.suffix}}',
'{{company.adjective}} {{person.last_name}} {{person.last_name}} {{company.suffix}}',
'{{person.first_name}} {{company.suffix}}',
'{{person.last_name}} & {{person.last_name}} {{company.noun}} {{company.suffix}}',
'{{person.last_name}} {{company.suffix}}',
];
88 changes: 44 additions & 44 deletions src/locales/dv/company/noun.ts
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
export default [
'ވަޑައިންގެ',
'ހަރުފަ',
'ހަރުގެ',
'ގުދަން',
'ގަރާޖު',
'ކޮންޓެއިނަރު',
'ބޮއްކުރާ',
'ދޯނި',
'ބައްރެލި',
'މަނަވަރު',
'މަތިންދާބޯޓު',
'ހިރުނދު',
'ހެލިކޮޕްޓަރު',
'ރޮކެޓު',
'ކަރުދާސް',
'ފުޅި',
'ބިއްލޫރި',
'ހޮޅުއަށި',
'ޕުލާސްޓިކު',
'ފޮތި',
'ދަގަނޑު',
'ލަކުޑި',
'ގޮނޑު',
'ގޮނޑުދޮށް',
'ނިކަ',
'ރަތަފަ',
'ރުއް',
'ގަސް',
'މޫ',
'ރޮކެޓު',
'ބަކަރި',
'ބައްރެލި',
'ބިއްލޫރި',
'ބުޅާ',
'ބޮއްކުރާ',
'ބޮޑުމަސް',
'ކަނބިލި',
'މާކަނާ',
'އިރުވާހުދު',
'ރަތަފަ',
'މާރަނގަ',
'ހަރުފަ',
'މަކުނު',
'ކަނޑު',
'ކަނޑުމަސް',
'ކަރުދާސް',
'ކާޅު',
'ކުކުޅު',
'މަސް',
'ގެރި',
'ބަކަރި',
'ފަރުމަސް',
'ކަނޑުމަސް',
'ބޮޑުމަސް',
'ކުޑަމަސް',
'ގޯތި',
'މޫދު',
'ކަނޑު',
'ކޮންޓެއިނަރު',
'އަތަ',
'އިރުވާހުދު',
'ވަޑައިންގެ',
'ވިލު',
'މަނަވަރު',
'މަކުނު',
'މަތިންދާބޯޓު',
'މަގޫ',
'މަސް',
'މާރަނގަ',
'މާކަނާ',
'މުރަނގަ',
'މޫ',
'މޫދު',
'މޭވާ',
'ފަރުމަސް',
'ފަޅު',
'ގިރި',
'ފުޅި',
'ފެން',
'ގަނޑުފެން',
'މުރަނގަ',
'ހިރުނދު',
'ފޮތި',
'ދަގަނޑު',
'ދިއްގާ',
'ނިކަ',
'މަގޫ',
'އަތަ',
'މޭވާ',
'ދޯނި',
'ތަރުކާރި',
'ލަކުޑި',
'ގަނޑުފެން',
'ގަރާޖު',
'ގަސް',
'ގިރި',
'ގުދަން',
'ގެރި',
'ގޮނޑު',
'ގޮނޑުދޮށް',
'ގޯތި',
'ޕުލާސްޓިކު',
];
8 changes: 4 additions & 4 deletions src/locales/dv/company/suffix.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export default [
'ޕުރައިވެޓް ލިމިޓެޑް',
'.ޕވޓ. ލޓޑ',
'ޕަބްލިކް ލިމިޓެޑް',
'.ޕބލކ. ލޓޑ',
'ގުރޫޕް',
'.ޕވޓ. ލޓޑ',
'އޮފީސް',
'ގުރޫޕް',
'ޕަބްލިކް ލިމިޓެޑް',
'ޕުރައިވެޓް ލިމިޓެޑް',
];
Loading

0 comments on commit 5ba44bc

Please sign in to comment.