diff --git a/openpilot/starpilot/galaxy/localization_settings.py b/openpilot/starpilot/galaxy/localization_settings.py index 0f5742a524..340bde2e1f 100644 --- a/openpilot/starpilot/galaxy/localization_settings.py +++ b/openpilot/starpilot/galaxy/localization_settings.py @@ -26,7 +26,7 @@ class LocalizationSettingsOwner: def snapshot(self): rows = [] for key, label, reason in ( - ("IsMetric", "Use Kilometers (km/h)", "On uses kilometers; Off uses miles. Saved speed-limit offsets keep their physical values."), + ("IsMetric", "Use Metric", "On uses kilometers; Off uses miles. Saved speed-limit offsets keep their physical values."), ("IsRhdDetected", "Right-Hand Drive", "Sets the initial driver-monitoring side for the next drive. Automatic wheel-side detection continues."), ): raw, readable = read_saved(self.params, key, 8) diff --git a/openpilot/starpilot/galaxy/tests/test_localization_settings.py b/openpilot/starpilot/galaxy/tests/test_localization_settings.py index ee72506ba3..cd483424ff 100644 --- a/openpilot/starpilot/galaxy/tests/test_localization_settings.py +++ b/openpilot/starpilot/galaxy/tests/test_localization_settings.py @@ -23,7 +23,7 @@ def test_real_gateway_units_and_wheel_side_without_a_vehicle(tmp_path): def preview(index, value): page = gateway.page("localization", token, generation) assert page["title"] == "Localization" and not page["vehicleIdentified"] - assert [row["label"] for row in page["rows"]] == ["Use Kilometers (km/h)", "Right-Hand Drive", "Language"] + assert [row["label"] for row in page["rows"]] == ["Use Metric", "Right-Hand Drive", "Language"] return gateway.preview(page["view"], index, 0, token, generation, value=value)["intent"] assert gateway.confirm(preview(0, "On"), token, generation)