Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(locale): activate data normalization for color #2837

Merged
merged 3 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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',
ST-DDT marked this conversation as resolved.
Show resolved Hide resolved
'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