File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Sources/KeyboardShortcuts Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -381,6 +381,9 @@ public enum KeyboardShortcuts {
381
381
382
382
private static func handleOnKeyDown( _ shortcut: Shortcut ) {
383
383
guard !isPaused else {
384
+ NSAlert . showModal (
385
+ for: nil ,
386
+ title: " keyboard_shortcut_used_by_other_action " . localized)
384
387
return
385
388
}
386
389
@@ -407,6 +410,9 @@ public enum KeyboardShortcuts {
407
410
408
411
private static func handleOnKeyUp( _ shortcut: Shortcut ) {
409
412
guard !isPaused else {
413
+ NSAlert . showModal (
414
+ for: nil ,
415
+ title: " keyboard_shortcut_used_by_other_action " . localized)
410
416
return
411
417
}
412
418
Original file line number Diff line number Diff line change 1
1
"record_shortcut" = "Record Shortcut";
2
2
"press_shortcut" = "Press Shortcut";
3
+ "keyboard_shortcut_used_by_other_action" = "This keyboard shortcut is already assigned to another action."
3
4
"keyboard_shortcut_used_by_menu_item" = "This keyboard shortcut cannot be used as it’s already used by the “%@” menu item.";
4
- "keyboard_shortcut_used_by_system" = "This keyboard shortcut cannot be used as it’s already a system-wide keyboard shortcut .";
5
+ "keyboard_shortcut_used_by_system" = "This keyboard shortcut cannot be used as it’s already a system-wide keyboard shortcut2 .";
5
6
"keyboard_shortcuts_can_be_changed" = "Most system-wide keyboard shortcuts can be changed in “System Settings › Keyboard › Keyboard Shortcuts”.";
6
7
"keyboard_shortcut_disallowed" = "Option modifier must be combined with Command or Control.";
7
8
"force_use_shortcut" = "Use Anyway";
You can’t perform that action at this time.
0 commit comments