Skip to content

Commit

Permalink
refactor(locale): activate data normalization for color
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox committed Apr 19, 2024
1 parent 016a5b6 commit 9555be8
Show file tree
Hide file tree
Showing 27 changed files with 389 additions and 390 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 = [
'color',
'commerce',
'company',
'database',
Expand Down
36 changes: 18 additions & 18 deletions src/locales/ar/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
export default [
'أبيض',
'أحمر',
'أحمر غامق',
'أحمر فاتح',
'أخضر',
'أخضر غامق',
'أخضر فاتح',
'زيتوني',
'فيروزي',
'أرجواني',
'أرجواني خفيف',
'أرجواني فاتح',
'أزرق',
'أزرق سماوي',
'أزرق غامق',
'أزرق فاتح',
'تركواز',
'أزرق سماوي',
'أصفر',
'ليموني',
'أرجواني',
'بنفسجي',
'أرجواني فاتح',
'أرجواني خفيف',
'أبيض',
'أسمر',
'أسود',
'أصفر',
'برتقالي',
'زهري',
'بنفسجي',
'بني',
'كستنائي',
'أسمر',
'عاجي',
'نيلي',
'تركواز',
'ذهبي',
'فضي',
'رمادي',
'رصاصي',
'رمادي',
'زهري',
'زيتوني',
'عاجي',
'فضي',
'فيروزي',
'كستنائي',
'ليموني',
'نيلي',
];
2 changes: 1 addition & 1 deletion src/locales/az/color/human.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ export default [
'ala',
'açıq bənövşəyi',
'ağ',
'mavi',
'boz',
'bənövşəyi',
'göy rəng',
'gümüşü',
'kardinal',
'mavi',
'narıncı',
'qara',
'qırmızı',
Expand Down
56 changes: 28 additions & 28 deletions src/locales/base/color/space.ts
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
export default [
'CIE 1931 XYZ',
'CIEUVW',
'Uniform Color Spaces (UCSs)',
'CIELUV',
'CIELAB',
'HSLuv',
'sRGB',
'Academy Color Encoding System (ACES)',
'Adobe RGB',
'Adobe Wide Gamut RGB',
'Rec. 2100',
'ProPhoto RGB Color Space',
'scRGB',
'British Standard Colour (BS)',
'CIE 1931 XYZ',
'CIELAB',
'CIELUV',
'CIEUVW',
'CMY',
'CMYK',
'DCI-P3',
'Display-P3',
'Rec. 601',
'Rec. 709',
'Academy Color Encoding System (ACES)',
'Rec. 2020',
'YPbPr',
'YDbDr',
'YIQ',
'xvYCC',
'sYCC',
'HSV',
'Federal Standard 595C',
'HKS',
'HSL',
'HWB',
'RGBA',
'HSLA',
'HSLuv',
'HSV',
'HWB',
'LCh',
'CMY',
'CMYK',
'LMS',
'Munsell Color System',
'Natural Color System (NSC)',
'Pantone Matching System (PMS)',
'ProPhoto RGB Color Space',
'RAL',
'Federal Standard 595C',
'British Standard Colour (BS)',
'HKS',
'LMS',
'RG',
'RGBA',
'RGK',
'Rec. 2020',
'Rec. 2100',
'Rec. 601',
'Rec. 709',
'Uniform Color Spaces (UCSs)',
'YDbDr',
'YIQ',
'YPbPr',
'sRGB',
'sYCC',
'scRGB',
'xvYCC',
];
20 changes: 10 additions & 10 deletions src/locales/dv/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
export default [
'ރަތް',
'ފެހިކުލަ',
'ހުދު',
'ނާރިނގުކުލަ',
'ނޫ',
'ރަންކުލަ',
'ރަތް',
'ރިހިކުލަ',
'ރީނދޫކުލަ',
'ނާރިނގުކުލަ',
'ދަނބުކުލަ',
'މަޑުފެހި',
'ވިލުނޫ',
'ހުދު',
'ކަޅު',
'އަޅިކުލަ',
'ފިޔާތޮށިކުލަ',
'ވިލުނޫ',
'މަޑުފެހި',
'މުށިކުލަ',
'ރަންކުލަ',
'ރިހިކުލަ',
'ފިޔާތޮށިކުލަ',
'ފެހިކުލަ',
'ދަނބުކުލަ',
];
20 changes: 10 additions & 10 deletions src/locales/el/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
export default [
'κοκκικο',
'πράσινο',
'μπλε',
'ασημί',
'βιολετί',
'γκρί',
'κίτρινο',
'μωβ',
'κοκκικο',
'κυανό',
'λαδί',
'λευκό',
'μαύρο',
'μπλε',
'μωβ',
'πορτοκαλί',
'πράσινο',
'ροζ',
'γκρί',
'βιολετί',
'τρικουάζ',
'λαδί',
'χρυσό',
'φουξια',
'κυανό',
'ασημί',
'χρυσό',
];
50 changes: 25 additions & 25 deletions src/locales/en/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
export default [
'red',
'green',
'azure',
'black',
'blue',
'yellow',
'purple',
'cyan',
'fuchsia',
'gold',
'green',
'grey',
'indigo',
'ivory',
'lavender',
'lime',
'magenta',
'maroon',
'mint green',
'teal',
'white',
'black',
'olive',
'orange',
'orchid',
'pink',
'grey',
'maroon',
'violet',
'turquoise',
'tan',
'sky blue',
'salmon',
'plum',
'orchid',
'olive',
'magenta',
'lime',
'ivory',
'indigo',
'gold',
'fuchsia',
'cyan',
'azure',
'lavender',
'purple',
'red',
'salmon',
'silver',
'sky blue',
'tan',
'teal',
'turquoise',
'violet',
'white',
'yellow',
];
10 changes: 5 additions & 5 deletions src/locales/es/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export default [
'Rojo',
'Amarillo',
'Azul',
'Negro',
'Gris',
'Blanco',
'Amarillo',
'Verde',
'Gris',
'Morado',
'Negro',
'Rojo',
'Verde',
'Violeta',
];
42 changes: 21 additions & 21 deletions src/locales/es_MX/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
export default [
'rojo',
'verde',
'azul',
'amarillo',
'morado',
'Lima',
'Menta verde',
'teal',
'blanco',
'negro',
'Naranja',
'Rosa',
'gris',
'marrón',
'violeta',
'turquesa',
'tan',
'aceituna',
'amarillo',
'azul',
'blanco',
'cian',
'cielo azul',
'salmón',
'ciruela',
'orquídea',
'aceituna',
'fucsia',
'gris',
'lavanda',
'magenta',
'Lima',
'marfil',
'índigo',
'marrón',
'morado',
'negro',
'oro',
'fucsia',
'cian',
'lavanda',
'orquídea',
'plata',
'rojo',
'salmón',
'tan',
'teal',
'turquesa',
'verde',
'violeta',
'índigo',
];
24 changes: 12 additions & 12 deletions src/locales/fa/color/human.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
export default [
'قرمز',
'سبز',
'آبی',
'زرد',
'آبی آسمانی',
'ارغوانی',
'بنفش',
'فیروزه ای',
'سفید',
'سیاه',
'قهوه ای',
'نارنجی',
'صورتی',
'خاکستری',
'خرمایی',
'آبی آسمانی',
'ارغوانی',
'زرد',
'زیتونی',
'نیلی',
'سبز',
'سفید',
'سیاه',
'صورتی',
'طلایی',
'فیروزه ای',
'قرمز',
'قهوه ای',
'لاجوردی',
'نارنجی',
'نقره ای',
'نیلی',
];
Loading

0 comments on commit 9555be8

Please sign in to comment.