Cotton code
48 lines · 2.7 KB · SwiftRaw
// The sentences Home, Asked of you and the composer say in THREE OR MORE places.//// Copy lives at its call site. A sentence earns a place here only by being said// in three places 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.//// The words are carried across unchanged. **Two of them are// known-stale and are still written as they were** — the ruling is "move// everything as it is", and a copy fix is a change.import Foundationextension CottonStrings {    // ── Projects ──────────────────────────────────────────────────────────    public static var newProject: String { ShellLines.line("words", "new_project") }    // ── The two config cards ──────────────────────────────────────────────    /// The steady state of the sync row: nothing happening IS the answer.    public static var upToDate: String { ShellLines.line("words", "up_to_date") }    // ── When a write refuses ──────────────────────────────────────────────    /// What a refused WRITE says when the refusal carried no sentence of its    /// own — the last line every error formatter falls back to. A refusal that    /// DOES carry a message shows that message instead: an error notice about    /// READING is not what a refused keep or drop means.    ///    /// ONE declaration for the whole app: 4d and 4e each wrote this sentence,    /// and 4e's copy went at the merge rather than being renamed apart. The    /// sentence that stood in 4e's place before its own review — "That change    /// didn't save. Try again." — was written for this port and exists nowhere    /// in the app it ports, which is the reason both lanes ended up here.    public static var somethingWentWrong: String { ShellLines.line("words", "something_went_wrong") }    // ── The composer, the fan and dictation ───────────────────────────────    public static var dictateHint: String { ShellLines.line("words", "dictate_hint") }    public static var discardDictation: String { ShellLines.line("words", "discard_dictation") }    public static var finishDictation: String { ShellLines.line("words", "finish_dictation") }    public static var makeTodo: String { ShellLines.line("words", "make_todo") }    public static var save: String { ShellLines.line("words", "save") }}