// The work-and-reference lane's sentences that are said in THREE OR MORE // places (sub-step 4f). // // Copy lives at its call site; a sentence earns a place here only by being // said on three screens or more, where two spellings of one fact would be the // drift this file exists to prevent. Everything a screen says once or twice is // a literal where it is read — carried across as written either way: this is a // PORT, and a sentence rewritten on the way over is a product change nobody // asked for. // // The notes below that name an ABSENCE are the point of keeping this file // readable: each says which lane owns a word this one deliberately does not // spell a second time. import Foundation extension CottonStrings { // ── the page frame ──────────────────────────────────────────────────── // `moreActions` is the app's own, in `Strings.swift` — ONE spelling of the // kebab's label wins and it is not this lane's. public static var more: String { ShellLines.line("words", "more") } // `edit` is 4e's, in `Strings+Calendar.swift` — one spelling of the // kebab's Edit wins, and 4e landed first. public static var delete: String { ShellLines.line("words", "delete") } public static var deleted: String { ShellLines.line("words", "deleted") } public static var saveLabel: String { ShellLines.line("words", "save_label") } public static var savingLabel: String { ShellLines.line("words", "saving_label") } public static var historyRow: String { ShellLines.line("words", "history_row") } // ── News ────────────────────────────────────────────────────────────── // "Fetch now", "Fetching…", "Retry" and "Go to News" went with the verb // they labelled: the manual run is a server ask this build has no seam for, // and the copy for a control nobody draws is copy that goes stale unread. // "Couldn't load this edition" is not this screen's sentence any more: // `ScreenPage` answers a refused read once, in `workUnreadableTitle` plus the // core's own words, so a per-screen wording would be a second explanation // of one refusal. // "No editions are scheduled" belonged to the next-edition line, which is // computed from the recurrence engine the settings block ran. That // engine is not on this side of the boundary yet; the drop is in the // cutover ledger. // ── Projects ────────────────────────────────────────────────────────── // `newProject` is 4d's, in `Strings+4d.swift`: Home's band offers the // same action under the same words, so there is one of it. // `archivedHeading` is gone: "Archived" is one word, said across six lanes, // so it lives once — `CottonStrings.archived`, in `Strings.swift`. // No `lastActivity` caption: `get_project` answers no instant for the // project's header, so the page has nothing to date. The caption is owed // back rather than kept here as a sentence nothing can say. public static func noProjectCalled(_ slug: String) -> String { ShellLines.line("words", "no_project_called", ["slug": "\(slug)"]) } public static var projectSlugNeverChanges: String { ShellLines.line("words", "project_slug_never_changes") } // No project-specific "could not be read" pair: a refusal is `ScreenPage`'s // one surface for every screen in this lane — `workUnreadableTitle` over // the crate's own sentence — and a second wording for one refusal is what // that frame exists to prevent. /// What one member of a section is called when the record itself has no /// words. Every kind gets its own sentence: "Untitled" everywhere tells a /// reader nothing about what they are looking at. public static func projectMemberFallback(_ key: String) -> String { switch key { case "people": return ShellLines.line("words", "project_member_fallback.people") case "chats": return ShellLines.line("words", "project_member_fallback.chats") case "email": return ShellLines.line("words", "project_member_fallback.email") case "documents": return ShellLines.line("words", "project_member_fallback.documents") case "todos": return ShellLines.line("words", "project_member_fallback.todos") case "notes": return ShellLines.line("words", "project_member_fallback.notes") case "journal": return ShellLines.line("words", "project_member_fallback.journal") case "meetings": return ShellLines.line("words", "project_member_fallback.meetings") case "events": return ShellLines.line("words", "project_member_fallback.events") case "reader": return ShellLines.line("words", "project_member_fallback.reader") case "locations": return ShellLines.line("words", "project_member_fallback.locations") case "money": return ShellLines.line("words", "project_member_fallback.money") case "goals": return ShellLines.line("words", "project_member_fallback.goals") case "thoughts": return ShellLines.line("words", "project_member_fallback.thoughts") case "photos": return ShellLines.line("words", "project_member_fallback.photos") case "videos": return ShellLines.line("words", "project_member_fallback.videos") case "albums": return ShellLines.line("words", "project_member_fallback.albums") case "calls": return ShellLines.line("words", "project_member_fallback.calls") case "memory": return ShellLines.line("words", "project_member_fallback.memory") case "feedback": return ShellLines.line("words", "project_member_fallback.feedback") case "passwords": return ShellLines.line("words", "project_member_fallback.passwords") case "code": return ShellLines.line("words", "project_member_fallback.code") case "decisions": return ShellLines.line("words", "project_member_fallback.decisions") case "sessions": return ShellLines.line("words", "project_member_fallback.sessions") case "procedures": return ShellLines.line("words", "project_member_fallback.procedures") default: return ShellLines.line("words", "project_member_fallback.other") } } // ── the brand kit ───────────────────────────────────────────────────── public static func brandRoleLabel(_ role: String) -> String { switch role { case "logo": return ShellLines.line("words", "brand_role_label.logo") case "logo-dark": return ShellLines.line("words", "brand_role_label.logo_dark") case "wordmark": return ShellLines.line("words", "brand_role_label.wordmark") case "icon": return ShellLines.line("words", "brand_role_label.icon") default: return role } } // ── the session log ─────────────────────────────────────────────────── // The elapsed-time words are already the app's — `justNow` in // `Strings.swift`, the rest computed by `DateFormats`. The session log // spelled them "4 min ago" / "3 h ago" and the rest of this app says // "4m ago" / "3h ago"; ONE spelling wins, and it is the app's own — two // wordings for one fact on two screens is exactly what a strings file // exists to prevent. // ── a project's todos ───────────────────────────────────────────────── // `todoTitlePlaceholder` is 4e's, in `Strings+Todos.swift`. A project's // todo list is the same list narrowed, so it says what the todos screen // says — "Complete", "What needs doing?" — rather than a second wording // for one act. // ── memory ──────────────────────────────────────────────────────────── // No "long-press to arrange": this list reads the owner's order and does // not yet let them change it, and a sentence promising a control the page // does not have is worse than none. What is still TRUE about the order is // said instead. // ── forms and confirmations this lane asks ──────────────────────────── // The sheet's sentence, minus its last clause: it ended "on top of // the global layer", and schema v34 retired the global layer — memory // belongs to projects and there is no layer under it. The half that is // still true is what the sheet says. public static var moreActions: String { ShellLines.line("words", "more_actions") } // ── Meetings ────────────────────────────────────────────────────────── // // From the meetings tool and the two screens above it. The stage and // failure sentences are `MeetingFacts`', beside the screen that reads // them — each names what happened AND says the recording is safe, which is // the half a person whose meeting failed needs before any other. // No TITLE over the no-match state: the screen drew the sentence and // nothing else, and a heading invented for it is a heading nobody wrote. // ── Code ────────────────────────────────────────────────────────────── // // From the code screen and the project's own code index. The eight screens // below these two are a network subsystem this build does not carry, and // each says so where it is drawn. /// **ONE name for the tool, and it is the route's own word.** The screen /// was titled "Repositories" while its link read /code, the sidebar row /// said "Repositories" and the project's own section says Code — three /// names for one place, which the Mac walk photographed (finding 23). The /// route is the name that cannot drift, so it is the one everything says. public static var codeTitle: String { ShellLines.line("words", "code_title") } }