localization

This commit is contained in:
Alin
2024-10-22 16:38:19 -06:00
parent 578a6b9406
commit 61c824cf14
3 changed files with 13 additions and 4 deletions
@@ -7,7 +7,7 @@
"location" : "https://github.com/alienator88/AlinFoundation", "location" : "https://github.com/alienator88/AlinFoundation",
"state" : { "state" : {
"branch" : "main", "branch" : "main",
"revision" : "e4f860c4e7a7160ff0989b4cd90be9f1a757460c" "revision" : "03555dbc156da3888bb547dee6710fe4d5c73567"
} }
}, },
{ {
@@ -157,6 +157,9 @@
}, },
"Drop folders above or click to add" : { "Drop folders above or click to add" : {
},
"Drop Target" : {
"extractionState" : "manual"
}, },
"Enable context menu extension for Finder" : { "Enable context menu extension for Finder" : {
@@ -485,6 +488,9 @@
}, },
"Some files/folders are not similar to the app name or bundle id, causing Pearcleaner to either not find them or find unrelated files. \nTo combat this, you may create a custom condition for each application bundle using keywords or direct paths. \n\n- Can add file/folder keywords that you want to either include or exclude in fuzzy searches. \n\n- Can explicitly add or remove a full Finder path to search results if you want a direct search." : { "Some files/folders are not similar to the app name or bundle id, causing Pearcleaner to either not find them or find unrelated files. \nTo combat this, you may create a custom condition for each application bundle using keywords or direct paths. \n\n- Can add file/folder keywords that you want to either include or exclude in fuzzy searches. \n\n- Can explicitly add or remove a full Finder path to search results if you want a direct search." : {
},
"Sort app list alphabetically by name or by size" : {
"extractionState" : "manual"
}, },
"Sorted by Name" : { "Sorted by Name" : {
@@ -494,6 +500,9 @@
}, },
"Sorting Options" : { "Sorting Options" : {
},
"Sorting: %@" : {
}, },
"Sponsor" : { "Sponsor" : {
+3 -3
View File
@@ -114,7 +114,7 @@ struct AppSearchView: View {
} }
} }
} label: { EmptyView() } } label: { EmptyView() }
.buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: "Sorting: \(selectedSortOption.title)", help: "Sort app list alphabetically by name or by size", size: 5)) .buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: String(localized:"Sorting: \(selectedSortOption.title)"), help: String(localized: "Sort app list alphabetically by name or by size"), size: 5))
if mini && !menubarEnabled { if mini && !menubarEnabled {
Button { Button {
@@ -124,7 +124,7 @@ struct AppSearchView: View {
showPopover = false showPopover = false
} }
} label: { EmptyView() } } label: { EmptyView() }
.buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: "Drop Target", help: "Drop Target", size: 5)) .buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: String(localized: "Drop Target"), help: String(localized: "Drop Target"), size: 5))
} }
@@ -149,7 +149,7 @@ struct AppSearchView: View {
if #available(macOS 14.0, *) { if #available(macOS 14.0, *) {
SettingsLink {} SettingsLink {}
.buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: "Settings", help: "Settings", size: 5)) .buttonStyle(SimpleButtonStyle(icon: "circle.fill", label: String(localized: "Settings"), help: String(localized: "Settings"), size: 5))
} else { } else {
Button("Settings") { Button("Settings") {
if #available(macOS 13.0, *) { if #available(macOS 13.0, *) {