Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Name the extension points System Settings names, rather than show their IDs
Țugui Dragoș7cb5703a24a0
diff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstringsindex 02548687..6be12fde 100644--- a/Localization/Peel/Localizable.xcstrings+++ b/Localization/Peel/Localizable.xcstrings@@ -115221,6 +115221,112 @@}}},+ "Password AutoFill" : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Automatické vyplnění hesla"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Passwort automatisch ausfüllen"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Autorrelleno de contraseñas"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Remplissage automatique des mots de passe"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Inserimento automatico password"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "パスワードの自動入力"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "암호 자동 완성"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Vul wachtwoord automatisch in"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Wypełnianie haseł"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Preenchimento Automático de Senhas"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Auto‑completare parolă"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Автозаполнение паролей"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Autofyll lösenord"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Otomatik Parola Doldurma"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Автозаповнення паролів"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "密码自动填充"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "密碼自動填寫"+ }+ }+ }+ },"Path from your home folder" : {"localizations" : {"cs" : {@@ -134504,6 +134610,112 @@}}},+ "Photos Projects" : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Projekty ve Fotkách"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Fotos-Projekte"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Proyectos de Fotos"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Projets Photos"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Progetti Foto"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "写真プロジェクト"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "사진 프로젝트"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Fotoprojecten"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Projekty Zdjęć"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Projetos do App Fotos"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Proiecte poze"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Проекты в приложении «Фото»"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Projekt i Bilder"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Fotoğraflar Projeleri"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Проєкти програми «Фотографії»"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "照片项目"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "照片計畫案"+ }+ }+ }+ },"Photos, videos, and files sent and received in Messages." : {"localizations" : {"cs" : {@@ -155820,6 +156032,119 @@}}},+ "Services (extension point)" : {+ "extractionState" : "extracted_with_value",+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Služby"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Dienste"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "new",+ "value" : "Services"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Servicios"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Services"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Servizi"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "サービス"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "서비스"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Voorzieningen"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Usługi"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Serviços"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Servicii"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Службы"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Tjänster"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Servisler"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Сервіси"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "服务"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "服務"+ }+ }+ }+ },"Set for every account" : {"localizations" : {"cs" : {@@ -161866,6 +162191,112 @@}}},+ "Smart Card Readers" : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Čtečky čipových karet"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Smartcard-Reader"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Lectores de tarjetas inteligentes"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Lecteurs de carte à puce"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Lettori di SmartCard"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "スマートカードリーダー"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "스마트 카드 리더기"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Smartcard-lezers"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Czytniki kart inteligentnych"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Leitores de Smart Card"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Cititoare smartcard"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Считыватели смарт-карт"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Smartkortläsare"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Akıllı Kart Okuyucular"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Зчитувачі смарткарток"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "智能卡读卡器"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "智慧卡讀卡機"+ }+ }+ }+ },"Snapshots another app made, such as a backup app, are that app’s to remove, not Peel’s." : {"localizations" : {"cs" : {@@ -207224,6 +207655,112 @@"comment" : "Xcode's own menus, which are English in every language.","shouldTranslate" : false},+ "Xcode Source Editor" : {+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Editor de código de Xcode"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Éditeur de source Xcode"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Editor sorgenti Xcode"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode-broneditor"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Edytor źródeł Xcode"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Editor de Código do Xcode"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Редактор программного кода Xcode"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Kaynak Düzenleyici"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Редактор вихідного коду Xcode"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode Source Editor"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Xcode來源編輯器"+ }+ }+ }+ },"Yes" : {"localizations" : {"cs" : {diff --git a/Peel/Views/Extensions/ExtensionText.swift b/Peel/Views/Extensions/ExtensionText.swiftindex 6df07490..b974eb82 100644--- a/Peel/Views/Extensions/ExtensionText.swift+++ b/Peel/Views/Extensions/ExtensionText.swift@@ -31,7 +31,7 @@ extension AppExtension {/// those words would then stay English in every language.private enum ExtensionPoint {case finder, share, widgets, quickLook, safari, shortcuts, notifications, spotlight, photos, messages, network,- audio, quickActions+ audio, quickActions, passwords, xcode, photoProjects, smartCards, servicesinit?(_ identifier: String) {switch identifier {@@ -39,15 +39,24 @@ private enum ExtensionPoint {case "com.apple.share-services": self = .sharecase "com.apple.widgetkit-extension": self = .widgetscase "com.apple.quicklook.preview", "com.apple.quicklook.thumbnail": self = .quickLook- case "com.apple.Safari.web-extension", "com.apple.Safari.extension": self = .safari- case "com.apple.intents-service", "com.apple.appintents-extension": self = .shortcuts+ case "com.apple.Safari.web-extension", "com.apple.Safari.extension", "com.apple.Safari.content-blocker":+ self = .safari+ case "com.apple.intents-service", "com.apple.appintents-extension", "com.apple.intents-ui-service":+ self = .shortcutscase "com.apple.usernotifications.content-extension", "com.apple.usernotifications.service": self = .notificationscase "com.apple.spotlight.import", "com.apple.spotlight.index": self = .spotlightcase "com.apple.photo-editing": self = .photoscase "com.apple.message-payload-provider": self = .messages- case "com.apple.networkextension.packet-tunnel", "com.apple.networkextension.filter-data": self = .network+ case "com.apple.networkextension.packet-tunnel", "com.apple.networkextension.filter-data",+ "com.apple.networkextension.app-proxy":+ self = .networkcase "com.apple.AudioUnit-UI", "com.apple.AudioUnit": self = .audiocase "com.apple.ui-services": self = .quickActions+ case "com.apple.authentication-services-credential-provider-ui": self = .passwords+ case "com.apple.dt.Xcode.extension.source-editor": self = .xcode+ case "com.apple.photo-project": self = .photoProjects+ case "com.apple.ctk-tokens": self = .smartCards+ case "com.apple.services": self = .servicesdefault: return nil}}@@ -69,6 +78,13 @@ private enum ExtensionPoint {case .network: "Network"case .audio: "Audio apps"case .quickActions: "Quick Actions"+ // System Settings' own names for these categories of extensions. Services has a key of its own, since some+ // languages name the category apart from the Services folder the Plug-ins page lists (Ukrainian: Сервіси).+ case .passwords: "Password AutoFill"+ case .xcode: "Xcode Source Editor"+ case .photoProjects: "Photos Projects"+ case .smartCards: "Smart Card Readers"+ case .services: LocalizedStringResource("Services (extension point)", defaultValue: "Services")}}}diff --git a/PeelTests/ExtensionTextTests.swift b/PeelTests/ExtensionTextTests.swiftindex e7f90cd2..6a927d18 100644--- a/PeelTests/ExtensionTextTests.swift+++ b/PeelTests/ExtensionTextTests.swift@@ -24,6 +24,16 @@ struct ExtensionTextTests {).pointName)}+ @Test func namesThePointsAppleDocumentsAsSystemSettingsDoes() {+ let blocker = part(name: "Blocker", owner: "Example", point: "com.apple.Safari.content-blocker")+ let passwords = part(+ name: "AutoFill", owner: "Example", point: "com.apple.authentication-services-credential-provider-ui"+ )++ #expect(blocker.pointName == String(localized: "Safari"))+ #expect(passwords.pointName == String(localized: "Password AutoFill"))+ }+@Test func findsAPartByTheWordItsPageShows() throws {let widget = part(name: "Example", owner: "Example", point: "com.apple.widgetkit-extension")let word = try #require(widget.pointName)