From e1a97f779492dba86b83a44d3dc1793b47aaeba7 Mon Sep 17 00:00:00 2001 From: Samy Ouyahia Date: Mon, 9 Sep 2024 10:42:23 +0200 Subject: [PATCH] Added car_inside, damaged_car_inside and handle_back_center vehicle parts --- .../src/i18n/translations/vehicleParts.ts | 30 +++++++++++++++---- packages/types/src/state/part.ts | 3 ++ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/packages/common/src/i18n/translations/vehicleParts.ts b/packages/common/src/i18n/translations/vehicleParts.ts index 5c5b0fe23..3441e771b 100644 --- a/packages/common/src/i18n/translations/vehicleParts.ts +++ b/packages/common/src/i18n/translations/vehicleParts.ts @@ -442,16 +442,34 @@ export const vehiclePartLabels: Record = { de: 'Kofferraum', nl: 'Kofferbak', }, + [VehiclePart.BACKGROUND]: { + en: 'Background', + fr: 'Arrière-plan', + de: 'Hintergrund', + nl: 'Achtergrond', + }, + [VehiclePart.CAR_INSIDE]: { + en: 'Car Inside', + fr: 'Intérieur', + de: 'Auto innen', + nl: 'Auto binnen', + }, + [VehiclePart.DAMAGED_CAR_INSIDE]: { + en: 'Damaged Car Inside', + fr: 'Intérieur endommagé', + de: 'Beschädigtes Auto innen', + nl: 'Beschadigde auto binnen', + }, + [VehiclePart.HANDLE_BACK_CENTER]: { + en: 'Handle Back Center', + fr: 'Poignée arrière centre', + de: 'Griff Rückseite Mitte', + nl: 'Handgreep Terug Midden', + }, [VehiclePart.IGNORE]: { en: 'IGNORE', fr: 'IGNORE', de: 'IGNORE', nl: 'IGNORE', }, - [VehiclePart.BACKGROUND]: { - en: 'BACKGROUND', - fr: 'BACKGROUND', - de: 'BACKGROUND', - nl: 'BACKGROUND', - }, }; diff --git a/packages/types/src/state/part.ts b/packages/types/src/state/part.ts index 835c5716f..811d8c029 100644 --- a/packages/types/src/state/part.ts +++ b/packages/types/src/state/part.ts @@ -79,6 +79,9 @@ export enum VehiclePart { WIPER_BACK = 'wiper_back', WIPER_FRONT = 'wiper_front', WHEEL = 'wheel', + CAR_INSIDE = 'car_inside', + DAMAGED_CAR_INSIDE = 'damaged_car_inside', + HANDLE_BACK_CENTER = 'handle_back_center', } /**