Cotton code
241 lines · 10.0 KB · JSONRaw
{  "format_version": 1,  "id": "code",  "readiness": {    "ready": "Checks are green and the host says it merges cleanly.",    "closed": "This pull request is already closed.",    "draft": "This pull request is still a draft.",    "conflicts": "The host does not say this merges cleanly — it may conflict with its base branch.",    "no_checks": "No checks have run on this head commit.",    "checks_pending": "The checks are still running.",    "checks_failed": "The checks are not green."  },  "rule": {    "outdated": "{branch} has moved since this pull request was tested — rebase it and let the checks run again.",    "base_unknown": "{branch} asks that a pull request be up to date with its base, and where this one's base sits is not known yet.",    "approvals": {      "one": "{branch} asks for {n} approving review, and this pull request has {have}.",      "other": "{branch} asks for {n} approving reviews, and this pull request has {have}."    },    "contexts": {      "one": "{branch} asks that {missing} be green, and it is not.",      "other": "{branch} asks that {missing} be green, and they are not."    },    "comma": ", "  },  "checks": {    "pending": "checks pending",    "none": "no checks",    "green": "{green} of {total} green"  },  "queue": {    "untested_train": "{members} pulls would land together, and no workflow checks a train (`on: merge_group`), so nothing has tested them together: the train waits. Add `merge_group:` to a workflow, or land them one at a time.",    "queued_next": "queued — next train",    "queued_behind": {      "one": "queued behind {n} pull",      "other": "queued behind {n} pulls"    },    "run": " (run #{index})",    "checking_alone": "checking in train {train}{run}, alone",    "checking_with": {      "one": "checking in train {train}{run} with {n} other pull",      "other": "checking in train {train}{run} with {n} other pulls"    },    "landed": "landed by train {train} — {sha} is on main",    "checked_on_head": "landing by train {train} on the checks already green at {head} — the train is that tree",    "landed_on_head": "landed by train {train} — {sha} is on main, on the checks already green at {head} (the train was that tree)",    "conflict": "ejected: conflicts with {base}. Merge {base} into the branch and land again.",    "conflict_behind": "ejected: conflicts with {base} or with {ahead} ahead of it in the queue. Merge {base} into the branch once they have landed, and land again.",    "pull_number": "#{number}",    "comma": ", ",    "ejected_red": "ejected: train {train} (run #{index}) went red on {jobs} with this pull riding alone. Fix it, push, and land again.",    "the_run": "the run",    "dissolved": "train {train} (run #{index}) went red with {members} pulls aboard; each goes back to the queue and the next train is half the size",    "main_moved": "train {train} was checked on {base} but main has moved since; its pulls go back to the queue for a train on the new main",    "pushed_after_queued": "ejected: the branch was pushed to after it queued. Land again once its checks are green.",    "not_green": "ejected: its own checks on {head} are not green ({red}). Land again once they are."  },  "sync_state": {    "ok": "Synced",    "pending": "Syncing…",    "no_token": "No access token",    "unsupported": "GitHub not mirrored yet",    "error": "Could not be read",    "none": "No state reported"  },  "check_state": {    "success": "green",    "pending": "still running",    "failure": "failed",    "error": "errored",    "warning": "warned"  },  "merge": {    "cannot_yet": "This cannot be merged yet.",    "checks_pending": "Checks are still running.",    "checks_failed": "Checks have not passed.",    "conflicts": "It conflicts with the branch it would merge into.",    "draft": "It is still a draft.",    "no_checks": "No checks have been reported for its latest commit.",    "closed": "It is closed.",    "question": "Squash-merge #{number}?",    "question_into": "Squash-merge #{number} into {base}?"  },  "reviews": {    "verdict": {      "approved": "approved",      "changes_requested": "changes requested",      "commented": "commented",      "pending": "pending",      "dismissed": "dismissed"    },    "approvals": {      "one": "1 approval",      "other": "{n} approvals"    },    "changes": {      "one": "1 asked for changes",      "other": "{n} asked for changes"    },    "reviewers": {      "one": "1 reviewer, no verdict yet",      "other": "{n} reviewers, no verdict yet"    },    "none": "No reviews yet.",    "asked": "asked"  },  "branch_rule": {    "approvals": {      "one": "1 approval",      "other": "{n} approvals"    },    "checks": {      "one": "1 check",      "other": "{n} checks"    },    "up_to_date": "up to date with the base",    "push_allowed": "direct push allowed",    "no_push": "no direct push",    "nothing_required": "Nothing required · {only}"  },  "questions": {    "close_pull": "Close pull request #{number}?",    "close_issue": "Close issue #{number}?",    "reopen_pull": "Re-open pull request #{number}?",    "reopen_issue": "Re-open issue #{number}?",    "ready": "Take pull request #{number} out of draft?",    "on_host": "on the host",    "in_cotton": "in Cotton",    "close_message_pull": "It stays {place}, closed and unmerged, and its branch is left alone. You can re-open it from here.",    "close_message_issue": "It stays {place}, closed. You can re-open it from here.",    "reopen_message_host": "It goes back to open on the host, with everything anybody said on it.",    "reopen_message": "It goes back to open, with everything anybody said on it.",    "ready_message_host": "Everybody who watches this repository is told it is ready to review, and the checks that only run on a ready pull request start.",    "ready_message": "It stops being a draft, and the merge is judged on this branch's rule from then on. Cotton runs no checks of its own yet.",    "review_approve": "An approval counts towards whatever this repository's rules require before a merge.",    "review_changes": "Asking for changes blocks the merge until somebody approves it again.",    "review_comment": "A review with no verdict changes nothing about whether it can be merged."  },  "closed_row": {    "pull": "Pull request #{number}",    "issue": "Issue #{number}",    "merged": "{what} is merged. Nothing more can be added to it — no comment, no review and no edit.",    "closed": "{what} is closed. Nothing more can be added to it until it is re-opened."  },  "runs": {    "conclusion": {      "success": "passed",      "failure": "failed",      "cancelled": "cancelled",      "skipped": "skipped",      "timed_out": "timed out"    },    "event": {      "push": "push",      "pull_request": "pull request",      "schedule": "schedule",      "workflow_dispatch": "by hand"    },    "step": {      "not_started": "not started yet",      "running": "running",      "finished": "finished"    },    "triggered": {      "owner": "started from here",      "schedule": "started by the clock"    },    "cancel_question": "Cancel run #{number}? Every job still going stops where it is and the run is marked cancelled. Re-run starts it again from the beginning.",    "rerun_question": "Run #{number} again? It runs the same workflow on the same commit, as a new run with its own number — this one keeps its result."  },  "log": {    "waiting": "This job has written nothing yet. Lines appear here as the runner sends them.",    "lines": {      "one": "1 line",      "other": "{n} lines"    }  },  "asset": {    "not_filed": "not filed yet",    "an_asset": "An asset",    "download": "Download · {name}",    "open_on": "Open on {origin}",    "the_host": "the host",    "bytes_absent": "Those bytes are not on this device yet, and the Mac serving you did not send them.",    "copy_failed": "That file could not be copied out to share."  },  "pull_acts": {    "merged_said": "Merged.",    "review_sent": "Review sent.",    "marked_ready": "Marked ready.",    "closed_said": "Closed.",    "reopened_said": "Re-opened.",    "head_and_title_first": "Name the branch with the change and give it a title first.",    "name_base": "Name the branch it goes into.",    "opened_said": "Pull request opened.",    "merge_message": "It is squashed into one commit and its branch is deleted. Nothing here can undo that.",    "squash_merge": "Squash-merge",    "merge": "Merge",    "mark_ready": "Mark ready",    "reopen": "Re-open",    "close": "Close",    "open_on_host": "Open on the host",    "check_run": "Run · {context}",    "check_on_host": "{context} on the host",    "review_question": "{verdict} pull request #{number}?",    "note": "Note",    "note_placeholder": "Optional — said with the verdict",    "open_as_draft": "Open as a draft",    "open_pull": "Open a pull request",    "open_draft_title": "Open a draft pull request",    "open_message": "The branch has to be on the host already — or, for a repository Cotton holds, pushed to it.",    "open": "Open",    "from_branch": "From branch",    "from_placeholder": "the branch with the change",    "into_branch": "Into branch",    "into_placeholder": "the default branch",    "title": "Title",    "description": "Description",    "a_check": "A check",    "no_status": "no status"  },  "issue_acts": {    "title_first": "Give it a title first.",    "filed": "Issue filed.",    "file": "File an issue",    "file_message": "It is filed where the repository lives, under your name there.",    "file_confirm": "File"  },  "run_acts": {    "cancelling": "Cancelling run #{number}.",    "rerunning": "Running #{number} again, as a new run.",    "cancel": "Cancel",    "cancel_title": "Cancel run #{number}?",    "cancel_confirm": "Cancel it",    "rerun": "Re-run",    "rerun_title": "Run #{number} again?",    "rerun_confirm": "Run it again",    "log": "Log · {name}",    "no_jobs": "No jobs on this run yet. The Mac serving you expands a workflow's jobs when the run starts."  }}