diff --git a/app/src/main/java/com/tomerpacific/caridentifier/composable/CarInformation.kt b/app/src/main/java/com/tomerpacific/caridentifier/composable/CarInformation.kt index afc9ffa6..ad68a93e 100644 --- a/app/src/main/java/com/tomerpacific/caridentifier/composable/CarInformation.kt +++ b/app/src/main/java/com/tomerpacific/caridentifier/composable/CarInformation.kt @@ -144,7 +144,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( Icons.Default.Check, - contentDescription = "Check Icon", + contentDescription = null, tint = Color(0, 0, 0), ) } @@ -157,7 +157,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_key_icon), - "Key Icon", + contentDescription = null, tint = colorResource(R.color.yellow), ) } @@ -170,7 +170,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_fuel_type), - "Fuel Icon", + contentDescription = null, tint = colorResource(R.color.blue), ) } @@ -183,7 +183,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_shield), - "Safety Icon", + contentDescription = null, tint = colorResource(R.color.green), ) } @@ -196,7 +196,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_car_alert), - "Pollution Icon", + contentDescription = null, tint = colorResource(R.color.red), ) } @@ -209,7 +209,7 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_palette), - "Palette Icon", + contentDescription = null, tint = colorResource(R.color.brown), ) } @@ -222,8 +222,21 @@ fun CarInformation(details: CarDetails) { ) { Icon( painterResource(id = R.drawable.ic_road), - "Road Icon", + contentDescription = null, tint = colorResource(R.color.black), ) } + + CarDetailWithIcon( + iconId = "frameIcon", + labelText = stringResource(R.string.frame_number), + content = details.frameNumber, + tooltipDescription = stringResource(R.string.frame_number_tooltip_explanation), + ) { + Icon( + painterResource(id = R.drawable.ic_fact_check), + contentDescription = null, + tint = colorResource(R.color.purple_700), + ) + } } diff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xml index 46e2e161..e7749ce6 100644 --- a/app/src/main/res/values-en/strings.xml +++ b/app/src/main/res/values-en/strings.xml @@ -22,6 +22,7 @@ Air pollution rating: Color: First time on the road: + Vehicle Identification Number (VIN): You need to allow camera permissions through the Settings screen Camera permission is needed to scan license plate Please enter a 7 or 8 digit license plate number @@ -38,6 +39,7 @@ Displays the air pollution rating of the car, which is a score out of 15 Displays the color of the car Displays the date when the car was first registered to be on the road + Displays the vehicle identification number (VIN) No tire pressure data available for this car. Tire Pressure Front Tire PSI: diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a222929e..341e7015 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -21,6 +21,7 @@ רמת זיהום אוויר: צבע: עלה לכביש: + מספר שילדה: יש צורך לתת הרשאות למצלמה דרך מסך ההגדרות צריך לאשר הרשאה למצלמה כדי לסרוק לוחית רישוי הכנס מספר לוחית רישוי בן 7 או 8 ספרות @@ -37,6 +38,7 @@ מציג את דירוג זיהום האוויר של הרכב, שזהו מספר עד 15 מציג את צבע הרכב מציג את התאריך שבו הרכב נרשם לראשונה לעלות על הכביש + מציג את מספר השילדה של הרכב (VIN) לא נמצא מידע על לחץ אוויר בצמיגים עבור רכב זה. לחץ אוויר בצמיגים לחץ אוויר בצמיג קדמי: