diff --git a/openpilot/selfdrive/selfdrived/alerts_offroad.json b/openpilot/selfdrive/selfdrived/alerts_offroad.json index 8ab6fc6ee8..1068ff1dea 100644 --- a/openpilot/selfdrive/selfdrived/alerts_offroad.json +++ b/openpilot/selfdrive/selfdrived/alerts_offroad.json @@ -13,7 +13,7 @@ "severity": 1 }, "Offroad_UpdateFailed": { - "text": "Unable to download updates\n%1", + "text": "Unable to download updates.\n%1", "severity": 1, "_comment": "Set extra field to the failed reason." }, diff --git a/openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py b/openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py index 2edbe94fa9..cfbddafdf7 100644 --- a/openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py +++ b/openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py @@ -109,7 +109,7 @@ class AlertItem(Widget): return title, body else: # No sentence boundary found, return full text as title - return "", text + return text.strip(), "" def _update_content(self): """Update text and calculate height."""