Browse Source

"Heads up!" -> "Heads up:"

master
Abhishek Banthia 8 months ago
parent
commit
fb0e54c9e8
  1. 4
      Clocker/Panel/Data Layer/TimezoneDataOperations.swift

4
Clocker/Panel/Data Layer/TimezoneDataOperations.swift

@ -73,11 +73,11 @@ extension TimezoneDataOperations {
if numberOfDays == 0 { if numberOfDays == 0 {
let hoursLeft = nextDaylightSavingsTransition.hours(from: newDate) let hoursLeft = nextDaylightSavingsTransition.hours(from: newDate)
let suffix = hoursLeft == 1 ? "hour" : "hours" let suffix = hoursLeft == 1 ? "hour" : "hours"
return "Heads up! DST transition will occur in \(hoursLeft) \(suffix)." return "Heads up: DST transition will occur in \(hoursLeft) \(suffix)."
} }
let suffix = numberOfDays == 1 ? "day" : "days" let suffix = numberOfDays == 1 ? "day" : "days"
return "Heads up! DST transition will occur in \(numberOfDays) \(suffix)." return "Heads up: DST transition will occur in \(numberOfDays) \(suffix)."
} }
func compactMenuTitle() -> String { func compactMenuTitle() -> String {

Loading…
Cancel
Save