Cotton code
485 lines · 19.1 KB · JSONRaw
{  "format_version": 1,  "id": "data",  "about": "Cotton Data's words on Android and iPhone (assets/design/data/DECISIONS.md and data.html): what is inside the database, read only. Numbers, sizes and dates arrive already said.",  "app_name": "Data",  "tab": {    "tables": "Tables",    "lately": "Lately",    "search": "Search",    "you": "You"  },  "welcome": {    "title": "Everything you keep, laid out to look at",    "lead": "Every table in your database, what is in it, how it links, and who has read it. Your other apps each show one slice. This shows all of it.",    "only_looks": "This app only looks. Nothing here can be changed or erased, so open anything you like.",    "keep_cost": "About {size} of room, and about {minutes} on home Wi-Fi the first time. This phone has {free} free.",    "keep_cost_most": "Up to {size} of room, and up to about {minutes} on home Wi-Fi the first time. Your database has not been measured yet, so this is the most it can be. This phone has {free} free.",    "keep_off": "With it off, rows come from the server as you open them, and searching sealed tables finds whole words only.",    "start": "Start"  },  "tables": {    "title": "Tables",    "search": {      "one": "Search 1 table",      "other": "Search {n} tables"    },    "by_app": "By app",    "biggest": "Biggest",    "lately": "Changed lately",    "az": "A to Z",    "room": "{used} of {cap}",    "room_go": "Where room goes",    "count": {      "one": "1 table",      "other": "{n} tables"    },    "of_count": "{some} of {all} tables",    "also": "also {apps}",    "also_more": {      "one": "also {apps} and 1 more",      "other": "also {apps} and {n} more"    },    "also_every": "also every other app",    "server_reads": "Still read by the server. Every other table is sealed.",    "assistants": "Assistants",    "cotton": "Cotton itself",    "leftovers": "Leftovers",    "leftovers_line": {      "one": "1 table no app uses",      "other": "{n} tables no app uses"    },    "leftovers_retired": "{line}, {retired} of them retired",    "not_on_phone": "Not on this phone",    "counting": "Counting…",    "read_today": "{who} read it today"  },  "rows": {    "loading": "Loading rows…",    "count": {      "zero": "No rows",      "one": "1 row",      "other": "{n} rows"    },    "used_by": "used by {apps}",    "used_by_none": "no app uses it",    "search": {      "one": "Search 1 row",      "other": "Search {n} rows"    },    "sort": {      "made": "Newest first",      "made_line": "By when the row was made",      "changed": "Recently changed",      "title": "By {column}, A to Z"    },    "dates": "Sort and dates",    "which_date": "Which date",    "made": "Made",    "any_time": "Any time",    "this_month": "This month",    "pick": "Pick dates",    "since": "Since {from}",    "until": "Until {to}",    "range": "{from} to {to}",    "sorts_line": "Rows sort by when they were made or last changed. What they say is sealed, so the server can't sort by it.",    "show": {      "one": "Show 1 row",      "other": "Show {n} rows"    },    "foot": "Each line is made from the fields that tell rows apart: {fields}.",    "empty_title": "No rows yet",    "empty_body": "{app} adds one when it has something to keep. The table is ready, with {columns} columns.",    "empty_body_none": "Nothing has written to it. The table is ready, with {columns} columns.",    "see_columns": "See its columns",    "more": "Show more",    "hidden_note": "Some rows are hidden in Cinemas. They show here again when you stop hiding them there.",    "hidden_unknown": "These rows are not shown: Data could not tell which of them are hidden in Cinemas. Try again in a moment.",    "hidden_no_key": "These rows are not shown until this phone has your key: some of them may be hidden in Cinemas."  },  "row": {    "lead": "A row in {table} · made {made}",    "lead_changed": "A row in {table} · made {made}, changed {changed}",    "lead_changed_by": "A row in {table} · made {made}, changed {changed} by {who}",    "stored": "As stored",    "plain": "Plain words",    "points_here": "Points here",    "points_out": "Points out",    "through": "through {column}",    "a_row_in": "a row in {table}",    "show_all": {      "one": "Show all 1 line",      "other": "Show all {n} lines"    },    "of_choices": "Of {choices}",    "weekday": "A {day}",    "yes_on": "Yes, on {date}",    "yes": "Yes",    "no": "No",    "nothing": "Nothing yet",    "read_only": "Read only. This row is changed in {app}.",    "read_only_none": "Read only.",    "several_not_counted": "Links that hold several values, like a note's people, aren't counted here yet.",    "secret_elsewhere": "Its value stays in Secrets. Open it there to see it.",    "type": {      "text": "text",      "long": "long text",      "long_lines": "long text, {n} lines",      "link": "link",      "amount": "amount",      "date": "date",      "time": "time",      "choice": "choice",      "bool": "yes or no",      "several": "{type}, several",      "url": "url",      "place": "place",      "photo": "photo",      "file": "file",      "number": "number",      "bytes": "bytes",      "account": "account number"    }  },  "link": {    "title": "A link",    "from": "From {column} on {row}",    "open": "Open in browser",    "copy": "Copy link",    "copied": "Copied",    "note": "Opens in your browser, outside Cotton."  },  "media": {    "open": "Open",    "close": "Close",    "size": "Size",    "from": "From",    "from_line": "{column} on {row}",    "note": "Fetched from your files to show it here.",    "offline": "This file needs the network to open."  },  "info": {    "title": "About {table}",    "lead": "{rows}, {room}. Oldest from {oldest}, newest from {newest}.",    "lead_empty": "No rows yet.",    "sealed": "Sealed",    "sealed_line": "Opened only on your phones.",    "sealed_clear": "Opened only on your phones. The server keeps {n} fields clear so it can sort and sync: {fields}.",    "open": "Not sealed",    "open_line": "The server reads this table: it holds Cotton's own working parts, not what you keep.",    "pending": "Still read by the server",    "pending_line": "The server can read this table until its lock is switched on. Every table you keep yourself is sealed.",    "used_by": "Used by {apps}",    "used_by_none": "No app uses it",    "used_line": "{apps} writes it.",    "assistants": "{who} may read it",    "assistants_line": "Inside a window you open. Last read {when}, {rows}.",    "assistants_never_read": "Inside a window you open. Not read yet.",    "assistants_none": "No assistant reads it",    "assistants_none_line": "No window you have opened names it.",    "never": "No assistant may read it",    "never_line": "No window opens it, whatever is asked.",    "on_phone_all": "All of it is on this phone",    "on_phone_all_line": "{rows}, so it opens and searches without the network.",    "on_phone_none": "Not on this phone",    "on_phone_none_line": "Rows come from the server as you open them.",    "deleted": {      "one": "1 deleted row waiting",      "other": "{n} deleted rows waiting"    },    "deleted_line": "Kept until the server erases them.",    "columns": "Columns",    "links": "How it links",    "lately": "Changes lately",    "export": "Export",    "foot": "This page tells; it changes nothing. Who may read is set where you open an assistant's window."  },  "columns": {    "lead": "{n} columns. Clear ones the server can read; the rest are sealed.",    "lead_open": "{n} columns. The server reads this table.",    "clear": "clear",    "link_to": "Link to {table}",    "choice_of": "Choice of {n}",    "foot": "Plus {columns}, kept clear for every table."  },  "links": {    "title": "How {table} links",    "lead": "One table in the middle, its neighbours above and below. Tap one to move it to the middle.",    "out": "It points at",    "in": "Point at it",    "through": "through {column}",    "itself": "through {column}, itself",    "count": {      "one": "1 link",      "other": "{n} links"    },    "not_counted": "not counted yet",    "several": "through {column}, several",    "two_steps": "Two steps away: {line}.",    "none": "Nothing links to or from {table}."  },  "search": {    "title": "Search",    "everything": "Everything",    "rows": "Rows",    "tables": "Table names",    "columns": "Column names",    "placeholder": "Search everything",    "found": "{rows} in {tables}",    "searched_phone": "Searched every word in all {n} tables, on this phone.",    "searched_split": "Searched {here} tables on this phone, letter by letter. The other {there} are on the server, where sealed rows match whole words only.",    "secrets_left_out": "Passwords and passkeys are left out of search.",    "nothing": "Nothing for \"{q}\"",    "try_word": "Try a whole word, like \"{word}\"",    "try_names": "Search table and column names",    "more": "{n} more match. Type more of the name."  },  "lately": {    "title": "Lately",    "lead": "Every change to your database, and who made it.",    "all": "All",    "you": "You",    "apps": "Apps",    "assistants": "Assistants",    "today": "Today",    "yesterday": "Yesterday",    "count": {      "one": "1 change",      "other": "{n} changes"    },    "added": {      "one": "{who} added a row to {table}",      "other": "{who} added {n} rows to {table}"    },    "changed": {      "one": "{who} changed a row in {table}",      "other": "{who} changed {n} rows in {table}"    },    "deleted": {      "one": "{who} deleted a row in {table}",      "other": "{who} deleted {n} rows in {table}"    },    "you_who": "You",    "foot": "Changes are kept for 90 days. Which phone made a change isn't recorded.",    "offline": "Lately needs the network: the change log stays on the server.",    "app_who": "Cotton itself",    "empty": {      "all": "Nothing has changed in the last 90 days.",      "you": "You haven't changed anything in the last 90 days.",      "apps": "Cotton itself hasn't changed anything in the last 90 days.",      "assistants": "No assistant has changed anything in the last 90 days."    }  },  "assistants": {    "title": "Assistants",    "lead": "What each one has read and written, table by table.",    "open_until": "Window open until {time}",    "today": "Today: read {read}, wrote {wrote}.",    "last_window": "Last window {when}",    "read_rows": {      "one": "read 1 row",      "other": "read {n} rows"    },    "wrote_rows": {      "one": "wrote 1 row",      "other": "wrote {n} rows"    },    "tables_n": {      "one": "1 table",      "other": "{n} tables"    },    "more": "And {n} more",    "never_title": "Never allowed",    "never": "secret, passkey and code_credential. No window opens these.",    "gap": "Reads of the three open tables (devices, keys, tokens) aren't logged yet.",    "none": "No assistant has read anything yet. One reads only inside a window you open from this phone."  },  "leftovers": {    "title": "Leftovers",    "lead": "Kept in your database, but nothing uses them now. Shown so nothing hides.",    "unused": "No app uses these",    "unused_line": "{tables} · {room}",    "last_written": "{rows} · last written {when}",    "retired": "Retired",    "retired_line": "Their rows are waiting to be erased by the server: {rows} in all. Until then they can still be opened here.",    "dangling": "Links pointing at nothing",    "dangling_item": {      "one": "1 {table} points at a missing {target}",      "other": "{n} {table}s point at a missing {target}"    },    "foot": "This app only shows them. Nothing here can be erased from it.",    "none": "Nothing left over. Every table is used by an app."  },  "room": {    "title": "Where room goes",    "lead": "{used} of the {cap} your database may grow to. A warning comes at 80%.",    "free": "Free",    "free_line": "At about {pace} a year, the warning comes around {when}.",    "free_line_plain": "Room left before the cap.",    "changes": "Change history",    "changes_line": "Earlier versions, so every phone can catch up. Stays on the server.",    "rows": "Your rows",    "rows_line": "What you actually keep. The only part a phone needs.",    "search": "Search",    "search_line": "Scrambled words for finding sealed rows. Stays on the server.",    "links": "Links and order",    "links_line": "Which row points at which, and the sorting the server does.",    "other": "Everything else",    "other_line": "The file's own bookkeeping.",    "biggest": "Biggest tables",    "rows_only": "rows only",    "deleted": "Deleted rows waiting to be erased: {rows}, taking {room}.",    "measured": "Measured {when}."  },  "keep": {    "title": "Keep everything on this phone",    "switch": "Keep everything",    "costs": "What it costs you",    "room": "Room on this phone",    "first": "The first fill",    "first_value": "About {minutes} on home Wi-Fi",    "first_value_most": "Up to about {minutes} on home Wi-Fi",    "room_most": "Up to {size}",    "after": "After that",    "after_value": "About {size} a month",    "has": "This phone has",    "has_value": "{free} free",    "why": "Only your rows come down. History and the server's search index stay on the server, which is why {file} becomes {rows}.",    "privacy": "Rows are kept opened on this phone, behind its passcode, as each app's own rows already are. Anyone who can unlock this phone can read them here.",    "how": "How",    "wifi": "Only on Wi-Fi",    "wifi_line": "Waits rather than use mobile data",    "short_title": "When room runs short",    "short": "It keeps the newest rows first and stops while 2 GB of the phone is still free. Older rows then come from the server when you open them, as they do with this off.",    "all_mail": "Mail and chats included: all of them, not just 90 days.",    "filling_tables": "{done} of {all}",    "filling_line": "Everything already here works now. Keeps going in the background while on Wi-Fi.",    "filling_strip": "Filling this phone, {percent}%",    "left": "About {minutes} left",    "pause": "Pause",    "resume": "Carry on",    "stopped_title": "Stopped to leave room",    "stopped": "This phone has {free} free, so filling stopped at {done}.",    "reach": "Every row since {date}",    "on_phone": "On this phone",    "from_server": "From the server",    "from_server_value": "{rows} older rows, as you open them",    "search_short": "Older sealed rows by whole word",    "restart": "It starts again by itself when there is room. Clearing photos or apps in the phone's settings is the quickest way.",    "wifi_title": "Waiting for Wi-Fi",    "wifi_paused": "Paused at {percent}%. Carries on when you're back on Wi-Fi.",    "mobile_once": "Use mobile data this once",    "too_small": "This phone has {free} free, less than three times what it needs, so Keep everything starts off. Turn it on when there's room.",    "waiting": "Waiting for Wi-Fi to start filling.",    "keeping": "Kept on this phone, and kept up to date.",    "paused": "Paused: the phone has {free} free, and this always leaves 2 GB. It goes on by itself once there's room.",    "paused_you": "Paused at {percent}%. Everything already here works. Carry on when you're ready."  },  "locked": {    "title": "Locked",    "line": "You are seeing only what the server sees: when each row was made, its clear fields, its size and what it points at. Never the words.",    "sizes": "Sizes are rounded up to 64 bytes, 256 bytes, 1 KB or 4 KB, so even the length gives little away.",    "made": "Made {date}",    "unlock": "Unlock",    "links_to": "links to a {table}",    "no_key": "This phone doesn't have your key yet. Bring it from your other phone, or use a recovery code."  },  "missing": {    "title": "This phone doesn't have your key yet",    "line": "Everything below is what the server can show without it.",    "table": "Table",    "row": "Row",    "made": "Made",    "changed": "Last changed",    "version": "Version",    "clear": "Clear fields",    "points": "Points at",    "sealed_part": "Sealed part",    "sealed_size": "{size}, rounded up",    "for_search": "For search",    "words": {      "one": "1 scrambled word",      "other": "{n} scrambled words"    },    "approve": "Approve from your other phone",    "recovery": "Use a recovery code"  },  "offline": {    "title": "Can't reach your database",    "line": "Showing what this phone keeps, as of {time}. Room, Lately and assistant reads update when you're back online.",    "keep_off": "With Keep everything off, only each app's own tables are here."  },  "export": {    "title": "Export {table}",    "lead": "All {rows}, opened, as one file.",    "csv": "Spreadsheet",    "json": "For developers",    "not_sealed": "The file is not sealed",    "not_sealed_line": "Anyone who has it can read every row. Photos and files are listed by name, not included.",    "make": "Make the file",    "never": "Passwords, passkeys and code credentials are never exported.",    "about": "About {size}",    "made": "{rows}, {size}. Share it or save it."  },  "you": {    "title": "You",    "card_line": "{tables} tables",    "keep": "Keep everything on this phone",    "keep_on": "On, {size}",    "keep_off": "Off",    "keep_filling": "Filling, {percent}%",    "assistants": "Assistants",    "assistants_open": "{who} open now",    "leftovers": "Leftovers",    "room": "Where room goes",    "look": "Look",    "privacy_line": "Read only, opened on this phone"  },  "refused": {    "offline": "This needs the network, and your database can't be reached right now.",    "no_table": "There's no table called {table}.",    "no_row": "This row isn't there any more.",    "internal": "This table holds Cotton's own working parts, so it isn't opened here.",    "secret": "Its value stays in Secrets. Open it there to see it.",    "not_owner": "Data shows the whole database, so only its owner can open it.",    "not_yet": "Your database's server doesn't answer this yet. It will after its next update.",    "no_order": "This table's rows can't be listed in order: it has no date to sort them by.",    "failed": "This didn't load. Try again in a moment.",    "keep_off": "Keep everything is off on this phone. Turn it on first.",    "no_sort": "Rows sort by when they were made or last changed. What they say is sealed, so the server can't sort by it.",    "no_date": "Rows can be picked by the day they were made. Their other dates are sealed, so the server can't pick by them."  },  "wait": {    "loading": "Loading…",    "slow": "Your database is slow to answer just now. Still asking.",    "again": "Try again"  },  "say": {    "today": "today",    "yesterday": "yesterday",    "days_ago": {      "one": "1 day ago",      "other": "{n} days ago"    },    "minutes": {      "one": "1 minute",      "other": "{n} minutes"    },    "hours": {      "one": "1 hour",      "other": "{n} hours"    }  },  "a11y": {    "tables_tab": "Tables",    "lately_tab": "Lately",    "search_tab": "Search",    "you_tab": "You",    "about": "About this table",    "back": "Back",    "close": "Close",    "room_strip": "{used} of {cap} used. Opens Where room goes.",    "server_reads": "Still read by the server",    "sealed": "Sealed"  }}