Skip to content

Commit 425997f

Browse files
refactor(locale): normalize commerce data (#2868)
1 parent 97ff293 commit 425997f

51 files changed

Lines changed: 874 additions & 875 deletions

Some content is hidden

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

scripts/generate-locales.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) {
312312

313313
const legacyDefinitions = ['app', 'cell_phone', 'team'];
314314
const definitionsToSkip = [
315-
'commerce',
316315
'company',
317316
'database',
318317
'date',
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
export default [
2-
'كتب',
2+
'أحذية',
3+
'أدوات',
4+
'أطفال',
5+
'أغراض رياضية',
36
'ألعاب',
47
'إلكترونيات',
5-
'حواسيب',
6-
'بيت',
7-
'حديقة',
8-
'أدوات',
8+
'السيارات',
99
'بقالة',
10-
'صحة',
10+
'بيت',
1111
'جمال',
12-
'أطفال',
12+
'حديقة',
13+
'حواسيب',
1314
'رضع',
14-
'ملابس',
15-
'أحذية',
16-
'مجوهرات',
17-
'أغراض رياضية',
18-
'في الهواء الطلق',
19-
'السيارات',
15+
'صحة',
2016
'صناعة',
17+
'في الهواء الطلق',
18+
'كتب',
19+
'مجوهرات',
20+
'ملابس',
2121
];
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
export default {
22
adjective: [
3-
'صغير',
4-
'مريح',
5-
'ريفي',
3+
'أملس',
4+
'بدون علامة',
65
'ذكي',
76
'رائع',
8-
'لا يصدق',
9-
'عملي',
10-
'أملس',
11-
'ممتاز',
12-
'عام',
13-
'يدويا',
7+
'ريفي',
8+
'صغير',
149
'صنع يدوي',
10+
'طيب المذاق',
11+
'عام',
12+
'عملي',
13+
'لا يصدق',
1514
'مرخص',
15+
'مريح',
1616
'مشتق',
17-
'بدون علامة',
18-
'طيب المذاق',
17+
'ممتاز',
18+
'يدويا',
1919
],
2020
material: [
21-
'فولاذ',
22-
'خشبي',
23-
'خرسانة',
2421
'بلاستيك',
25-
'قطن',
22+
'خرسانة',
23+
'خشبي',
2624
'صوان',
25+
'طازج',
26+
'فولاذ',
27+
'قطن',
28+
'مجمد',
2729
'مطاط',
2830
'معدن',
2931
'ناعم',
30-
'طازج',
31-
'مجمد',
3232
],
3333
product: [
34-
'كرسي',
35-
'سيارة',
36-
'حاسوب',
37-
'لوحة المفاتيح',
38-
'فأر',
39-
'دراجة هوائية',
40-
'كرة',
41-
'قفازات',
42-
'بنطال',
43-
'قميص',
44-
'طاولة',
4534
'أحذية',
46-
'قبعة',
47-
'مناشف',
48-
'صابون',
35+
'بنطال',
36+
'بيتزا',
4937
'تونة',
38+
'جبن',
39+
'حاسوب',
5040
'دجاج',
41+
'دراجة هوائية',
42+
'رقائق بطاطس',
43+
'سجق',
44+
'سلطة',
5145
'سمك',
52-
'جبن',
46+
'سيارة',
47+
'صابون',
48+
'طاولة',
49+
'فأر',
50+
'قبعة',
51+
'قفازات',
52+
'قميص',
53+
'كرة',
54+
'كرسي',
5355
'لحم خنزير مقدد',
54-
'بيتزا',
55-
'سلطة',
56-
'سجق',
57-
'رقائق بطاطس',
56+
'لوحة المفاتيح',
57+
'مناشف',
5858
],
5959
};
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
export default [
2-
'Kitablar',
3-
'Filmlər',
4-
'musiqi',
5-
'oyunlar',
2+
'Avtomobil',
3+
'Ayyaqqabı',
64
'Elektronika',
7-
'Kompyuterlər',
85
'Ev',
9-
'садинструмент',
6+
'Filmlər',
7+
'Geyim',
8+
'Kitablar',
9+
'Kompyuterlər',
10+
'Oyuncaqlar',
1011
'Səhiyyə',
12+
'bəzək',
1113
'gözəllik',
12-
'Oyuncaqlar',
14+
'musiqi',
15+
'oyunlar',
16+
'turizm',
1317
'uşaq üçün',
14-
'Geyim',
15-
'Ayyaqqabı',
16-
'bəzək',
1718
'İdman',
18-
'turizm',
19-
'Avtomobil',
19+
'садинструмент',
2020
];

src/locales/az/commerce/product_name.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ export default {
22
adjective: [
33
'Balaca',
44
'Ergonomik',
5+
'Fantastik',
56
'Kobud',
6-
'İntellektual',
77
'Möhtəşəm',
8+
'Mükəmməl',
9+
'Parlaq',
810
'İnanılmaz',
9-
'Fantastik',
11+
'İntellektual',
1012
'Əlverişli',
11-
'Parlaq',
12-
'Mükəmməl',
1313
],
14-
material: ['Polad', 'Ağac', 'Beton', 'Plastik', 'Pambıq', 'Qranit', 'Rezin'],
14+
material: ['Ağac', 'Beton', 'Pambıq', 'Plastik', 'Polad', 'Qranit', 'Rezin'],
1515
product: [
16-
'Stul',
1716
'Avtomobil',
18-
'Kompyuter',
1917
'Beret',
18+
'Kompyuter',
2019
'Kulon',
20+
'Kəmər',
2121
'Stol',
22+
'Stul',
2223
'Sviter',
23-
'Kəmər',
2424
],
2525
};
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
export default [
2+
'Grocery',
3+
'Sports',
4+
'Αυτοκίνητο',
25
'Βιβλία',
3-
'Ταινίες',
4-
'Μουσική',
5-
'Παιχνίδια',
6+
'Βιομηχανικά',
7+
'Εξοχή',
8+
'Εργαλεία',
69
'Ηλεκτρονικές Συσκευές',
7-
'Υπολογιστές',
8-
'Σπίτι',
910
'Κήπος',
10-
'Εργαλεία',
11-
'Grocery',
12-
'Υγεία',
11+
'Κοσμήματα',
12+
'Μουσική',
13+
'Μωρό',
1314
'Ομορφιά',
1415
'Παιδί',
15-
'Μωρό',
16-
'Ρουχισμός',
16+
'Παιχνίδια',
1717
'Παπούτσια',
18-
'Κοσμήματα',
19-
'Sports',
20-
'Εξοχή',
21-
'Αυτοκίνητο',
22-
'Βιομηχανικά',
18+
'Ρουχισμός',
19+
'Σπίτι',
20+
'Ταινίες',
21+
'Υγεία',
22+
'Υπολογιστές',
2323
];
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
export default {
22
adjective: [
3-
'Μικρό',
4-
'Εργονομικό',
3+
'Άδεια',
54
'Αγροτικό',
65
'Απίστευτο',
7-
'Φανταστικό',
8-
'Πρακτικό',
6+
'Εργονομικό',
97
'Κομψό',
8+
'Μικρό',
9+
'Πρακτικό',
10+
'Φανταστικό',
1011
'Χειροποίητα',
1112
'Χειροποίητο',
12-
'Άδεια',
1313
],
14-
material: ['Ξύλινο', 'Πλαστικό', 'Μέταλο', 'Φρέσκο', 'Κατεψυγμένο'],
14+
material: ['Κατεψυγμένο', 'Μέταλο', 'Ξύλινο', 'Πλαστικό', 'Φρέσκο'],
1515
product: [
16-
'Καρέκλα',
16+
'Pizza',
1717
'Αυτοκίνητο',
18-
'Υπολογιστής',
19-
'Πληκτρολόγιο',
20-
'Ποντίκι',
21-
'Ποδήλατο',
22-
'Μπάλα',
2318
'Γάντια',
19+
'Καπέλο',
20+
'Καρέκλα',
21+
'Κοτόπουλο',
22+
'Λουκάνικα',
23+
'Μπάλα',
2424
'Παντελόνι',
25-
'Πουκάμισο',
26-
'Τραπέζι',
2725
'Παπούτσια',
28-
'Καπέλο',
2926
'Πετσέτες',
27+
'Πληκτρολόγιο',
28+
'Ποδήλατο',
29+
'Ποντίκι',
30+
'Πουκάμισο',
31+
'Σαλάτα',
3032
'Σαπούνι',
33+
'Τραπέζι',
34+
'Τυρί',
3135
'Τόνος',
32-
'Κοτόπουλο',
36+
'Υπολογιστής',
3337
'Ωάρι',
34-
'Τυρί',
35-
'Pizza',
36-
'Σαλάτα',
37-
'Λουκάνικα',
3838
],
3939
};
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
export default [
2+
'Automotive',
3+
'Baby',
4+
'Beauty',
25
'Books',
3-
'Movies',
4-
'Music',
5-
'Games',
6-
'Electronics',
6+
'Clothing',
77
'Computers',
8-
'Home',
8+
'Electronics',
9+
'Games',
910
'Garden',
10-
'Tools',
1111
'Grocery',
1212
'Health',
13-
'Beauty',
14-
'Toys',
13+
'Home',
14+
'Industrial',
15+
'Jewelry',
1516
'Kids',
16-
'Baby',
17-
'Clothing',
17+
'Movies',
18+
'Music',
19+
'Outdoors',
1820
'Shoes',
19-
'Jewelry',
2021
'Sports',
21-
'Outdoors',
22-
'Automotive',
23-
'Industrial',
22+
'Tools',
23+
'Toys',
2424
];
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
export default [
2+
'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals',
3+
"Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles",
4+
'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit',
25
'Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support',
3-
'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive',
46
'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',
5-
'The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality',
7+
'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart',
68
'The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design',
7-
'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J',
89
'The Football Is Good For Training And Recreational Purposes',
9-
'Carbonite web goalkeeper gloves are ergonomically designed to give easy fit',
10-
"Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles",
11-
'New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart',
10+
'The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J',
11+
'The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive',
1212
'The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients',
13-
'Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals',
13+
'The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality',
1414
];

0 commit comments

Comments
 (0)