-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removed console log added by mistake in the SentryMonitoringAdapter class * Added translations for damage types
- Loading branch information
1 parent
3328f9e
commit 0892aa0
Showing
3 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { DamageType, TranslationObject } from '@monkvision/types'; | ||
|
||
/** | ||
* The translated labels for each damage type available in the SDK. | ||
*/ | ||
export const damageTypeLabels: Record<DamageType, TranslationObject> = { | ||
[DamageType.SCRATCH]: { | ||
en: 'Scratch', | ||
fr: 'Rayure', | ||
de: 'Kratzer', | ||
nl: 'Kras', | ||
}, | ||
[DamageType.DENT]: { | ||
en: 'Dent', | ||
fr: 'Bosse', | ||
de: 'Beule', | ||
nl: 'Deuk', | ||
}, | ||
[DamageType.BROKEN_GLASS]: { | ||
en: 'Broken Glass', | ||
fr: 'Bris de glace', | ||
de: 'Zerbrochenes Glas', | ||
nl: 'Gebroken glas', | ||
}, | ||
[DamageType.BROKEN_LIGHT]: { | ||
en: 'Broken Light', | ||
fr: 'Feu cassé', | ||
de: 'Kaputtem Licht', | ||
nl: 'Gebroken licht', | ||
}, | ||
[DamageType.HUBCAP_SCRATCH]: { | ||
en: 'Hubcap Scratch', | ||
fr: 'Enjoliveur rayé', | ||
de: 'Zerkratzte Radkappe', | ||
nl: 'Gebroken wieldop', | ||
}, | ||
[DamageType.MISSING_HUBCAP]: { | ||
en: 'Missing Hubcap', | ||
fr: 'Enjoliveur manquant', | ||
de: 'Fehlende Radkappe', | ||
nl: 'Ontbrekende wieldop', | ||
}, | ||
[DamageType.SMASH]: { | ||
en: 'Smash', | ||
fr: 'Collision', | ||
de: 'Zusammenstoß', | ||
nl: 'Botsing', | ||
}, | ||
[DamageType.BODY_CRACK]: { | ||
en: 'Body Crack', | ||
fr: 'Fissure dans la carrosserie', | ||
de: 'Karosserieriss', | ||
nl: 'Carrosseriescheur', | ||
}, | ||
[DamageType.MISSING_PIECE]: { | ||
en: 'Missing Piece', | ||
fr: 'Pièce manquante', | ||
de: 'Fehlendes Teil', | ||
nl: 'Ontbrekend onderdeel', | ||
}, | ||
[DamageType.RUSTINESS]: { | ||
en: 'Rustiness', | ||
fr: 'Rouille', | ||
de: 'Rostigkeit', | ||
nl: 'Roest', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './damageTypes'; | ||
export * from './vehicleParts'; | ||
export * from './image'; |