diff --git a/Pearcleaner/Resources/Localizable.xcstrings b/Pearcleaner/Resources/Localizable.xcstrings index a840eba..53ae2ff 100644 --- a/Pearcleaner/Resources/Localizable.xcstrings +++ b/Pearcleaner/Resources/Localizable.xcstrings @@ -284,6 +284,9 @@ }, "More" : { + }, + "Name" : { + }, "No files or folders added" : { @@ -410,9 +413,18 @@ }, "Show Details" : { + }, + "Size" : { + }, "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." : { + }, + "Sorted by Name" : { + + }, + "Sorted by Size" : { + }, "Sorting Options" : { diff --git a/Pearcleaner/Views/FilesView.swift b/Pearcleaner/Views/FilesView.swift index a91814d..1f6fcc6 100644 --- a/Pearcleaner/Views/FilesView.swift +++ b/Pearcleaner/Views/FilesView.swift @@ -281,7 +281,7 @@ struct FilesView: View { Button { selectedSortAlpha.toggle() } label: { EmptyView() } - .buttonStyle(SimpleButtonStyle(icon: "line.3.horizontal.decrease.circle", label: String(localized: selectedSortAlpha ? "Name" : "Size"), help: String(localized: selectedSortAlpha ? "Sorted alphabetically" : "Sorted by size"), size: 16)) + .buttonStyle(SimpleButtonStyle(icon: "line.3.horizontal.decrease.circle", label: selectedSortAlpha ? String(localized: "Name") : String(localized: "Size"), help: selectedSortAlpha ? String(localized: "Sorted by Name") : String(localized: "Sorted by Size"), size: 16)) } .padding()