Skip to content

Commit 773fc1f

Browse files
authoredJan 15, 2025··
refactor(locale): improve product_name data in en and tr (#3372)
* Reclassify 'Soft', 'Fresh', and 'Frozen' as adjectives in en locale * Add extra materials in en * Move some materials to adjectives for better categorization in tr * Add extra data to materials in tr * Run preflight
1 parent 6ec6f84 commit 773fc1f

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed
 

‎src/locales/en/commerce/product_name.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ export default {
66
'Elegant',
77
'Ergonomic',
88
'Fantastic',
9+
'Fresh',
10+
'Frozen',
911
'Generic',
1012
'Gorgeous',
1113
'Handcrafted',
@@ -22,20 +24,24 @@ export default {
2224
'Rustic',
2325
'Sleek',
2426
'Small',
27+
'Soft',
2528
'Tasty',
2629
'Unbranded',
2730
],
2831
material: [
32+
'Aluminum',
33+
'Bamboo',
2934
'Bronze',
35+
'Ceramic',
3036
'Concrete',
3137
'Cotton',
32-
'Fresh',
33-
'Frozen',
38+
'Gold',
3439
'Granite',
40+
'Marble',
3541
'Metal',
3642
'Plastic',
3743
'Rubber',
38-
'Soft',
44+
'Silk',
3945
'Steel',
4046
'Wooden',
4147
],

‎src/locales/tr/commerce/product_name.ts

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default {
22
adjective: [
3+
'Dondurulmuş',
34
'El Yapımı',
45
'El Üretimi',
56
'Ergonomik',
@@ -14,22 +15,27 @@ export default {
1415
'Mükemmel',
1516
'Pratik',
1617
'Rafine',
18+
'Taze',
19+
'Yumuşak',
1720
'Zeki',
1821
'İnanılmaz',
1922
'Şık',
2023
],
2124
material: [
2225
'Ahşap',
26+
'Altın',
27+
'Alüminyum',
28+
'Bambu',
2329
'Beton',
24-
'Dondurulmuş',
2530
'Granit',
2631
'Kauçuk',
32+
'Mermer',
2733
'Metal',
2834
'Pamuk',
2935
'Plastik',
30-
'Taze',
31-
'Yumuşak',
36+
'Seramik',
3237
'Çelik',
38+
'İpek',
3339
],
3440
product: [
3541
'Araba',

‎test/modules/__snapshots__/commerce.spec.ts.snap

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports[`commerce > 42 > productAdjective 1`] = `"Handcrafted"`;
3232

3333
exports[`commerce > 42 > productDescription 1`] = `"New salmon Pants with ergonomic design for crushing comfort"`;
3434

35-
exports[`commerce > 42 > productMaterial 1`] = `"Frozen"`;
35+
exports[`commerce > 42 > productMaterial 1`] = `"Cotton"`;
3636

3737
exports[`commerce > 42 > productName 1`] = `"Handcrafted Wooden Sausages"`;
3838

@@ -66,9 +66,9 @@ exports[`commerce > 1211 > product 1`] = `"Towels"`;
6666

6767
exports[`commerce > 1211 > productAdjective 1`] = `"Tasty"`;
6868

69-
exports[`commerce > 1211 > productDescription 1`] = `"Small Cheese designed with Wooden for right performance"`;
69+
exports[`commerce > 1211 > productDescription 1`] = `"Soft Cheese designed with Wooden for right performance"`;
7070

71-
exports[`commerce > 1211 > productMaterial 1`] = `"Wooden"`;
71+
exports[`commerce > 1211 > productMaterial 1`] = `"Steel"`;
7272

7373
exports[`commerce > 1211 > productName 1`] = `"Tasty Steel Cheese"`;
7474

@@ -100,10 +100,10 @@ exports[`commerce > 1337 > price > with min option 1`] = `"293.09"`;
100100

101101
exports[`commerce > 1337 > product 1`] = `"Chicken"`;
102102

103-
exports[`commerce > 1337 > productAdjective 1`] = `"Generic"`;
103+
exports[`commerce > 1337 > productAdjective 1`] = `"Frozen"`;
104104

105-
exports[`commerce > 1337 > productDescription 1`] = `"Innovative Car featuring lawful technology and Fresh construction"`;
105+
exports[`commerce > 1337 > productDescription 1`] = `"Innovative Car featuring lawful technology and Concrete construction"`;
106106

107-
exports[`commerce > 1337 > productMaterial 1`] = `"Fresh"`;
107+
exports[`commerce > 1337 > productMaterial 1`] = `"Ceramic"`;
108108

109-
exports[`commerce > 1337 > productName 1`] = `"Generic Concrete Chicken"`;
109+
exports[`commerce > 1337 > productName 1`] = `"Frozen Bronze Chicken"`;

0 commit comments

Comments
 (0)
Please sign in to comment.