diff --git a/FuelBoard/StationDetailView.swift b/FuelBoard/StationDetailView.swift index 8362697..41599e6 100644 --- a/FuelBoard/StationDetailView.swift +++ b/FuelBoard/StationDetailView.swift @@ -29,7 +29,7 @@ struct StationDetailView: View { var onToggleFavourite: (() -> Void)? = nil @Environment(\.dismiss) private var dismiss @State private var showingReportIssueConfirmation = false - /// Transient "Copied" confirmation on the Address row. Cleared by a task so + /// Transient "Postcode copied" confirmation on the Address row. Cleared by a task so /// the caption fades out on its own. @State private var showingCopied = false @State private var copyResetTask: Task? @@ -137,7 +137,7 @@ struct StationDetailView: View { // The whole row is a copy control: it puts JUST the postcode // on the clipboard so it can be pasted into another // navigation app. The copy glyph sits ON the address line, - // and the "Copied" confirmation is a capsule that floats OVER + // and the "Postcode copied" confirmation is a capsule that floats OVER // THIS ROW — it confirms the address, so it must not hover // over the map. It is an overlay, so nothing moves while it is // up, and `allowsHitTesting(false)` keeps the row tappable @@ -172,7 +172,7 @@ struct StationDetailView: View { if showingCopied { HStack(spacing: 4) { Image(systemName: "checkmark") - Text("Copied") + Text("Postcode copied") } .font(.footnote.weight(.semibold)) .foregroundStyle(.green) @@ -296,12 +296,12 @@ struct StationDetailView: View { ) } } - // The "Copied" fade-out task must not outlive the sheet. + // The "Postcode copied" fade-out task must not outlive the sheet. .onDisappear { copyResetTask?.cancel() } #if DEBUG // QA hook: `-qaCopyPostcode` runs the REAL copy on open, so the // clipboard value (read back with `xcrun simctl pbpaste`) and the - // "Copied" confirmation can be verified without a tap — simctl + // "Postcode copied" confirmation can be verified without a tap — simctl // cannot drive taps into the Simulator. .task { guard ProcessInfo.processInfo.arguments.contains("-qaCopyPostcode") else { return } diff --git a/FuelBoard/en.lproj/Localizable.strings b/FuelBoard/en.lproj/Localizable.strings index 6487386..8eec127 100644 --- a/FuelBoard/en.lproj/Localizable.strings +++ b/FuelBoard/en.lproj/Localizable.strings @@ -71,8 +71,8 @@ "Name" = "Name"; "Address" = "Address"; "Distance" = "Distance"; -"Copied" = "Copied"; "Copies the postcode" = "Copies the postcode"; +"Postcode copied" = "Postcode copied"; "Address: %@" = "Address: %@"; "Directions to %@" = "Directions to %@"; "Opens Apple Maps with driving directions" = "Opens Apple Maps with driving directions";