Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions packages/common/src/i18n/translations/vehicleParts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import { TranslationObject, VehiclePart } from '@monkvision/types';
* The translated labels for each vehicle part available in the SDK.
*/
export const vehiclePartLabels: Record<VehiclePart, TranslationObject> = {
[VehiclePart.IGNORE]: {
en: 'IGNORE',
fr: 'IGNORE',
de: 'IGNORE',
nl: 'IGNORE',
},
[VehiclePart.BUMPER_BACK]: {
en: 'Rear Bumper',
fr: 'Pare-chocs arrière',
Expand Down Expand Up @@ -466,10 +472,34 @@ export const vehiclePartLabels: Record<VehiclePart, TranslationObject> = {
de: 'Griff Rückseite Mitte',
nl: 'Handgreep Terug Midden',
},
[VehiclePart.IGNORE]: {
en: 'IGNORE',
fr: 'IGNORE',
de: 'IGNORE',
nl: 'IGNORE',
[VehiclePart.RIM_BACK_LEFT]: {
en: 'Back left rim',
fr: 'Jante arrière gauche',
de: 'Hintere linke Felge',
nl: 'Achtervelg links',
},
[VehiclePart.RIM_BACK_RIGHT]: {
en: 'Back right rim',
fr: 'Jante arrière droite',
de: 'Hintere rechte Felge',
nl: 'Achtervelg rechts',
},
[VehiclePart.RIM_FRONT_LEFT]: {
en: 'Front left rim',
fr: 'Jante avant gauche',
de: 'Vordere linke Felge',
nl: 'Voorvelg links',
},
[VehiclePart.RIM_FRONT_RIGHT]: {
en: 'Front right rim',
fr: 'Jante avant droite',
de: 'Vordere rechte Felge',
nl: 'Voorvelg rechts',
},
[VehiclePart.INTERIOR]: {
en: 'Interior',
fr: 'Intérieur',
de: 'Innenraum',
nl: 'Interieur',
},
};
5 changes: 5 additions & 0 deletions packages/types/src/state/part.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ export enum VehiclePart {
CAR_INSIDE = 'car_inside',
DAMAGED_CAR_INSIDE = 'damaged_car_inside',
HANDLE_BACK_CENTER = 'handle_back_center',
RIM_BACK_LEFT = 'rim_back_left',
RIM_BACK_RIGHT = 'rim_back_right',
RIM_FRONT_LEFT = 'rim_front_left',
RIM_FRONT_RIGHT = 'rim_front_right',
INTERIOR = 'interior',
}

/**
Expand Down
Loading