mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 03:48:55 +00:00
Add FinderOpen extension to localizable
This commit is contained in:
@@ -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" : {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user