Repository Public License
1import Foundation23/// Keys of the explanatory texts the UI shows about privacy features, with the reference English wording.4/// The UI module owns localisation: it looks the key up in its string catalogue and falls back to `english`.5///6/// The wording is deliberately factual. Private browsing in particular must never promise more than it does.7public enum PrivacyText: String, Sendable, CaseIterable {8 // Private (Ghost) window9 case ghostTitle = "privacy.ghost.title"10 case ghostWhatItDoes = "privacy.ghost.what_it_does"11 case ghostNotHiddenHeading = "privacy.ghost.not_hidden.heading"12 case ghostNotHiddenNetwork = "privacy.ghost.not_hidden.network"13 case ghostNotHiddenEmployer = "privacy.ghost.not_hidden.employer"14 case ghostNotHiddenSites = "privacy.ghost.not_hidden.sites"15 case ghostNotHiddenDownloads = "privacy.ghost.not_hidden.downloads"16 case ghostNotHiddenBookmarks = "privacy.ghost.not_hidden.bookmarks"17 case ghostNotHiddenDevice = "privacy.ghost.not_hidden.device"18 case ghostDownloadKept = "privacy.ghost.download_kept"19 // Shield20 case shieldPartialCoverage = "privacy.shield.partial_coverage"21 case shieldStatisticsMeaning = "privacy.shield.statistics_meaning"22 case shieldLikelyBlocked = "privacy.shield.likely_blocked"23 case shieldOffForSite = "privacy.shield.off_for_site"24 case httpsUpgradeFailed = "privacy.https.upgrade_failed"25 // Address bar26 case homographWarning = "privacy.homograph.warning"27 // Data controls28 case clearWebsiteDataRange = "privacy.clear.website_data_range"29 case exportContents = "privacy.export.contents"3031 public var english: String {32 switch self {33 case .ghostTitle:34 "Private window"35 case .ghostWhatItDoes:36 "ORIX Navigator does not keep the pages you visit, your searches, cookies or site data from this window once you close it. Nothing from it is added to your history, your memory index or sync."37 case .ghostNotHiddenHeading:38 "What a private window does not hide"39 case .ghostNotHiddenNetwork:40 "Your internet provider, the Wi-Fi or mobile network you use and anyone watching that network can still see which sites you connect to."41 case .ghostNotHiddenEmployer:42 "Your employer, school or whoever manages this device or network can still monitor your activity."43 case .ghostNotHiddenSites:44 "The sites you visit still see your IP address and what you do there, and can recognise you if you sign in."45 case .ghostNotHiddenDownloads:46 "Files you download stay on this device after the window is closed."47 case .ghostNotHiddenBookmarks:48 "Bookmarks you add are saved like any other bookmark."49 case .ghostNotHiddenDevice:50 "Software on this device — parental controls, security tools, malware — can still record what you do."51 case .ghostDownloadKept:52 "This download will disappear from the list when you close the private window. The file itself stays where you saved it."53 case .shieldPartialCoverage:54 "Shield blocks a short built-in list of well-known advertising and tracking domains. It does not block everything; import a larger list in Settings for broader coverage."55 case .shieldStatisticsMeaning:56 "These numbers count only what ORIX Navigator can observe itself: pop-ups it refused and pages it moved to HTTPS. The system does not report how many requests a content rule blocked."57 case .shieldLikelyBlocked:58 "Likely blocked: requests to listed domains that the page reported as failed. This is an estimate — a request can fail for other reasons, and some blocked requests leave no trace."59 case .shieldOffForSite:60 "Shield is off for this site: nothing is blocked, hidden or upgraded to HTTPS on its pages."61 case .httpsUpgradeFailed:62 "This site did not load over a secure connection. If you continue over HTTP, anyone on the network can read and change what you send and receive."63 case .homographWarning:64 "This address uses characters that look like other letters and may imitate a different site. The address is shown in its encoded form."65 case .clearWebsiteDataRange:66 "Cookies, site data and cache can only be removed from a starting date up to now."67 case .exportContents:68 "The export contains your profiles, spaces, tabs, history, bookmarks, download list, permissions, notes and settings. It does not contain cookies, site data, passwords or API keys."69 }70 }7172 /// The list shown in the introduction of a private window, in display order.73 public static let ghostLimitations: [PrivacyText] = [74 .ghostNotHiddenNetwork, .ghostNotHiddenEmployer, .ghostNotHiddenSites, .ghostNotHiddenDownloads,75 .ghostNotHiddenBookmarks, .ghostNotHiddenDevice,76 ]77}78