Cotton code
522 lines · 10.5 KB · JSONRaw
{ "calls": {  "record": "Record",  "days": {   "c1": "Today",   "c2": "Yesterday",   "c3": "Thursday",   "c4": "Tuesday"  },  "notes": {   "c2": "rec-call"  },  "recordings": [   {    "after": null,    "row": {     "kind": "recording",     "recording": "rec-garden",     "name": "The garden party",     "line": "40 sec · Ready",     "when": "10:42 am",     "mark": "recording",     "day": "Today"    }   },   {    "after": "c2",    "row": {     "kind": "recording",     "recording": "rec-memo",     "name": "Voice memo",     "line": "2 min · Waiting for this phone to charge",     "when": "6:05 pm",     "mark": "import",     "day": "Yesterday"    }   }  ],  "import": "Bring in a recording" }, "pages": {  "rec-garden": {   "id": "rec-garden",   "title": "The garden party",   "when": "Today, 10:42",   "length": "40 sec",   "source": "room",   "where": {    "line": "Made on this phone",    "on": "phone"   },   "status": "ready",   "status_line": "Ready",   "speakers": [    {     "speaker": "sp-asha",     "label": "S1",     "name": "Asha",     "person": "p-asha",     "picture": {      "photo": null,      "initials": "AV",      "tint": 3     },     "choose": "Who is this?"    },    {     "speaker": "sp-2",     "label": "S2",     "name": null,     "person": null,     "picture": {      "photo": null,      "initials": "S2",      "tint": 0     },     "choose": "Who is this?"    }   ],   "audio": {    "key": "seed-garden"   },   "lines": [    {     "line": "l1",     "speaker": "sp-asha",     "name": "Asha",     "start_ms": 0,     "end_ms": 6200,     "text": "So the party is on the twelfth, in the back garden, if it doesn't rain.",     "language": "en",     "edited": false    },    {     "line": "l2",     "speaker": "sp-2",     "name": "Speaker 2",     "start_ms": 6200,     "end_ms": 11800,     "text": "I can bring the long table and two benches from the hall.",     "language": "en",     "edited": false    },    {     "line": "l3",     "speaker": "sp-asha",     "name": "Asha",     "start_ms": 11800,     "end_ms": 19400,     "text": "Good. Then we need lights along the fence, and someone to ask the neighbours.",     "language": "en",     "edited": false    },    {     "line": "l4",     "speaker": "sp-2",     "name": "Speaker 2",     "start_ms": 19400,     "end_ms": 26000,     "text": "I'll ask the neighbours on Saturday morning. The lights are in my garage.",     "language": "en",     "edited": false    },    {     "line": "l5",     "speaker": "sp-asha",     "name": "Asha",     "start_ms": 26000,     "end_ms": 33500,     "text": "And the cake: we order it by Wednesday, chocolate and one without sugar.",     "language": "en",     "edited": false    },    {     "line": "l6",     "speaker": "sp-2",     "name": "Speaker 2",     "start_ms": 33500,     "end_ms": 40000,     "text": "Fine, I'll order the cake. Let's meet again on Thursday to check.",     "language": "en",     "edited": false    }   ],   "marks": [    19400   ],   "silenced": [],   "summary": {    "points": [     "The party is on the 12th in the back garden, if it stays dry.",     "A long table and two benches come from the hall; the lights from the garage.",     "The cake is ordered by Wednesday: chocolate, and one without sugar."    ]   },   "actions": [    {     "id": "a1",     "words": "Ask the neighbours",     "who": "Speaker 2",     "due": "Saturday",     "added": true,     "act": null,     "said": "Added to to-dos"    },    {     "id": "a2",     "words": "Order the cake",     "who": "Speaker 2",     "due": "Wednesday",     "added": false,     "act": {      "label": "Add to to-dos",      "method": "meetings.action.todo"     },     "said": null    },    {     "id": "a3",     "words": "Meet again to check",     "who": null,     "due": "Thursday",     "added": false,     "act": {      "label": "Add to to-dos",      "method": "meetings.action.todo"     },     "said": null    }   ],   "language": {    "line": "English",    "chosen": [     "en"    ],    "choices": [     {      "code": "en",      "label": "English",      "on": true     },     {      "code": "hi",      "label": "Hindi",      "on": false     },     {      "code": "te",      "label": "Telugu",      "on": false     }    ]   },   "buttons": {    "note": {     "label": "Save as note",     "saved": false    },    "share": {     "label": "Share"    },    "again": {     "label": "Turn into words again on your Mac",     "on": "mac"    },    "delete": {     "label": "Delete recording",     "ask": "Delete this recording? Its words and summary go too. To-dos made from it stay."    },    "date": {     "label": "Change date and time",     "title": "When was this recorded?",     "save": "Save",     "cancel": "Cancel",     "at": "2026-11-24T05:12:00.000Z"    }   },   "words": {    "who": "Who",    "summary": "Summary",    "actions": "To do",    "transcript": "What was said",    "language": "Language",    "title_hint": "Name this recording",    "nothing": "Nothing was said yet."   },   "duration_ms": 40000,   "named": true  },  "rec-memo": {   "id": "rec-memo",   "title": "Voice memo",   "when": "Yesterday, 18:05",   "length": "2 min",   "source": "import",   "where": {    "line": "Waiting for this phone to charge",    "on": "waiting"   },   "status": "waiting",   "status_line": "Turning into words when the phone charges",   "speakers": [],   "audio": {    "key": "seed-memo"   },   "lines": [],   "marks": [],   "silenced": [],   "summary": {    "note": "The summary comes once the words are ready."   },   "actions": [],   "language": {    "line": "English",    "chosen": [     "en"    ],    "choices": [     {      "code": "en",      "label": "English",      "on": true     },     {      "code": "hi",      "label": "Hindi",      "on": false     },     {      "code": "te",      "label": "Telugu",      "on": false     }    ]   },   "buttons": {    "note": {     "label": "Save as note",     "saved": false    },    "share": {     "label": "Share"    },    "delete": {     "label": "Delete recording",     "ask": "Delete this recording? Its words and summary go too. To-dos made from it stay."    },    "date": {     "label": "Change date and time",     "title": "When was this recorded?",     "save": "Save",     "cancel": "Cancel",     "at": "2026-11-23T12:40:00.000Z"    }   },   "words": {    "who": "Who",    "summary": "Summary",    "actions": "To do",    "transcript": "What was said",    "language": "Language",    "title_hint": "Name this recording",    "nothing": "Nothing was said yet."   },   "duration_ms": 120000,   "named": true  },  "rec-call": {   "id": "rec-call",   "title": "Call with Ravi",   "when": "Yesterday, 12:04",   "length": "12 min",   "source": "call",   "where": {    "line": "Your Mac makes the summary",    "on": "mac"   },   "status": "transcribed",   "status_line": "Words ready",   "speakers": [    {     "speaker": "sp-me",     "label": "You",     "name": "You",     "person": null,     "picture": {      "photo": null,      "initials": "KR",      "tint": 2     },     "choose": "Who is this?"    },    {     "speaker": "sp-ravi",     "label": "Ravi",     "name": "Ravi Menon",     "person": "p-ravi",     "picture": {      "photo": null,      "initials": "RM",      "tint": 1     },     "choose": "Who is this?"    }   ],   "audio": {    "key": "seed-call"   },   "lines": [    {     "line": "c1",     "speaker": "sp-ravi",     "name": "Ravi Menon",     "start_ms": 0,     "end_ms": 5000,     "text": "Did you see the plan for the trip?",     "language": "en",     "edited": false    },    {     "line": "c2",     "speaker": "sp-me",     "name": "You",     "start_ms": 5000,     "end_ms": 9000,     "text": "Yes, the 7:40 train works for me.",     "language": "en",     "edited": false    }   ],   "marks": [    19400   ],   "silenced": [],   "summary": {    "note": "Your Mac makes the summary. Open the Cotton Mac app to have one."   },   "actions": [],   "language": {    "line": "English",    "chosen": [     "en"    ],    "choices": [     {      "code": "en",      "label": "English",      "on": true     },     {      "code": "hi",      "label": "Hindi",      "on": false     },     {      "code": "te",      "label": "Telugu",      "on": false     }    ]   },   "buttons": {    "note": {     "label": "Save as note",     "saved": false    },    "share": {     "label": "Share"    },    "again": {     "label": "Turn into words again on your Mac",     "on": "mac"    },    "delete": {     "label": "Delete recording",     "ask": "Delete this recording? Its words and summary go too. To-dos made from it stay."    },    "summary": {     "label": "Ask your Mac for the summary"    },    "date": {     "label": "Change date and time",     "title": "When was this recorded?",     "save": "Save",     "cancel": "Cancel",     "at": "2026-11-23T09:05:00.000Z"    }   },   "words": {    "who": "Who",    "summary": "Summary",    "actions": "To do",    "transcript": "What was said",    "language": "Language",    "title_hint": "Name this recording",    "nothing": "Nothing was said yet."   },   "duration_ms": 720000,   "named": true  } }, "live": {  "title": "Recording",  "time": "0:00",  "stop": "Stop",  "pause": "Pause",  "resume": "Resume",  "mark": "Mark",  "discard": "Discard",  "discardAsk": "Discard this recording? It can't be brought back.",  "space": null }, "said": {  "note": "Saved to Words",  "todo": "Added to to-dos",  "share": "Sent",  "delete": "Recording deleted",  "title": null,  "language": "It will be turned into words again in English and Hindi.",  "again": "Your Mac will turn it into words again.",  "summary": null,  "name": null,  "import": "Brought in. Turning it into words next.",  "date": "Date changed" }, "tools": {  "search": {   "hint": "Search what was said",   "one": "1 line",   "many": "{count} lines",   "none": "Not said in this recording"  },  "skip": {   "back": {    "label": "Back 15 seconds",    "ms": -15000   },   "ahead": {    "label": "Ahead 15 seconds",    "ms": 15000   }  },  "export": {   "label": "Export",   "choices": [    {     "format": "text",     "label": "Text"    },    {     "format": "srt",     "label": "Subtitles"    },    {     "format": "audio",     "label": "Audio"    }   ]  },  "absent": "The audio is not on this phone yet. Play it once, then export it." }}