Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Hold the helper's reasons to the banner's sentences

Țugui Dragoș88a92511df35
diff --git a/PeelTests/HelperReasonTests.swift b/PeelTests/HelperReasonTests.swift
index 8c971864..815d317d 100644
--- a/PeelTests/HelperReasonTests.swift
+++ b/PeelTests/HelperReasonTests.swift
@@ -10,8 +10,8 @@ struct HelperReasonTests {
String(localized: standing.whyItCannotAct(registeredByAnotherCopy: anotherCopy))
}
- #expect(reason(.notThisAccount, false) == String(localized: "Only an administrator can use Peel’s helper, so Peel can’t remove these from this account."))
- #expect(reason(.notInstalled, false) == String(localized: "Install Peel’s helper to remove the items in the system folders it serves."))
+ #expect(reason(.notThisAccount, false) == String(localized: "Only an administrator can use Peel’s helper, so Peel can’t do this from this account."))
+ #expect(reason(.notInstalled, false) == String(localized: "Install Peel’s helper, which does this as an administrator in the system folders it serves."))
#expect(reason(.notInstalled, true) == String(localized: "Peel’s helper was installed by another copy of Peel, and this copy can’t use it. Open the copy of Peel that installed it."))
#expect(reason(.waitingForApproval, false) == String(localized: "Peel’s helper is waiting to be allowed in System Settings, under Login Items & Extensions."))
#expect(reason(.notAnswering, false) == String(localized: "Peel’s helper isn’t answering. Repair it in Settings."))