From 34d1d2e8243a94c20de5a9ccffbfab99bae471e4 Mon Sep 17 00:00:00 2001 From: suyashgulati Date: Wed, 16 Oct 2024 15:47:22 +0530 Subject: [PATCH 1/3] refactor(vehicle): Enhancing vehicle manufacturers data with more non-US manufacturers --- src/locales/en/vehicle/manufacturer.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/locales/en/vehicle/manufacturer.ts b/src/locales/en/vehicle/manufacturer.ts index ee13f841bff..d612105ab40 100644 --- a/src/locales/en/vehicle/manufacturer.ts +++ b/src/locales/en/vehicle/manufacturer.ts @@ -20,9 +20,12 @@ export default [ 'Kia', 'Lamborghini', 'Land Rover', + 'Mahindra & Mahindra', + 'Maruti Suzuki', 'Maserati', 'Mazda', 'Mercedes Benz', + 'MG Motor', 'Mini', 'Mitsubishi', 'NIO', @@ -33,9 +36,11 @@ export default [ 'Renault', 'Rivian', 'Rolls Royce', + 'Skoda', 'Smart', 'Subaru', 'Suzuki', + 'Tata Motors', 'Tesla', 'Toyota', 'Vauxhall', From 4d7ee3485a7668b10f93afc052ff821aa9eb528c Mon Sep 17 00:00:00 2001 From: suyashgulati Date: Wed, 16 Oct 2024 15:56:55 +0530 Subject: [PATCH 2/3] Snapshot update --- src/locales/en/vehicle/manufacturer.ts | 2 +- test/modules/__snapshots__/vehicle.spec.ts.snap | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/locales/en/vehicle/manufacturer.ts b/src/locales/en/vehicle/manufacturer.ts index d612105ab40..3ce6862c6e5 100644 --- a/src/locales/en/vehicle/manufacturer.ts +++ b/src/locales/en/vehicle/manufacturer.ts @@ -20,12 +20,12 @@ export default [ 'Kia', 'Lamborghini', 'Land Rover', + 'MG Motor', 'Mahindra & Mahindra', 'Maruti Suzuki', 'Maserati', 'Mazda', 'Mercedes Benz', - 'MG Motor', 'Mini', 'Mitsubishi', 'NIO', diff --git a/test/modules/__snapshots__/vehicle.spec.ts.snap b/test/modules/__snapshots__/vehicle.spec.ts.snap index 9c5a6ebd5f3..81f91f79683 100644 --- a/test/modules/__snapshots__/vehicle.spec.ts.snap +++ b/test/modules/__snapshots__/vehicle.spec.ts.snap @@ -6,13 +6,13 @@ exports[`vehicle > 42 > color 1`] = `"lime"`; exports[`vehicle > 42 > fuel 1`] = `"Electric"`; -exports[`vehicle > 42 > manufacturer 1`] = `"Hyundai"`; +exports[`vehicle > 42 > manufacturer 1`] = `"Jeep"`; exports[`vehicle > 42 > model 1`] = `"Durango"`; exports[`vehicle > 42 > type 1`] = `"Extended Cab Pickup"`; -exports[`vehicle > 42 > vehicle 1`] = `"Hyundai Wrangler"`; +exports[`vehicle > 42 > vehicle 1`] = `"Jeep Wrangler"`; exports[`vehicle > 42 > vin 1`] = `"CYRK551VKPAZ82113"`; @@ -42,13 +42,13 @@ exports[`vehicle > 1337 > color 1`] = `"indigo"`; exports[`vehicle > 1337 > fuel 1`] = `"Electric"`; -exports[`vehicle > 1337 > manufacturer 1`] = `"Ferrari"`; +exports[`vehicle > 1337 > manufacturer 1`] = `"Fiat"`; exports[`vehicle > 1337 > model 1`] = `"Challenger"`; exports[`vehicle > 1337 > type 1`] = `"Coupe"`; -exports[`vehicle > 1337 > vehicle 1`] = `"Ferrari Aventador"`; +exports[`vehicle > 1337 > vehicle 1`] = `"Fiat Aventador"`; exports[`vehicle > 1337 > vin 1`] = `"859FAH8ZR3JL19477"`; From 00fb537a54133786eb2424f2d9f650c2308abf9f Mon Sep 17 00:00:00 2001 From: suyashgulati Date: Thu, 17 Oct 2024 04:01:28 +0530 Subject: [PATCH 3/3] Minor adjustments to car manufacturers --- src/locales/en/vehicle/manufacturer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/locales/en/vehicle/manufacturer.ts b/src/locales/en/vehicle/manufacturer.ts index 3ce6862c6e5..4b88744e019 100644 --- a/src/locales/en/vehicle/manufacturer.ts +++ b/src/locales/en/vehicle/manufacturer.ts @@ -20,9 +20,9 @@ export default [ 'Kia', 'Lamborghini', 'Land Rover', - 'MG Motor', + 'MG', 'Mahindra & Mahindra', - 'Maruti Suzuki', + 'Maruti', 'Maserati', 'Mazda', 'Mercedes Benz', @@ -40,7 +40,7 @@ export default [ 'Smart', 'Subaru', 'Suzuki', - 'Tata Motors', + 'Tata', 'Tesla', 'Toyota', 'Vauxhall',