From f7ce5fb94c6e939b4e30f847ca508a446a37a243 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 11 Jun 2025 17:27:41 -0700 Subject: [PATCH] Remove extra newlines in translations --- selfdrive/ui/qt/offroad/settings.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index 0326c67e1e..6529e83395 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -298,7 +298,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) { } void DevicePanel::updateCalibDescription() { - QString desc = tr("\nopenpilot requires the device to be mounted within 4° left or right and within 5° up or 9° down."); + QString desc = tr("openpilot requires the device to be mounted within 4° left or right and within 5° up or 9° down."); std::string calib_bytes = params.get("CalibrationParams"); if (!calib_bytes.empty()) { try { @@ -359,7 +359,8 @@ void DevicePanel::updateCalibDescription() { } } - desc += tr("\n\nopenpilot is continuously calibrating, resetting is rarely required. " + desc += "\n\n"; + desc += tr("openpilot is continuously calibrating, resetting is rarely required. " "Resetting calibration will restart openpilot if the car is powered on."); resetCalibBtn->setDescription(desc); }