Skip to content

Commit

Permalink
Fix checkbox locale
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Sep 12, 2023
1 parent dc36bf3 commit 428a2b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Whisky/Views/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ struct BottleListEntry: View {
}

func showRemoveAlert(bottle: Bottle) {
let checkbox = NSButton(checkboxWithTitle: "button.removeAlert.checkbox", target: self, action: nil)
let checkbox = NSButton(checkboxWithTitle: String(localized: "button.removeAlert.checkbox"),
target: self, action: nil)
let alert = NSAlert()
alert.messageText = String(format: String(localized: "button.removeAlert.msg"),
bottle.settings.name)
Expand Down

0 comments on commit 428a2b5

Please sign in to comment.