Skip to content

Commit 25a2426

Browse files
committed
Change the word "action" -> "command"
1 parent f9d0b38 commit 25a2426

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Core/Sources/Environment/Environment.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public enum Environment {
152152
let error = AXUIElementPerformAction(button, kAXPressAction as CFString)
153153
if error != AXError.success {
154154
Logger.service
155-
.error("Trigger action \(name) failed: \(error.localizedDescription)")
155+
.error("Trigger command \(name) failed: \(error.localizedDescription)")
156156
throw error
157157
}
158158
}
@@ -162,7 +162,7 @@ public enum Environment {
162162
let error = AXUIElementPerformAction(button, kAXPressAction as CFString)
163163
if error != AXError.success {
164164
Logger.service
165-
.error("Trigger action \(name) failed: \(error.localizedDescription)")
165+
.error("Trigger command \(name) failed: \(error.localizedDescription)")
166166
throw error
167167
}
168168
} else {
@@ -199,7 +199,7 @@ public enum Environment {
199199
try await runAppleScript(appleScript)
200200
} catch {
201201
Logger.service
202-
.error("Trigger action \(name) failed: \(error.localizedDescription)")
202+
.error("Trigger command \(name) failed: \(error.localizedDescription)")
203203
throw error
204204
}
205205
}

Core/Sources/HostApp/DebugView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct DebugSettingsView: View {
2525
Text("Use custom scroll view workaround for smooth scrolling")
2626
}
2727
Toggle(isOn: $settings.triggerActionWithAccessibilityAPI) {
28-
Text("Trigger action with AccessibilityAPI")
28+
Text("Trigger command with AccessibilityAPI")
2929
}
3030
}
3131
.padding()

0 commit comments

Comments
 (0)