Add FinderOpen extension to localizable

This commit is contained in:
Alin
2024-10-15 16:29:08 -06:00
parent 8fea0e57c9
commit 75440f7b55
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ class FinderOpen: FIFinderSync {
if let selectedItemURLs = FIFinderSyncController.default().selectedItemURLs(), if let selectedItemURLs = FIFinderSyncController.default().selectedItemURLs(),
selectedItemURLs.count == 1, selectedItemURLs.first?.pathExtension == "app" { selectedItemURLs.count == 1, selectedItemURLs.first?.pathExtension == "app" {
// Add menu item if the selected item is a .app file // Add menu item if the selected item is a .app file
let menuItem = NSMenuItem(title: "Pearcleaner Uninstall", action: #selector(openInMyApp), keyEquivalent: "") let menuItem = NSMenuItem(title: String(localized: "Pearcleaner Uninstall"), action: #selector(openInMyApp), keyEquivalent: "")
if let appIcon = NSImage(named: "Icon") { if let appIcon = NSImage(named: "Icon") {
menuItem.image = appIcon menuItem.image = appIcon
} else { } else {
@@ -333,6 +333,9 @@
}, },
"Pearcleaner CLI support" : { "Pearcleaner CLI support" : {
},
"Pearcleaner Uninstall" : {
}, },
"Pin popover window on top" : { "Pin popover window on top" : {