Skip to content

Commit

Permalink
fix: string formate
Browse files Browse the repository at this point in the history
  • Loading branch information
AkaShark committed Jan 30, 2024
1 parent d653d67 commit 4a937a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ extension GeneralKeyHolderWrapper {
// shortcut validate confict
if Shortcut.validateShortcut(key) {
if #available(macOS 12, *) {
confictAlterMessage = ShortcutConfictAlertMessage(message: String(localized: "shortcut_confict_message") + (Shortcut.shared.confictMenuItem?.title ?? ""))
confictAlterMessage = ShortcutConfictAlertMessage(message: String(localized: "shortcut_confict_message") + " " + (Shortcut.shared.confictMenuItem?.title ?? ""))
} else {
// Fallback on earlier versions
let msg = NSLocalizedString("shortcut_confict_message", comment: "") + (Shortcut.shared.confictMenuItem?.title ?? "")
let msg = NSLocalizedString("shortcut_confict_message", comment: "") + " " + (Shortcut.shared.confictMenuItem?.title ?? "")
confictAlterMessage = ShortcutConfictAlertMessage(message: msg)
}
recordView.clear()
Expand Down

0 comments on commit 4a937a3

Please sign in to comment.