cortico-world-agent-speed 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/LICENSE +0 -14
- package/README.md +29 -11
- package/THIRD_PARTY_NOTICES.md +69 -0
- package/activity.d.ts +15 -0
- package/activity.js +88 -3
- package/describe.json +806 -0
- package/dist/webui.css +2 -0
- package/dist/webui.css.map +7 -0
- package/dist/webui.js +2 -0
- package/dist/webui.js.map +7 -0
- package/host/app-store.cjs +68 -0
- package/host/cursor.cjs +67 -0
- package/host/electron-main.cjs +666 -0
- package/host/input-shape.cjs +63 -0
- package/host/mouse-lease.cjs +77 -0
- package/host/overlay.cjs +139 -0
- package/host/portrait.cjs +52 -0
- package/host/preload.cjs +60 -14
- package/host/renderer-gone.cjs +24 -0
- package/host/windows.cjs +251 -0
- package/package.json +27 -7
- package/scripts/build-webui.mjs +40 -0
- package/scripts/speech-bank/build.py +166 -0
- package/scripts/speech-bank/dicts.py +76 -0
- package/src/ENV_PROMPT.en.md +51 -0
- package/src/ENV_PROMPT.md +51 -0
- package/src/asr/address.ts +25 -0
- package/src/asr/hotkey.ts +335 -0
- package/src/asr/result.ts +51 -0
- package/src/asr/segmenter.ts +269 -0
- package/src/asr/sherpa.ts +280 -0
- package/src/asr/simplify.ts +38 -0
- package/src/asr/system-recognizer.ts +292 -0
- package/src/asr/system-sapi.ps1 +173 -0
- package/src/asr/transcription-api.ts +176 -0
- package/src/chat.ts +212 -0
- package/src/config.ts +481 -0
- package/src/cua/ENV_PROMPT.en.md +29 -0
- package/src/cua/ENV_PROMPT.md +29 -0
- package/src/cua/config.ts +88 -0
- package/src/cua/cua.ts +712 -0
- package/src/cua/engine/darwin.ts +410 -0
- package/src/cua/engine/display.ts +55 -0
- package/src/cua/engine/fail.ts +15 -0
- package/src/cua/engine/foreground.ts +8 -0
- package/src/cua/engine/image.ts +57 -0
- package/src/cua/engine/keys.ts +70 -0
- package/src/cua/engine/linux-keys.ts +29 -0
- package/src/cua/engine/linux.ts +343 -0
- package/src/cua/engine/mac-keys.ts +57 -0
- package/src/cua/engine/user-activity.ts +54 -0
- package/src/cua/engine/wait-idle.ts +31 -0
- package/src/cua/engine/win32.ts +299 -0
- package/src/cua/engine-child.ts +274 -0
- package/src/cua/engine-ipc.ts +140 -0
- package/src/cua/i18n/de.ts +53 -0
- package/src/cua/i18n/en.ts +63 -0
- package/src/cua/i18n/es-419.ts +53 -0
- package/src/cua/i18n/fr.ts +53 -0
- package/src/cua/i18n/index.ts +26 -0
- package/src/cua/i18n/it.ts +53 -0
- package/src/cua/i18n/ja.ts +53 -0
- package/src/cua/i18n/ko.ts +53 -0
- package/src/cua/i18n/pt-BR.ts +53 -0
- package/src/cua/i18n/ru.ts +59 -0
- package/src/cua/i18n/zh-Hant.ts +53 -0
- package/src/cua/i18n/zh.ts +59 -0
- package/src/cua/model-text.ts +252 -0
- package/src/cua/terminal.ts +31 -0
- package/src/cua/tools.ts +153 -0
- package/src/definition.ts +146 -0
- package/src/host-reason.ts +32 -0
- package/src/i18n/de.ts +409 -0
- package/src/i18n/en.ts +443 -0
- package/src/i18n/es-419.ts +409 -0
- package/src/i18n/fr.ts +409 -0
- package/src/i18n/index.ts +56 -0
- package/src/i18n/it.ts +409 -0
- package/src/i18n/ja.ts +409 -0
- package/src/i18n/ko.ts +409 -0
- package/src/i18n/pt-BR.ts +409 -0
- package/src/i18n/ru.ts +415 -0
- package/src/i18n/zh-Hant.ts +409 -0
- package/src/i18n/zh.ts +440 -0
- package/src/index.ts +15 -0
- package/src/model-text.ts +344 -0
- package/src/moves.ts +101 -0
- package/src/pack-import.ts +361 -0
- package/src/packs.ts +449 -0
- package/src/runtime/download.ts +29 -0
- package/src/runtime/store.ts +293 -0
- package/src/script.ts +202 -0
- package/src/self.ts +247 -0
- package/src/server.ts +479 -0
- package/src/speech/data/CMUDICT-LICENSE +33 -0
- package/src/speech/data/IPADIC-COPYING +71 -0
- package/src/speech/data/UNICODE-LICENSE +39 -0
- package/src/speech/data/en.tsv.gz +0 -0
- package/src/speech/data/ja-ipadic.tsv.gz +0 -0
- package/src/speech/data/ja-unihan.tsv.gz +0 -0
- package/src/speech/data/zh.json +1 -0
- package/src/speech/index.ts +204 -0
- package/src/speech/ipa.ts +83 -0
- package/src/speech/japanese.ts +105 -0
- package/src/speech/jukujikun.ts +22 -0
- package/src/speech/korean.ts +35 -0
- package/src/speech/lang.ts +151 -0
- package/src/speech/rules.ts +72 -0
- package/src/speech/syllable.ts +76 -0
- package/src/status.ts +164 -0
- package/src/tools.ts +110 -0
- package/src/webui/api-rows.css +2 -0
- package/src/webui/api-rows.ts +44 -0
- package/src/webui/client.ts +451 -0
- package/src/webui/dress-dialog.css +14 -0
- package/src/webui/dress-dialog.ts +117 -0
- package/src/webui/dress-panel.ts +160 -0
- package/src/webui/key-capture.ts +60 -0
- package/src/webui/shared/modal.css +13 -0
- package/src/webui/shared/modal.ts +77 -0
- package/src/webui/shared/problem.css +15 -0
- package/src/webui/shared/problem.ts +217 -0
- package/src/webui/shared/strings.ts +5 -0
- package/src/webui/style.css +50 -0
- package/src/window-host.ts +116 -0
- package/src/world.ts +2926 -0
- package/web/activity-motion.js +117 -0
- package/web/appearance.js +60 -0
- package/web/body-host.js +257 -0
- package/web/coo/coo.js +384 -0
- package/web/coo/figure.js +15 -0
- package/web/coo/figure.json +1224 -0
- package/web/dist/dress-dialog.css +1 -0
- package/web/dist/dress-dialog.js +1 -0
- package/web/drag-row.js +49 -0
- package/web/drag.js +149 -0
- package/web/dress.css +170 -0
- package/web/dress.html +37 -0
- package/web/dress.js +786 -0
- package/web/figure-frame.html +16 -0
- package/web/figure-frame.js +128 -0
- package/web/frame-loop.js +55 -0
- package/web/hints.js +77 -0
- package/web/i18n/de.js +170 -0
- package/web/i18n/en.js +177 -0
- package/web/i18n/es-419.js +170 -0
- package/web/i18n/fr.js +170 -0
- package/web/i18n/it.js +170 -0
- package/web/i18n/ja.js +170 -0
- package/web/i18n/ko.js +170 -0
- package/web/i18n/pt-BR.js +170 -0
- package/web/i18n/ru.js +170 -0
- package/web/i18n/zh-Hant.js +170 -0
- package/web/i18n/zh.js +175 -0
- package/web/i18n.js +54 -0
- package/{renderer/vendor → web}/kit/body.js +31 -58
- package/web/looks.js +70 -0
- package/web/mic-worklet.js +36 -0
- package/web/mic.js +117 -0
- package/web/motion-frames.js +80 -0
- package/web/motion-level.js +40 -0
- package/web/new-year-2027.svg +238 -0
- package/web/overlay.html +16 -0
- package/web/overlay.js +100 -0
- package/web/pet-app.js +3000 -0
- package/web/pet.css +642 -0
- package/web/pet.html +21 -0
- package/web/scale-slider.js +259 -0
- package/web/show-hide.js +49 -0
- package/web/sound.js +245 -0
- package/web/speech/zh.json +1 -0
- package/web/speech/zh.ogg +0 -0
- package/web/speech.js +197 -0
- package/web/stage.js +160 -0
- package/web/swap-motion.js +119 -0
- package/web/ui.js +195 -0
- package/host/launch.js +0 -187
- package/host/library.cjs +0 -638
- package/host/main.cjs +0 -389
- package/index.js +0 -93
- package/renderer/index.html +0 -22
- package/renderer/pet-sandbox.html +0 -11
- package/renderer/pet.css +0 -38
- package/renderer/pet.js +0 -251
- package/renderer/vendor/activity-motion.js +0 -101
- package/renderer/vendor/figure-frame.js +0 -115
- package/renderer/vendor/pack.css +0 -2
- /package/{renderer/vendor → web}/kit/rig.js +0 -0
package/src/i18n/en.ts
ADDED
|
@@ -0,0 +1,443 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* English: the text this World shows people. The keys are zh.ts's; a language other than zh-Hant
|
|
3
|
+
* reads the top-level keys its file leaves out from here. Bubbles, the menu and voice hints follow the
|
|
4
|
+
* app language; the console's settings, panels, chat page and prompt notes follow the console
|
|
5
|
+
* request's language. Text the bot reads is not here (model-text.ts).
|
|
6
|
+
*/
|
|
7
|
+
import type { PetText } from './index.ts';
|
|
8
|
+
|
|
9
|
+
const en: PetText = {
|
|
10
|
+
/** What events and bubbles call the person while no name is set. */
|
|
11
|
+
defaultUser: 'Pal',
|
|
12
|
+
|
|
13
|
+
/** The pet's menu and bubbles. */
|
|
14
|
+
menu: {
|
|
15
|
+
/** The power button's name when the app gives none. */
|
|
16
|
+
quit: 'Quit',
|
|
17
|
+
/** The question in the menu header after the power button is clicked. */
|
|
18
|
+
quitPrompt: (label: string) => `${label}?`,
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
/** Status bubble: a tool call without its own description. */
|
|
22
|
+
busy: 'Working',
|
|
23
|
+
|
|
24
|
+
/** Voice input: the microphone button's state in the menu, and the notes in the introduction and on the settings page. */
|
|
25
|
+
voice: {
|
|
26
|
+
serviceStopped: 'Recognition service stopped; voice input is unavailable',
|
|
27
|
+
recorded: 'Recording sent',
|
|
28
|
+
recordingUnavailable: 'Recording could not be sent and no transcript is available',
|
|
29
|
+
starting: 'Speech recognition is starting',
|
|
30
|
+
notRunning: 'Speech recognition is not running',
|
|
31
|
+
modelMissing: (mb: number) => `The speech model is not downloaded yet (about ${mb} MB): download it on the Voice input page`,
|
|
32
|
+
badKey: (hotkey: string) => `Unknown key "${hotkey}"`,
|
|
33
|
+
keyProblem: (problem: string) => `The talk key is unavailable, so speech is not recognized for now: ${problem}`,
|
|
34
|
+
always: 'Always listening: just talk',
|
|
35
|
+
/** The talk key switches listening on and off; `label` is the full key name with its presses ("Double-press Left Alt"). */
|
|
36
|
+
toggleTaps: (label: string, taps: number) => `${label} to start listening, ${taps === 2 ? 'double' : 'triple'}-press again to stop`,
|
|
37
|
+
toggle: (key: string) => `Press ${key} to start listening, press it again to stop`,
|
|
38
|
+
holdTaps: (key: string, taps: number) => `Tap ${key} ${taps === 2 ? 'once' : 'twice'}, then hold it and talk; let go to send`,
|
|
39
|
+
hold: (key: string) => `Hold ${key} and talk; let go to send`,
|
|
40
|
+
/** A line in the Voice input page's results for a sentence that was not recognized. */
|
|
41
|
+
failedLine: (error: string) => `[failed] ${error}`,
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
/** Names of the talk keys, by their Windows key names; the Mac set goes over them. */
|
|
45
|
+
keys: {
|
|
46
|
+
LeftCtrl: 'Left Ctrl', RightCtrl: 'Right Ctrl', LeftAlt: 'Left Alt', RightAlt: 'Right Alt', LeftShift: 'Left Shift', RightShift: 'Right Shift',
|
|
47
|
+
RightWin: 'Right Win', Backquote: '`', Mouse3: 'Middle mouse button', Mouse4: 'Mouse button 4', Mouse5: 'Mouse button 5',
|
|
48
|
+
},
|
|
49
|
+
macKeys: {
|
|
50
|
+
Ctrl: 'Control', LeftCtrl: 'Left Control', RightCtrl: 'Right Control',
|
|
51
|
+
Alt: 'Option', LeftAlt: 'Left Option', RightAlt: 'Right Option', Win: 'Command', RightWin: 'Right Command',
|
|
52
|
+
},
|
|
53
|
+
/** Repeated presses, put before the key name: "Double-press Left Alt". */
|
|
54
|
+
taps: (taps: number, keys: string) => `${taps === 2 ? 'Double' : 'Triple'}-press ${keys}`,
|
|
55
|
+
|
|
56
|
+
/** Why the talk key cannot be read. */
|
|
57
|
+
hotkey: {
|
|
58
|
+
cannotRead: (why: string) => `Cannot read the keyboard: ${why}`,
|
|
59
|
+
macNoKey: 'A Mac keyboard has no such key; pick another talk key',
|
|
60
|
+
macPermission: 'No Input Monitoring permission: turn Coopanion on under System Settings → Privacy & Security → Input Monitoring, then restart it. If it is on already, remove Coopanion from the list with "−" and add it back: an updated version does not inherit the old permission',
|
|
61
|
+
linuxNoKey: 'Linux cannot read this key (mouse side buttons do not work); pick another talk key',
|
|
62
|
+
linuxNoDisplay: 'The talk key needs X11 (or XWayland) on Linux: DISPLAY is not set',
|
|
63
|
+
linuxNoX11: 'The talk key cannot connect to the X11 display',
|
|
64
|
+
unsupported: 'The talk key works on Windows, macOS and Linux only',
|
|
65
|
+
},
|
|
66
|
+
/** Why the typing key cannot be read; the other two reasons (the keyboard, Input Monitoring) are the ones in `hotkey`. */
|
|
67
|
+
typeKey: {
|
|
68
|
+
macNoKey: 'A Mac keyboard has no such key; pick another typing key',
|
|
69
|
+
linuxNoKey: 'Linux cannot read this key (mouse side buttons do not work); pick another typing key',
|
|
70
|
+
linuxNoDisplay: 'The typing key needs X11 (or XWayland) on Linux: DISPLAY is not set',
|
|
71
|
+
linuxNoX11: 'The typing key cannot connect to the X11 display',
|
|
72
|
+
unsupported: 'The typing key works on Windows, macOS and Linux only',
|
|
73
|
+
},
|
|
74
|
+
throughPauseKey: {
|
|
75
|
+
macNoKey: 'A Mac keyboard has no such key; pick another click-through pause key',
|
|
76
|
+
linuxNoKey: 'Linux cannot read this key (mouse side buttons do not work); pick another click-through pause key',
|
|
77
|
+
linuxNoDisplay: 'The click-through pause key needs X11 (or XWayland) on Linux: DISPLAY is not set',
|
|
78
|
+
linuxNoX11: 'The click-through pause key cannot connect to the X11 display',
|
|
79
|
+
unsupported: 'The click-through pause key works on Windows, macOS and Linux only',
|
|
80
|
+
sharesTalk: 'Pressed the same way as the talk key: holding it also starts listening; change one of them',
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
/** Windows' own speech recognizer. */
|
|
84
|
+
system: {
|
|
85
|
+
name: (culture: string) => (culture ? `Windows Speech Recognition (${culture})` : 'Windows Speech Recognition'),
|
|
86
|
+
noSpeech: 'The System.Speech component does not load',
|
|
87
|
+
noRecognizer: (language: string) => `Windows has no speech recognizer${language === 'auto' ? '' : ` for "${language}"`}: add Speech recognition for the language under Windows Settings → Time & language → Language`,
|
|
88
|
+
windowsOnly: 'Windows Speech Recognition is only on Windows',
|
|
89
|
+
startFailed: (why: string) => `Failed to start: ${why}`,
|
|
90
|
+
exited: 'The speech recognition process exited',
|
|
91
|
+
exitedCode: (code: number | null) => `The speech recognition process exited (exit code ${code})`,
|
|
92
|
+
notReady: 'Windows Speech Recognition did not become ready in time',
|
|
93
|
+
notRunning: 'Windows Speech Recognition is not running',
|
|
94
|
+
timeout: (ms: number) => `Recognition timed out (${ms} ms)`,
|
|
95
|
+
stopped: 'Windows Speech Recognition has stopped',
|
|
96
|
+
},
|
|
97
|
+
|
|
98
|
+
/** The speech models sherpa-onnx runs. */
|
|
99
|
+
sherpa: {
|
|
100
|
+
incomplete: 'Some speech model files are missing: download it again',
|
|
101
|
+
noRuntime: (platform: string) => `sherpa-onnx has no runtime for this platform (${platform})`,
|
|
102
|
+
loadFailed: (why: string) => `The speech model failed to load: ${why}`,
|
|
103
|
+
notLoaded: 'The speech model is not loaded',
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
/** The OpenAI-compatible transcription service (engine api) */
|
|
107
|
+
transcription: {
|
|
108
|
+
noUrl: 'The transcription service address is not set',
|
|
109
|
+
badUrl: (url: string) => `The address is not an http or https URL: ${url}`,
|
|
110
|
+
httpRemote: 'A remote address must use https: http is not encrypted, so the API Key and the recordings would travel in plain text. Addresses on this computer or the local network may use http.',
|
|
111
|
+
noModel: 'The transcription model is not set',
|
|
112
|
+
notRunning: 'The transcription service is not started',
|
|
113
|
+
status: (status: number, message: string) => (message ? `HTTP ${status}: ${message}` : `HTTP ${status}`),
|
|
114
|
+
timeout: (ms: number) => `The service did not answer within ${ms} ms`,
|
|
115
|
+
network: (why: string) => `Cannot reach the service: ${why}`,
|
|
116
|
+
noText: 'The service answered without text',
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
/** Downloading the window runtime and the speech model. */
|
|
120
|
+
store: {
|
|
121
|
+
noBuild: (platform: string) => `No prebuilt package for ${platform}`,
|
|
122
|
+
downloading: (file: string) => `Downloading ${file}`,
|
|
123
|
+
unpacking: 'Unpacking',
|
|
124
|
+
downloadingModel: 'Downloading the speech model',
|
|
125
|
+
downloadingFrom: (file: string, host: string) => `Downloading ${file} (${host})`,
|
|
126
|
+
verifying: (file: string) => `Verifying ${file}`,
|
|
127
|
+
mismatch: (sum: string) => `Checksum mismatch: ${sum}…`,
|
|
128
|
+
failed: (file: string, why: string) => `${file} failed to download (${why})`,
|
|
129
|
+
exitCode: (cmd: string, code: number | null, out: string) => `${cmd} exit code ${code}: ${out}`,
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
/** Why a pack's figure.json cannot be read; field names as written there. */
|
|
133
|
+
packs: {
|
|
134
|
+
noManifest: (file: string) => `No ${file}`,
|
|
135
|
+
badJson: (file: string, why: string) => `${file} is not valid JSON: ${why}`,
|
|
136
|
+
notInteger: (key: string, got: string) => `${key} must be an integer, not ${got}`,
|
|
137
|
+
tooNew: (key: string, v: number, now: number) => `${key} is ${v}; this version reads up to ${now}: update the app first`,
|
|
138
|
+
tooOld: (key: string, v: number, oldest: number) => `${key} ${v} is a test format from before ${oldest} and cannot be read`,
|
|
139
|
+
badId: (got: string) => `Invalid id: ${got}`,
|
|
140
|
+
noName: 'name is missing',
|
|
141
|
+
noAbout: 'about is missing',
|
|
142
|
+
badEntry: 'entry or export is invalid',
|
|
143
|
+
badModel: 'The model path is invalid',
|
|
144
|
+
badThumb: 'The thumb path is invalid',
|
|
145
|
+
badAxis: (got: string) => `Invalid entry in axes: ${got}`,
|
|
146
|
+
badOption: (axis: string, got: string) => `Invalid option in axes.${axis}: ${got}`,
|
|
147
|
+
badPreset: (got: string) => `Invalid entry in presets: ${got}`,
|
|
148
|
+
presetMissing: (preset: string, axis: string) => `presets.${preset} picks no option for ${axis}`,
|
|
149
|
+
vocabNotArray: 'vocab must be an array',
|
|
150
|
+
badWordId: (got: string) => `Invalid id in vocab: ${got}`,
|
|
151
|
+
unknownKind: (id: string, kind: string) => `vocab.${id}.kind is ${kind}, which this version does not know; the bot does not get this word`,
|
|
152
|
+
namesNotArray: (id: string, lang: string) => `vocab.${id}.names.${lang} must be an array`,
|
|
153
|
+
badWordName: (id: string, got: string) => `Invalid name in vocab.${id}: ${got}`,
|
|
154
|
+
nameTaken: (name: string) => `${name} names more than one word in vocab`,
|
|
155
|
+
noWordAbout: (id: string) => `vocab.${id}.about is missing`,
|
|
156
|
+
badSeconds: (id: string) => `vocab.${id}.seconds must be a positive number`,
|
|
157
|
+
soundsNotObject: 'sounds must be an object',
|
|
158
|
+
badSoundName: (got: string) => `Invalid name in sounds: ${got}`,
|
|
159
|
+
badSoundFile: (name: string) => `sounds.${name}.file must be a file in the pack`,
|
|
160
|
+
badVolume: (name: string) => `sounds.${name}.volume must be 0–1`,
|
|
161
|
+
soundType: (name: string, file: string) => `${file} of sounds.${name} is not an .ogg, .mp3 or .wav this version plays; the sound stays silent`,
|
|
162
|
+
soundKind: (name: string, kind: string, kinds: readonly string[]) => `sounds.${name}.kind is ${kind}; this version knows ${kinds.join(', ')} only, so the sound stays silent`,
|
|
163
|
+
soundMissing: (name: string, file: string) => `${file} of sounds.${name} does not exist; the sound stays silent`,
|
|
164
|
+
soundRepeat: (name: string, got: string, values: readonly string[]) => `sounds.${name}.repeat is ${got}; this version knows ${values.join(', ')} only, so the sound plays as overlap`,
|
|
165
|
+
badWalk: (got: string) => `can.walk is ${got}, which this version does not know; taken as able to walk`,
|
|
166
|
+
movesNotArray: 'moves must be an array',
|
|
167
|
+
tooManyMoves: (max: number) => `moves holds at most ${max} targets`,
|
|
168
|
+
badMoveId: (got: string) => `Invalid id in moves: ${got} (left, center, right, cursor and numbers are the default targets)`,
|
|
169
|
+
moveTaken: (id: string) => `${id} appears more than once in moves`,
|
|
170
|
+
noMoveText: (id: string) => `moves.${id} has no name or about`,
|
|
171
|
+
badMoveParams: (id: string, max: number) => `moves.${id}.params must be an array of at most ${max}, each with an id, an about, and numbers min below max`,
|
|
172
|
+
needsNotArray: 'needs must be an array',
|
|
173
|
+
unknownNeed: (got: string) => `${got} in needs is not provided by this version and is left out`,
|
|
174
|
+
idTaken: (id: string, builtin: boolean) => `id ${id} is taken by ${builtin ? 'a built-in figure' : 'another pack'}`,
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
/** Importing packs on the dressing page. */
|
|
178
|
+
importing: {
|
|
179
|
+
badZip: (why: string) => `Not a readable zip: ${why}`,
|
|
180
|
+
truncated: 'The upload is incomplete',
|
|
181
|
+
badPath: (path: string) => `A path cannot be used: ${path}`,
|
|
182
|
+
builtinId: (id: string) => `id ${id} belongs to a built-in figure; change the id to import it`,
|
|
183
|
+
duplicateId: (id: string) => `id ${id} is the same as another pack in this import`,
|
|
184
|
+
unpackFailed: (why: string) => `Could not unpack: ${why}`,
|
|
185
|
+
expired: 'This import has expired; choose the files again',
|
|
186
|
+
noneChosen: 'No pack is chosen',
|
|
187
|
+
zipOrFolder: 'Only a zip or folders can be imported',
|
|
188
|
+
},
|
|
189
|
+
|
|
190
|
+
/** Uninstalling packs on the dressing page. */
|
|
191
|
+
removing: {
|
|
192
|
+
notInstalled: (id: string) => `No figure pack has id ${id}`,
|
|
193
|
+
builtin: (id: string) => `${id} is a built-in figure and cannot be uninstalled`,
|
|
194
|
+
elsewhere: (id: string) => `${id} is not in the figure pack installation folder and cannot be uninstalled here`,
|
|
195
|
+
failed: (why: string) => `Could not delete it: ${why}`,
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
/** The bubble in which the pet asks the person's consent to a change of settings: the question, its three buttons, and how each change is said */
|
|
199
|
+
consent: {
|
|
200
|
+
question: (items: string[]) => `Can I ${items.join(', ')}?`,
|
|
201
|
+
/** OK / Always OK (these items are not asked about again) / No thanks */
|
|
202
|
+
choices: ['OK', 'Always OK', 'No thanks'] as [yes: string, always: string, no: string],
|
|
203
|
+
list: (items: string[]) => items.join(', '),
|
|
204
|
+
pick: (axis: string, option: string) => `${axis}: ${option}`,
|
|
205
|
+
figure: (to: string) => `switch to ${to}`,
|
|
206
|
+
scheme: (figure: string, look: string) => `put on a different ${figure} look (${look})`,
|
|
207
|
+
roam: { free: 'Often', calm: 'Now and then', off: 'Stay put' } as Record<'free' | 'calm' | 'off', string>,
|
|
208
|
+
roamTo: (to: string) => `set my walking to "${to}"`,
|
|
209
|
+
snore: (seconds: number) => (seconds === 0 ? 'snore until I wake' : `snore for ${seconds} s each time I sleep`),
|
|
210
|
+
sound: (on: boolean) => (on ? 'turn sounds on' : 'turn sounds off'),
|
|
211
|
+
scale: (from: number, to: number) => `change my size from ${from}× to ${to}×`,
|
|
212
|
+
bubbleSize: (from: number, to: number) => `change the bubble size from ${from}× to ${to}×`,
|
|
213
|
+
fontSize: (from: number, to: number) => `change the text size from ${from}× to ${to}×`,
|
|
214
|
+
theme: { dark: 'switch to the night look', light: 'switch to the day look' } as Record<'dark' | 'light', string>,
|
|
215
|
+
hover: (list: string) => `change the hover buttons to ${list}`,
|
|
216
|
+
hoverNone: 'remove all the hover buttons',
|
|
217
|
+
actions: { chat: 'Type', voice: 'Voice input', roam: 'Walking', theme: 'Night mode', sound: 'Sounds', size: 'Size', fade: "Transparency", dress: 'Dress up', cua: "Computer use", hide: 'Hide pet', through: 'Click-through', worlds: 'My Worlds' } as Record<string, string>,
|
|
218
|
+
user: (to: string) => `call you "${to}"`,
|
|
219
|
+
},
|
|
220
|
+
|
|
221
|
+
/** Why the World fails to start when every page port is taken. */
|
|
222
|
+
portsTaken: (from: number, to: number, why: string) => `Ports ${from}–${to} are all taken: ${why}`,
|
|
223
|
+
|
|
224
|
+
/** The console: the World page's lamps, links, panels and prompt notes. */
|
|
225
|
+
console: {
|
|
226
|
+
label: 'Desktop pet',
|
|
227
|
+
window: 'Pet window',
|
|
228
|
+
connected: 'Page connected',
|
|
229
|
+
notOpen: 'Not open',
|
|
230
|
+
/** The window lamp while the page in the window reported that no figure would draw. */
|
|
231
|
+
noBody: (reason: string) => `Page connected, the figure cannot be drawn: ${reason}`,
|
|
232
|
+
/** The window lamp's hint when a browser page stands in for the window. */
|
|
233
|
+
alsoBrowser: (hint: string) => `${hint}; a browser page is connected`,
|
|
234
|
+
voice: 'Speech recognition',
|
|
235
|
+
notStarted: 'Not started',
|
|
236
|
+
viewInBrowser: 'View the pet in the browser',
|
|
237
|
+
dress: 'Dress up',
|
|
238
|
+
panels: {
|
|
239
|
+
pet: { title: 'Desktop pet', description: 'The window, the dress and the window runtime.' },
|
|
240
|
+
voice: { title: 'Voice input', description: 'Recognition engine, input level and what was heard.' },
|
|
241
|
+
},
|
|
242
|
+
envPrompt: { title: 'Desktop pet environment', description: "Describes the pet's body, tools and input events." },
|
|
243
|
+
vars: {
|
|
244
|
+
'pet.user': 'What the bot calls the person',
|
|
245
|
+
'pet.vocab': "The current figure's expressions and motions",
|
|
246
|
+
'pet.moves': "The current figure's own speed_pet_move_to targets; empty when it has none",
|
|
247
|
+
'pet.voice': 'Whether voice input is on or off',
|
|
248
|
+
'pet.body': 'What the current figure looks like',
|
|
249
|
+
'pet.dress': 'The figures and dress speed_pet_set can pick',
|
|
250
|
+
'pet.self': 'Self-adjustment: which settings change directly, which wait for consent, or that none can change',
|
|
251
|
+
'pet.chat': 'A note on the chat page when the app has one; empty otherwise',
|
|
252
|
+
'pet.reply': 'A line telling the bot which language to talk in when the app language is neither Simplified Chinese nor English; empty otherwise',
|
|
253
|
+
'pet.cua': 'The computer use part: screenshot coordinates, when the person is asked first, and staying out of their way; empty while computer use is off',
|
|
254
|
+
},
|
|
255
|
+
noGuide: 'This app has no introduction',
|
|
256
|
+
unknownMethod: (name: string) => `Unknown method ${name}`,
|
|
257
|
+
},
|
|
258
|
+
|
|
259
|
+
/** The console's settings (the World page and settings in advanced mode). */
|
|
260
|
+
config: {
|
|
261
|
+
group: 'Desktop pet',
|
|
262
|
+
soundGroup: 'Sounds',
|
|
263
|
+
asrGroup: 'Voice input',
|
|
264
|
+
user: { title: 'Your name', description: (max: number) => `The name voice, typing and touch events call you by, up to ${max} characters. Empty uses the default name.` },
|
|
265
|
+
roam: { title: 'Walking', description: 'free walks about often; calm stays put most of the time; off moves only when asked.' },
|
|
266
|
+
theme: { title: 'Night mode', description: 'dark is night: a light body and dark bubbles; light is day: a dark body and light bubbles.' },
|
|
267
|
+
rememberPosition: { title: 'Remember position', description: 'Saves how far across the screen the pet stands when the app quits, and starts there next time; with several screens Coo always starts on the main one.' },
|
|
268
|
+
hoverButtons: { title: 'Hover buttons', description: (max: number, ids: string) => `Buttons beside the pet while the pointer rests on Coo, up to ${max}, separated by commas: ${ids}.` },
|
|
269
|
+
doubleClickChat: { title: 'Double-click to type', description: 'Double-clicking the pet opens the typing box.' },
|
|
270
|
+
statusBubble: { title: 'Status bubble', description: 'Shows what the pet is doing while Coo thinks, looks through memory or uses the computer, file names included.' },
|
|
271
|
+
saidBubbles: { title: 'Input bubbles', description: 'What the person types, says or sends from the chat page shows above the pet. When off, speech shows only while it is recognized.' },
|
|
272
|
+
saidBubbleHoldSec: { title: 'Input bubble duration', description: 'Seconds an input bubble stays from when it was sent or recognized; 0 = automatic, fading after the reply.' },
|
|
273
|
+
selfAdjust: { title: 'Self-adjustment', description: 'off: Coo cannot change settings or keep quiet for a while. default: figure, dress, walking and snoring change directly; size, bubble size, text size, sounds, night mode, hover buttons and what Coo calls you wait for your consent. any: everything changes directly. custom: as ticked on the Habits page; ticked items change directly, the rest wait for your consent.' },
|
|
274
|
+
windowEnabled: { title: 'Open the pet window at start' },
|
|
275
|
+
scale: { title: 'Size' },
|
|
276
|
+
bubbleSize: { title: 'Bubble size', description: "Width, padding, corners and tail of the pet's bubbles and yours, 1 being the default; the text keeps its size." },
|
|
277
|
+
fontSize: { title: 'Text size', description: 'Size of the text in the bubbles, 1 being the default; the bubbles keep their width.' },
|
|
278
|
+
bubbleSpeed: { title: 'Bubble speed', description: "How fast the pet's bubbles type out and how long they stay on automatic, 1 being the default; higher is faster." },
|
|
279
|
+
sayBubbleHoldSec: { title: 'Speech bubble duration', description: 'Seconds each part of a line stays once typed out; 0 = automatic, by its length and the bubble speed.' },
|
|
280
|
+
glow: { title: 'Outer glow', description: "How many pixels the light glow around the pet reaches when Coo's colors match the background; 0 turns it off." },
|
|
281
|
+
frameRate: { title: 'Frame rate', description: 'Frames a second while the pet walks, is carried or jumps; 0 follows the display. Above the display\'s refresh rate the display\'s rate applies. The Habits page offers 60, 120, 144 and Unlimited.' },
|
|
282
|
+
lockFrameRate: { title: 'Lock frame rate', description: 'Draws the pet at the frame rate at rest too. When off, it drops to 30 frames a second while standing, sitting or asleep.' },
|
|
283
|
+
motion: { title: "Motion", description: "How much the interface moves, in the settings window and the pet window: system follows the system's reduced-motion setting (low when it asks for less, high otherwise), low keeps only colour changes and loading indicators, medium drops bounces and decorative motion, high keeps everything. Coo's own movement is not affected; see roam." },
|
|
284
|
+
fade: { title: "Transparency", description: "How see-through the pet is: 0 is opaque, up to 95%, in steps of 5%." },
|
|
285
|
+
hideWhenFullscreen: { title: 'Hide during full screen', description: 'When on, the pet hides while the window in front fills the screen Coo is on (a game, a full-screen video, a browser in full screen) and comes back when full screen ends; a maximized window does not count. When off, Coo always stays on top.' },
|
|
286
|
+
passWhenFullscreen: { title: "Let clicks pass through during full screen", description: "When on, while the window in front fills the screen Coo is on, Coo stays visible and every click passes through it to the window below, until full screen ends; a maximized window does not count. With hide during full screen also on, Coo hides." },
|
|
287
|
+
fadeWhenFullscreen: { title: "Fade during full screen", description: "When on, while the window in front fills the screen Coo is on, the transparency during full screen replaces the usual one, until full screen ends; a maximized window does not count." },
|
|
288
|
+
fullscreenFade: { title: "Transparency during full screen" },
|
|
289
|
+
overTaskbar: { title: "Show over the taskbar", description: "When on, the pet window reaches down over a taskbar at the bottom of the screen, and what a figure draws below the floor (legs hanging down while sitting) shows over the taskbar; when off, the window ends at the top edge of the taskbar." },
|
|
290
|
+
hideFromCapture: { title: "Keep out of screenshots and recordings", description: "While on, Coo does not appear in screenshots, screen recordings, live streams, or the screenshots Coo takes. While on, desktop capture in NVIDIA Instant Replay may fail to turn on." },
|
|
291
|
+
exportOverlay: { title: 'OBS overlay', description: "Serves the pet window's picture on a transparent background at /overlay for an OBS Browser source; off, nothing is served." },
|
|
292
|
+
electronFile: { title: 'Electron executable', description: "Path to a standalone Electron executable. Leave blank to use the runtime installed from this panel." },
|
|
293
|
+
port: { title: 'Page port', description: 'Use 0 to assign a port automatically. If a specified port is taken, moves up to the next available port.' },
|
|
294
|
+
touchEnabled: { title: 'Touches become events', description: 'Pokes, petting, and being picked up and thrown.' },
|
|
295
|
+
touchWakeOn: { title: 'Response mode', description: 'poke: only a poke gets a response right away; other touches wait for the next response. all: every touch gets one. none: every touch waits for the next response. custom: the touches ticked on the Habits page get one. After a touch gets a response, the touches until that turn ends wait for the next one.' },
|
|
296
|
+
sound: { title: 'All sounds', description: "The sound button in the pet's menu flips this." },
|
|
297
|
+
volume: { title: 'Volume' },
|
|
298
|
+
sounds: {
|
|
299
|
+
move: { title: 'Moving', description: 'Walking, running, jumping, landing, being thrown, nodding, shaking, spinning, dizziness, shivering, dancing, looking about.' },
|
|
300
|
+
touch: { title: 'Touch', description: 'Being picked up, swung, petted, poked.' },
|
|
301
|
+
face: { title: 'Faces', description: 'Happy, wink, love, surprised, angry, sad, shy, yawning.' },
|
|
302
|
+
snore: { title: 'Snoring', description: '' },
|
|
303
|
+
talk: { title: 'Talking', description: 'The babble as bubble text appears, and choice cards popping up.' },
|
|
304
|
+
ui: { title: 'Buttons and cues', description: 'Button clicks, bubbles opening, picks, and listening starting and ending.' },
|
|
305
|
+
alert: { title: 'Alerts', description: 'A chime when Coo asks you to confirm.' },
|
|
306
|
+
},
|
|
307
|
+
snoreSeconds: { title: 'Snore length', suffix: 's', description: "In each sleep the pet goes quiet after snoring this long; the z's keep floating. 0 = snore until waking." },
|
|
308
|
+
panByPosition: { title: 'Pan by position', description: 'Sounds lean toward the side Coo stands on; off, they play centered.' },
|
|
309
|
+
speech: { title: 'Speech', description: 'Reads out a syllable as each character appears in a bubble, in place of the Talking babble; silent while Talking sounds are off.' },
|
|
310
|
+
speechPitch: { title: 'Speech pitch', description: (a: number, b: number, c: number) => `low, mid and high are ${a}, ${b} and ${c} Hz; custom uses the custom pitch.` },
|
|
311
|
+
speechPitchHz: { title: 'Custom pitch' },
|
|
312
|
+
speechSpeed: { title: 'Speech speed', description: (a: number, b: number, c: number) => `Most syllables a second: low, mid and high are ${a}, ${b} and ${c}; custom uses the custom speed. Slower than the text, the voice ends after the text has finished.` },
|
|
313
|
+
speechRate: { title: 'Custom speed', suffix: 'syllables/s' },
|
|
314
|
+
asrEnabled: { title: 'Voice input' },
|
|
315
|
+
asrServiceEnabled: { title: 'Recognition service', description: 'Start recognition while voice input is on; audio-capable models can still receive recordings alone when off.' },
|
|
316
|
+
asrEngine: { title: 'Recognition engine', description: "funasr runs FunASR's SenseVoiceSmall, for Chinese, English, Japanese, Korean and Cantonese, after a one-time download of about 240 MB; whisper runs OpenAI's Whisper small, for French, German, Spanish, Portuguese, Italian, Russian and about 90 more languages, after a one-time download of about 360 MB, and shows the text once a sentence ends; both recognize on this computer. system uses Windows' own speech recognition, with nothing to download and lower accuracy (Windows only). api sends the recording of each sentence to an OpenAI-compatible transcription service and shows the text once the sentence ends; its address and model are set below, its API Key on the Voice input page. Empty picks by the app language: funasr for Chinese, English, Japanese and Korean, whisper for the rest." },
|
|
317
|
+
asrLanguage: { title: 'Language', description: 'An ISO 639-1 code, or auto to let the model tell; empty follows the app language. FunASR takes zh, en, ja, ko and yue, Whisper about a hundred codes such as fr, de, es, pt, it and ru; a code the model does not take reads as auto. The transcription service is sent the code only when it has two letters.' },
|
|
318
|
+
asrApiUrl: { title: 'Transcription service address', description: 'With engine api, each sentence is sent to /audio/transcriptions under this address, such as https://api.example.com/v1. A remote address must use https; addresses on this computer or the local network may use http.' },
|
|
319
|
+
asrApiModel: { title: 'Transcription model', description: 'The model named in requests with engine api.' },
|
|
320
|
+
asrThreads: { title: 'CPU threads', description: 'Threads FunASR and Whisper use for one recognition; 0 = 2.' },
|
|
321
|
+
asrSimplified: { title: 'Convert to Simplified', description: 'Turns Traditional characters in what was heard into Simplified while the app language is Simplified Chinese.' },
|
|
322
|
+
thresholdDb: { title: 'Speech threshold' },
|
|
323
|
+
silenceMs: { title: 'Silence that ends a sentence' },
|
|
324
|
+
maxUtteranceMs: { title: 'Longest sentence' },
|
|
325
|
+
recording: { title: 'Send the recording', description: "When the current model takes audio (audio/wav), each batch of speech goes to the model service with its recording attached, and the recording is kept in the deployment's data folder. With a model that does not take audio only the text is sent, and this has no effect." },
|
|
326
|
+
recordingTranscript: { title: 'Send the transcript', description: 'The recognized text goes along with the recording; when off, the recording goes alone. When no recording goes, the text is sent as usual.' },
|
|
327
|
+
recordingMaxMinutes: { title: 'Recording limit', description: 'A batch of speech with a longer recording is sent as text only.', suffix: 'min' },
|
|
328
|
+
},
|
|
329
|
+
|
|
330
|
+
/** Why the pet window is not open, on its lamp and the pet panel. */
|
|
331
|
+
windowReason: {
|
|
332
|
+
noElectronFile: (file: string) => `The Electron executable does not exist: ${file}`,
|
|
333
|
+
noElectron: 'No Electron to run: install the window runtime on the pet panel, or set the Electron executable in the config',
|
|
334
|
+
startFailed: (why: string) => `Failed to start: ${why}`,
|
|
335
|
+
closed: 'The window was closed',
|
|
336
|
+
exited: (code: number | null) => `The window process exited (exit code ${code})`,
|
|
337
|
+
},
|
|
338
|
+
|
|
339
|
+
/** The console's Desktop pet and Voice input panels. */
|
|
340
|
+
panel: {
|
|
341
|
+
window: 'Pet window',
|
|
342
|
+
openWindow: 'Open window',
|
|
343
|
+
closeWindow: 'Close window',
|
|
344
|
+
runtime: 'Window runtime',
|
|
345
|
+
install: 'Install',
|
|
346
|
+
dress: 'Dress up',
|
|
347
|
+
dressHint: 'Changes are saved at once and reach the pet window',
|
|
348
|
+
connected: 'Connected',
|
|
349
|
+
starting: 'Starting',
|
|
350
|
+
cannotOpen: 'Cannot open',
|
|
351
|
+
notOpen: 'Not open',
|
|
352
|
+
external: 'Using an external program',
|
|
353
|
+
installed: 'Installed',
|
|
354
|
+
downloading: (progress: string) => `Downloading ${progress}`,
|
|
355
|
+
installFailed: 'Install failed',
|
|
356
|
+
notInstalled: 'Not installed',
|
|
357
|
+
noBuild: 'No prebuilt package for this platform',
|
|
358
|
+
electronSize: 'Electron 44.4.4, about 150 MB',
|
|
359
|
+
|
|
360
|
+
enable: 'Turn on voice input',
|
|
361
|
+
enabledHint: 'The microphone stays open; speech goes to Coo by the listening mode',
|
|
362
|
+
enabledHintOnPress: 'The microphone opens while the talk key is held and closes after release',
|
|
363
|
+
disabledHint: 'Off: the microphone stays closed, and the settings below wait',
|
|
364
|
+
engine: 'Recognition engine',
|
|
365
|
+
funasr: 'FunASR (on this computer)',
|
|
366
|
+
system: 'Windows built-in',
|
|
367
|
+
whisper: 'Whisper (on this computer)',
|
|
368
|
+
systemHint: 'Nothing to download, fair accuracy; switch to FunASR or Whisper for better results',
|
|
369
|
+
funasrHint: 'SenseVoiceSmall on this computer, for Chinese, English, Japanese, Korean and Cantonese',
|
|
370
|
+
whisperHint: 'Whisper small on this computer, for French, German, Spanish, Portuguese, Italian, Russian and more; the text appears once a sentence ends',
|
|
371
|
+
api: 'Transcription service (OpenAI-compatible)',
|
|
372
|
+
apiName: 'Transcription service',
|
|
373
|
+
apiHint: 'Each sentence is sent to the service set below; the text appears once a sentence ends',
|
|
374
|
+
apiUrl: 'Address',
|
|
375
|
+
apiModel: 'Model',
|
|
376
|
+
apiKey: 'API Key',
|
|
377
|
+
keySaved: 'Saved',
|
|
378
|
+
keyMissing: 'Not set',
|
|
379
|
+
server: 'Recognition service',
|
|
380
|
+
start: 'Start',
|
|
381
|
+
stop: 'Stop',
|
|
382
|
+
ready: 'Ready',
|
|
383
|
+
error: 'Error',
|
|
384
|
+
stopped: 'Stopped',
|
|
385
|
+
model: 'Speech model',
|
|
386
|
+
download: 'Download',
|
|
387
|
+
retry: 'Retry',
|
|
388
|
+
downloadFailed: 'Download failed',
|
|
389
|
+
downloaded: 'Downloaded',
|
|
390
|
+
notDownloaded: 'Not downloaded',
|
|
391
|
+
modelSource: (size: string) => `About ${size}, downloaded from ModelScope`,
|
|
392
|
+
mic: 'Microphone',
|
|
393
|
+
micStates: { on: 'Listening', off: 'Not listening', denied: 'Denied', error: 'Error' },
|
|
394
|
+
defaultDevice: 'System default',
|
|
395
|
+
missingDevice: 'The device picked before (not found now)',
|
|
396
|
+
micN: (n: number) => `Microphone ${n}`,
|
|
397
|
+
mode: 'How it listens',
|
|
398
|
+
modes: { hold: 'While the talk key is held', toggle: 'The talk key switches it on and off', always: 'All the time' },
|
|
399
|
+
openOnPress: 'Open the microphone only while held',
|
|
400
|
+
openOnPressHint: 'Turn on for headsets, such as Bluetooth ones, that switch to call mode while the microphone is open; after pressing, wait a moment before speaking, or the first words may be missed',
|
|
401
|
+
recording: 'Send the recording',
|
|
402
|
+
recordingHint: 'Each batch of speech goes to the current model service with its recording attached, and the recording is kept in the data folder on this computer',
|
|
403
|
+
recordingNoAudio: 'The current model does not take audio: only the recognized text is sent, and this has no effect',
|
|
404
|
+
transcript: 'Send the transcript',
|
|
405
|
+
transcriptHint: 'The recognized text goes along with the recording; when off, the recording goes alone. When no recording goes, the text is sent as usual',
|
|
406
|
+
recordingMax: 'Recording limit',
|
|
407
|
+
recordingMaxHint: 'A batch of speech with a longer recording is sent as text only',
|
|
408
|
+
minutes: 'min',
|
|
409
|
+
switchOn: 'On',
|
|
410
|
+
switchOff: 'Off',
|
|
411
|
+
/** How the talk key is pressed, for holding and for switching, by the number of presses. */
|
|
412
|
+
presses: {
|
|
413
|
+
2: { hold: 'Double-press and hold', toggle: 'Double-press to start and again to stop' },
|
|
414
|
+
1: { hold: 'Just hold', toggle: 'Press to start, press again to stop' },
|
|
415
|
+
3: { hold: 'Triple-press and hold', toggle: 'Triple-press to start and again to stop' },
|
|
416
|
+
},
|
|
417
|
+
capture: 'Press the new talk key: a key combination or a mouse side button… (Esc cancels)',
|
|
418
|
+
listening: 'Listening',
|
|
419
|
+
waitingKey: 'Waiting for the talk key',
|
|
420
|
+
results: 'What was heard',
|
|
421
|
+
resultsHint: 'Struck-through lines were too short or likely hallucinated, and were not sent',
|
|
422
|
+
talkKeyName: 'Talk key',
|
|
423
|
+
changeKey: 'Change',
|
|
424
|
+
cancelKey: 'Cancel',
|
|
425
|
+
level: 'Input level',
|
|
426
|
+
thresholdHint: 'Only sound louder than this line counts as speech; someone else talking as loudly as you is heard too',
|
|
427
|
+
noResults: 'Nothing heard yet',
|
|
428
|
+
},
|
|
429
|
+
|
|
430
|
+
/** Why the chat page's message was turned back, and its notices. */
|
|
431
|
+
chat: {
|
|
432
|
+
badImages: 'The images are not in a form this page sends',
|
|
433
|
+
tooManyImages: (max: number) => `At most ${max} images at a time`,
|
|
434
|
+
badMime: (mime: string) => `Unsupported image type ${mime}`,
|
|
435
|
+
emptyImage: 'One of the images is empty',
|
|
436
|
+
bigImage: (mb: number) => `Each image must be under ${mb} MB`,
|
|
437
|
+
offline: 'Not connected yet',
|
|
438
|
+
notSent: 'Could not send it',
|
|
439
|
+
tooLate: 'That one has already been delivered and cannot be taken back.',
|
|
440
|
+
},
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export default en;
|