Skip to content

Commit

Permalink
refactor(locale): normalize commerce data (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
xDivisionByZerox authored May 3, 2024
1 parent 97ff293 commit 425997f
Show file tree
Hide file tree
Showing 51 changed files with 874 additions and 875 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 = [
'commerce',
'company',
'database',
'date',
Expand Down
26 changes: 13 additions & 13 deletions src/locales/ar/commerce/department.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
export default [
'كتب',
'أحذية',
'أدوات',
'أطفال',
'أغراض رياضية',
'ألعاب',
'إلكترونيات',
'حواسيب',
'بيت',
'حديقة',
'أدوات',
'السيارات',
'بقالة',
'صحة',
'بيت',
'جمال',
'أطفال',
'حديقة',
'حواسيب',
'رضع',
'ملابس',
'أحذية',
'مجوهرات',
'أغراض رياضية',
'في الهواء الطلق',
'السيارات',
'صحة',
'صناعة',
'في الهواء الطلق',
'كتب',
'مجوهرات',
'ملابس',
];
72 changes: 36 additions & 36 deletions src/locales/ar/commerce/product_name.ts
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
export default {
adjective: [
'صغير',
'مريح',
'ريفي',
'أملس',
'بدون علامة',
'ذكي',
'رائع',
'لا يصدق',
'عملي',
'أملس',
'ممتاز',
'عام',
'يدويا',
'ريفي',
'صغير',
'صنع يدوي',
'طيب المذاق',
'عام',
'عملي',
'لا يصدق',
'مرخص',
'مريح',
'مشتق',
'بدون علامة',
'طيب المذاق',
'ممتاز',
'يدويا',
],
material: [
'فولاذ',
'خشبي',
'خرسانة',
'بلاستيك',
'قطن',
'خرسانة',
'خشبي',
'صوان',
'طازج',
'فولاذ',
'قطن',
'مجمد',
'مطاط',
'معدن',
'ناعم',
'طازج',
'مجمد',
],
product: [
'كرسي',
'سيارة',
'حاسوب',
'لوحة المفاتيح',
'فأر',
'دراجة هوائية',
'كرة',
'قفازات',
'بنطال',
'قميص',
'طاولة',
'أحذية',
'قبعة',
'مناشف',
'صابون',
'بنطال',
'بيتزا',
'تونة',
'جبن',
'حاسوب',
'دجاج',
'دراجة هوائية',
'رقائق بطاطس',
'سجق',
'سلطة',
'سمك',
'جبن',
'سيارة',
'صابون',
'طاولة',
'فأر',
'قبعة',
'قفازات',
'قميص',
'كرة',
'كرسي',
'لحم خنزير مقدد',
'بيتزا',
'سلطة',
'سجق',
'رقائق بطاطس',
'لوحة المفاتيح',
'مناشف',
],
};
24 changes: 12 additions & 12 deletions src/locales/az/commerce/department.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
export default [
'Kitablar',
'Filmlər',
'musiqi',
'oyunlar',
'Avtomobil',
'Ayyaqqabı',
'Elektronika',
'Kompyuterlər',
'Ev',
'садинструмент',
'Filmlər',
'Geyim',
'Kitablar',
'Kompyuterlər',
'Oyuncaqlar',
'Səhiyyə',
'bəzək',
'gözəllik',
'Oyuncaqlar',
'musiqi',
'oyunlar',
'turizm',
'uşaq üçün',
'Geyim',
'Ayyaqqabı',
'bəzək',
'İdman',
'turizm',
'Avtomobil',
'садинструмент',
];
16 changes: 8 additions & 8 deletions src/locales/az/commerce/product_name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ export default {
adjective: [
'Balaca',
'Ergonomik',
'Fantastik',
'Kobud',
'İntellektual',
'Möhtəşəm',
'Mükəmməl',
'Parlaq',
'İnanılmaz',
'Fantastik',
'İntellektual',
'Əlverişli',
'Parlaq',
'Mükəmməl',
],
material: ['Polad', 'Ağac', 'Beton', 'Plastik', 'Pambıq', 'Qranit', 'Rezin'],
material: ['Ağac', 'Beton', 'Pambıq', 'Plastik', 'Polad', 'Qranit', 'Rezin'],
product: [
'Stul',
'Avtomobil',
'Kompyuter',
'Beret',
'Kompyuter',
'Kulon',
'Kəmər',
'Stol',
'Stul',
'Sviter',
'Kəmər',
],
};
30 changes: 15 additions & 15 deletions src/locales/el/commerce/department.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
export default [
'Grocery',
'Sports',
'Αυτοκίνητο',
'Βιβλία',
'Ταινίες',
'Μουσική',
'Παιχνίδια',
'Βιομηχανικά',
'Εξοχή',
'Εργαλεία',
'Ηλεκτρονικές Συσκευές',
'Υπολογιστές',
'Σπίτι',
'Κήπος',
'Εργαλεία',
'Grocery',
'Υγεία',
'Κοσμήματα',
'Μουσική',
'Μωρό',
'Ομορφιά',
'Παιδί',
'Μωρό',
'Ρουχισμός',
'Παιχνίδια',
'Παπούτσια',
'Κοσμήματα',
'Sports',
'Εξοχή',
'Αυτοκίνητο',
'Βιομηχανικά',
'Ρουχισμός',
'Σπίτι',
'Ταινίες',
'Υγεία',
'Υπολογιστές',
];
40 changes: 20 additions & 20 deletions src/locales/el/commerce/product_name.ts
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
export default {
adjective: [
'Μικρό',
'Εργονομικό',
'Άδεια',
'Αγροτικό',
'Απίστευτο',
'Φανταστικό',
'Πρακτικό',
'Εργονομικό',
'Κομψό',
'Μικρό',
'Πρακτικό',
'Φανταστικό',
'Χειροποίητα',
'Χειροποίητο',
'Άδεια',
],
material: ['Ξύλινο', 'Πλαστικό', 'Μέταλο', 'Φρέσκο', 'Κατεψυγμένο'],
material: ['Κατεψυγμένο', 'Μέταλο', 'Ξύλινο', 'Πλαστικό', 'Φρέσκο'],
product: [
'Καρέκλα',
'Pizza',
'Αυτοκίνητο',
'Υπολογιστής',
'Πληκτρολόγιο',
'Ποντίκι',
'Ποδήλατο',
'Μπάλα',
'Γάντια',
'Καπέλο',
'Καρέκλα',
'Κοτόπουλο',
'Λουκάνικα',
'Μπάλα',
'Παντελόνι',
'Πουκάμισο',
'Τραπέζι',
'Παπούτσια',
'Καπέλο',
'Πετσέτες',
'Πληκτρολόγιο',
'Ποδήλατο',
'Ποντίκι',
'Πουκάμισο',
'Σαλάτα',
'Σαπούνι',
'Τραπέζι',
'Τυρί',
'Τόνος',
'Κοτόπουλο',
'Υπολογιστής',
'Ωάρι',
'Τυρί',
'Pizza',
'Σαλάτα',
'Λουκάνικα',
],
};
28 changes: 14 additions & 14 deletions src/locales/en/commerce/department.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
export default [
'Automotive',
'Baby',
'Beauty',
'Books',
'Movies',
'Music',
'Games',
'Electronics',
'Clothing',
'Computers',
'Home',
'Electronics',
'Games',
'Garden',
'Tools',
'Grocery',
'Health',
'Beauty',
'Toys',
'Home',
'Industrial',
'Jewelry',
'Kids',
'Baby',
'Clothing',
'Movies',
'Music',
'Outdoors',
'Shoes',
'Jewelry',
'Sports',
'Outdoors',
'Automotive',
'Industrial',
'Tools',
'Toys',
];
14 changes: 7 additions & 7 deletions src/locales/en/commerce/product_description.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
export default [
'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals',
"Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles",
'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit',
'Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support',
'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive',
'New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016',
'The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality',
'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart',
'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design',
'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J',
'The Football Is Good For Training And Recreational Purposes',
'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit',
"Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles",
'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart',
'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J',
'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive',
'The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients',
'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals',
'The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality',
];
Loading

0 comments on commit 425997f

Please sign in to comment.