Clarify fuel savings comparison labels
This commit is contained in:
@@ -143,6 +143,13 @@ enum FuelSavingsFormat {
|
||||
: "\(distanceText) extra return travel"
|
||||
}
|
||||
|
||||
/// Compact comparison copy kept outside the coloured verdict capsule.
|
||||
/// "Nearest" refers to the existing shortest-journey baseline selection;
|
||||
/// it does not claim a straight-line comparison.
|
||||
static func comparisonLabel(status: FuelSavingsStatus) -> String {
|
||||
status == .baseline ? "your baseline" : "vs nearest station"
|
||||
}
|
||||
|
||||
/// VoiceOver form of `extraTravelLabel`. The abbreviation and the unit suffix
|
||||
/// are spoken as words ("Approximately 6.4 miles extra return travel") because
|
||||
/// synthesizers render "Approx." and "mi" inconsistently.
|
||||
|
||||
Reference in New Issue
Block a user