← All repositories

crossmate

A collaborative crossword app for iPhone and iPad

git clone https://code.inqk.net/crossmate.git


commit 770f87759da7c4499080e987436cf34af7fe637c
parent b59a5e909158dd77df01ce8fdfd2839f4a222c30
Author: Michael Camilleri <[email protected]>
Date:   Sat,  4 Jul 2026 23:55:57 +0900

Make casing and punctuation consistent

Diffstat

MCrossmate/CrossmateApp.swift | 6+++---
MCrossmate/Models/ParticipantSummaries.swift | 2+-
MCrossmate/Models/ReplayControls.swift | 2+-
MCrossmate/Views/GameList/GameCardView.swift | 2+-
MCrossmate/Views/Puzzle/SuccessPanel.swift | 6+++---
MCrossmate/Views/Settings/SettingsView.swift | 2+-
MTests/Unit/GameSummaryThumbnailTests.swift | 2+-
MTests/Unit/PlayerRosterTests.swift | 2+-

8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Crossmate/CrossmateApp.swift b/Crossmate/CrossmateApp.swift

@@ -708,7 +708,7 @@ private struct PuzzleDisplayView: View {
     @State private var session: PlayerSession?
     @State private var roster: PlayerRoster?
     @State private var loadError: String?
-    @State private var loadingMessage = "Loading puzzle..."
+    @State private var loadingMessage = "Loading puzzle…"
     @State private var openPuzzleFollowUpTask: Task<Void, Never>?
 
     var body: some View {
@@ -831,13 +831,13 @@ private struct PuzzleDisplayView: View {
             session = nil
             roster = nil
             loadError = nil
-            loadingMessage = "Loading puzzle..."
+            loadingMessage = "Loading puzzle…"
             noteSessionPhase(scenePhase)
             Task { await services.badge.dismissDeliveredNotifications(for: gameID) }
 
             do {
                 if let plan = NYTPuzzleUpgrader.plan(for: gameID, store: store) {
-                    loadingMessage = "Updating puzzle..."
+                    loadingMessage = "Updating puzzle…"
                     let fetcher = services.nytFetcher
                     let outcome = await NYTPuzzleUpgrader.apply(plan: plan, store: store) { date in
                         try await fetcher.fetchPuzzle(for: date)

diff --git a/Crossmate/Models/ParticipantSummaries.swift b/Crossmate/Models/ParticipantSummaries.swift

@@ -82,7 +82,7 @@ enum ParticipantSummaries {
         for (authorID, color) in zip(sortedAuthorIDs, colors) {
             let name = nicknamesByAuthor[authorID]
                 ?? namesByAuthor[authorID]
-                ?? "Waiting for player..."
+                ?? "Waiting for player…"
             summaries.append(GameParticipantSummary(
                 authorID: authorID,
                 name: name,

diff --git a/Crossmate/Models/ReplayControls.swift b/Crossmate/Models/ReplayControls.swift

@@ -187,7 +187,7 @@ final class ReplayControls {
 
     /// Drops back to `.idle` so the next `load` re-checks. Triggered by the
     /// inbound-journal sync signal (a contributor's journal arrived) and by the
-    /// manual "Check again" affordance.
+    /// manual "Check Again" affordance.
     func retry() {
         status = .idle
         isPlaybackActive = false

diff --git a/Crossmate/Views/GameList/GameCardView.swift b/Crossmate/Views/GameList/GameCardView.swift

@@ -264,7 +264,7 @@ private struct GameParticipantsPopover: View {
                 .padding(.bottom, 8)
 
             if participants.isEmpty {
-                Text("Waiting for player...")
+                Text("Waiting for player…")
                     .font(.subheadline)
                     .foregroundStyle(.secondary)
                     .padding(.horizontal, 16)

diff --git a/Crossmate/Views/Puzzle/SuccessPanel.swift b/Crossmate/Views/Puzzle/SuccessPanel.swift

@@ -457,7 +457,7 @@ private struct ReplayScrubber: View {
                     .lineLimit(1)
             }
             Spacer(minLength: 8)
-            Button("Check again") { replay.retry() }
+            Button("Check Again") { replay.retry() }
                 .font(.caption.weight(.semibold))
                 .buttonStyle(.borderless)
         }
@@ -496,7 +496,7 @@ private struct PlaybackControl: View {
 
 /// Drives `.sheet(item:)`. Carries the initial rendered card (so the sheet
 /// never opens empty) plus closures to re-render the card and rebuild the
-/// caption when the "Include time" toggle changes.
+/// caption when the "Include Time" toggle changes.
 private struct SharePreviewItem: Identifiable {
     let id = UUID()
     let title: String
@@ -545,7 +545,7 @@ private struct SharePreviewSheet: View {
                     .padding()
                 }
 
-                Toggle("Include time", isOn: $includeClock)
+                Toggle("Include Time", isOn: $includeClock)
                     .disabled(!item.hasClock)
                     .padding(.horizontal)
 

diff --git a/Crossmate/Views/Settings/SettingsView.swift b/Crossmate/Views/Settings/SettingsView.swift

@@ -96,7 +96,7 @@ struct SettingsView: View {
                             showResetConfirmation = true
                         }
                         .alert(
-                            "Delete all puzzles?",
+                            "Delete All Puzzles?",
                             isPresented: $showResetConfirmation
                         ) {
                             Button("Delete All Puzzles", role: .destructive) {

diff --git a/Tests/Unit/GameSummaryThumbnailTests.swift b/Tests/Unit/GameSummaryThumbnailTests.swift

@@ -158,7 +158,7 @@ struct GameSummaryThumbnailTests {
         ))
 
         #expect(summary.allParticipants.map(\.authorID) == ["_Local", "_Alice", "_Bob"])
-        #expect(summary.allParticipants.map(\.name) == ["Local Player", "Ace", "Waiting for player..."])
+        #expect(summary.allParticipants.map(\.name) == ["Local Player", "Ace", "Waiting for player…"])
         #expect(summary.allParticipants.map(\.isLocal) == [true, false, false])
         let remoteParticipants = summary.allParticipants.filter { !$0.isLocal }
         // Collaborators are de-conflicted within the game, so the two remotes

diff --git a/Tests/Unit/PlayerRosterTests.swift b/Tests/Unit/PlayerRosterTests.swift

@@ -203,7 +203,7 @@ struct PlayerRosterTests {
         await roster.refresh()
 
         let remote = roster.entries.first { !$0.isLocal }
-        #expect(remote?.name == "Waiting for player...")
+        #expect(remote?.name == "Waiting for player…")
     }
 
     @Test("Current user placeholder is not shown as a remote player")