f8d2c9e69b4c61fc89696df84f159e1a9c66b9a6

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Rename project from japanese to kaiwari

Diff

  1diff --git a/Package.swift b/Package.swift
  2index 7a6154c24bce5ede164e1ba0a6d7af5a9b4c58c4..dc5c87be65890b34a23599fc9498374486d04ea6 100644
  3--- a/Package.swift
  4+++ b/Package.swift
  5@@ -3,7 +3,7 @@
  6 import PackageDescription
  7 
  8 let package = Package(
  9-    name: "japanese",
 10+    name: "kaiwari",
 11     platforms: [
 12         .iOS("26.0"),
 13         .macOS("26.0"),
 14@@ -12,17 +12,17 @@ let package = Package(
 15         // An xtool project should contain exactly one library product,
 16         // representing the main app.
 17         .library(
 18-            name: "japanese",
 19-            targets: ["japanese"]
 20+            name: "kaiwari",
 21+            targets: ["kaiwari"]
 22         ),
 23     ],
 24     targets: [
 25         .target(
 26-            name: "japaneseShared"
 27+            name: "kaiwariShared"
 28         ),
 29         .target(
 30-            name: "japanese",
 31-            dependencies: ["japaneseShared"]
 32+            name: "kaiwari",
 33+            dependencies: ["kaiwariShared"]
 34         ),
 35     ]
 36 )
 37diff --git a/Resources/Info.plist b/Resources/Info.plist
 38index 9273746967611cf25442c31d0eaa8e0e39f2e52e..fe3e2c9074f1cc6db6825863fc2dc9823d1d8c57 100644
 39--- a/Resources/Info.plist
 40+++ b/Resources/Info.plist
 41@@ -8,6 +8,6 @@
 42         <true/>
 43     </dict>
 44     <key>NSMicrophoneUsageDescription</key>
 45-    <string>jp records your voice for push-to-talk practice.</string>
 46+    <string>Kaiwari records your voice for push-to-talk practice.</string>
 47 </dict>
 48 </plist>
 49diff --git a/Sources/japanese/APIClient.swift b/Sources/kaiwari/APIClient.swift
 50rename from Sources/japanese/APIClient.swift
 51rename to Sources/kaiwari/APIClient.swift
 52index 0620b3d0874d9e0c479b2bc6430afc5a7745df39..7b5d957bcd21304fabb745717852c4374351e08c 100644
 53--- a/Sources/japanese/APIClient.swift
 54+++ b/Sources/kaiwari/APIClient.swift
 55@@ -1,5 +1,5 @@
 56 import Foundation
 57-import japaneseShared
 58+import kaiwariShared
 59 
 60 struct LogEntry: Decodable, Sendable {
 61     let action: String?
 62diff --git a/Sources/japanese/ContentView.swift b/Sources/kaiwari/ContentView.swift
 63rename from Sources/japanese/ContentView.swift
 64rename to Sources/kaiwari/ContentView.swift
 65diff --git a/Sources/japanese/EntryView.swift b/Sources/kaiwari/EntryView.swift
 66rename from Sources/japanese/EntryView.swift
 67rename to Sources/kaiwari/EntryView.swift
 68diff --git a/Sources/japanese/GameStore.swift b/Sources/kaiwari/GameStore.swift
 69rename from Sources/japanese/GameStore.swift
 70rename to Sources/kaiwari/GameStore.swift
 71index b9cf8738426c91083eab2cd34093eba13a9757e6..a59929387a6136491c2a39d1a30fefaa265e118d 100644
 72--- a/Sources/japanese/GameStore.swift
 73+++ b/Sources/kaiwari/GameStore.swift
 74@@ -1,6 +1,6 @@
 75 import Foundation
 76 import Observation
 77-import japaneseShared
 78+import kaiwariShared
 79 
 80 @MainActor
 81 @Observable
 82diff --git a/Sources/japanese/GameView.swift b/Sources/kaiwari/GameView.swift
 83rename from Sources/japanese/GameView.swift
 84rename to Sources/kaiwari/GameView.swift
 85diff --git a/Sources/japanese/japaneseApp.swift b/Sources/kaiwari/KaiwariApp.swift
 86rename from Sources/japanese/japaneseApp.swift
 87rename to Sources/kaiwari/KaiwariApp.swift
 88index fd4b56e8f3ce50bbd11458e1673f8e7c1dc1082f..eeb94bf22cec141c6c1ab60bea19fc438173ec77 100644
 89--- a/Sources/japanese/japaneseApp.swift
 90+++ b/Sources/kaiwari/KaiwariApp.swift
 91@@ -1,7 +1,7 @@
 92 import SwiftUI
 93 
 94 @main
 95-struct japaneseApp: App {
 96+struct KaiwariApp: App {
 97     var body: some Scene {
 98         WindowGroup {
 99             ContentView()
100diff --git a/Sources/japanese/KeychainStore.swift b/Sources/kaiwari/KeychainStore.swift
101rename from Sources/japanese/KeychainStore.swift
102rename to Sources/kaiwari/KeychainStore.swift
103index c7f381caedff38abdbb1acad17e0089bd628352f..e9e800e03c0128533003002eee39818a4a1b8593 100644
104--- a/Sources/japanese/KeychainStore.swift
105+++ b/Sources/kaiwari/KeychainStore.swift
106@@ -45,7 +45,7 @@ enum KeychainStore {
107     private static func baseQuery(account: String) -> [String: Any] {
108         [
109             kSecClass as String: kSecClassGenericPassword,
110-            kSecAttrService as String: "com.example.japanese",
111+            kSecAttrService as String: "com.example.kaiwari",
112             kSecAttrAccount as String: account,
113         ]
114     }
115diff --git a/Sources/japanese/Player.swift b/Sources/kaiwari/Player.swift
116rename from Sources/japanese/Player.swift
117rename to Sources/kaiwari/Player.swift
118diff --git a/Sources/japanese/Recorder.swift b/Sources/kaiwari/Recorder.swift
119rename from Sources/japanese/Recorder.swift
120rename to Sources/kaiwari/Recorder.swift
121diff --git a/Sources/japanese/SettingsStore.swift b/Sources/kaiwari/SettingsStore.swift
122rename from Sources/japanese/SettingsStore.swift
123rename to Sources/kaiwari/SettingsStore.swift
124index ca4a47680ca838ddf644a2f0e9a23245b5679a82..bcbae773b7526bfdca81256c3671707e33b49639 100644
125--- a/Sources/japanese/SettingsStore.swift
126+++ b/Sources/kaiwari/SettingsStore.swift
127@@ -1,6 +1,6 @@
128 import Foundation
129 import Observation
130-import japaneseShared
131+import kaiwariShared
132 
133 @MainActor
134 @Observable
135diff --git a/Sources/japanese/SettingsView.swift b/Sources/kaiwari/SettingsView.swift
136rename from Sources/japanese/SettingsView.swift
137rename to Sources/kaiwari/SettingsView.swift
138index f5ea171fc8f769e2b32fb6594306d2d294878a2a..1027d68c46ea066b4092eaccd045476897edc184 100644
139--- a/Sources/japanese/SettingsView.swift
140+++ b/Sources/kaiwari/SettingsView.swift
141@@ -44,7 +44,7 @@ struct SettingsView: View {
142     }
143 
144     private var serverURLField: some View {
145-        let field = TextField("https://japanese.example.com", text: $serverURL)
146+        let field = TextField("https://kaiwari.example.com", text: $serverURL)
147 
148 #if os(iOS)
149         return field
150diff --git a/Sources/japaneseShared/ServerConfiguration.swift b/Sources/kaiwariShared/ServerConfiguration.swift
151rename from Sources/japaneseShared/ServerConfiguration.swift
152rename to Sources/kaiwariShared/ServerConfiguration.swift
153diff --git a/xtool.yml b/xtool.yml
154index 7ac1a2a4f3e4db2b2115626bb66c10025de2ac42..11bf67e451fafdc63fa52adeb6c20f0dc0560842 100644
155--- a/xtool.yml
156+++ b/xtool.yml
157@@ -1,3 +1,3 @@
158 version: 1
159-bundleID: com.example.japanese
160+bundleID: com.example.kaiwari
161 infoPath: Resources/Info.plist