dracosh 0.7.0 → 0.9.0
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/README.md +32 -6
- package/locales/de.json +207 -9
- package/locales/en.json +207 -9
- package/locales/fr.json +210 -9
- package/locales/pl.json +213 -9
- package/locales/uk.json +213 -9
- package/package.json +2 -2
- package/src/ai.js +245 -0
- package/src/alerts.js +108 -57
- package/src/assist.js +232 -0
- package/src/background.js +63 -0
- package/src/bug.js +112 -0
- package/src/cli.js +26 -3
- package/src/doctor.js +123 -0
- package/src/library.js +14 -2
- package/src/lock.js +1 -1
- package/src/manage.js +14 -3
- package/src/notify.js +44 -0
- package/src/player.js +117 -0
- package/src/settings.js +8 -1
- package/src/speech.js +82 -0
- package/src/ui/AddCard.js +228 -32
- package/src/ui/Ai.js +284 -0
- package/src/ui/AnswerInput.js +13 -6
- package/src/ui/App.js +47 -19
- package/src/ui/BadgeUnlock.js +4 -6
- package/src/ui/Badges.js +5 -7
- package/src/ui/Cards.js +126 -12
- package/src/ui/Companion.js +2 -2
- package/src/ui/Confetti.js +2 -2
- package/src/ui/DieRoll.js +6 -6
- package/src/ui/Import.js +7 -7
- package/src/ui/Preview.js +9 -6
- package/src/ui/Settings.js +14 -7
- package/src/ui/Stats.js +11 -21
- package/src/ui/TheOne.js +2 -2
- package/src/ui/Voice.js +238 -0
- package/src/ui/Welcome.js +4 -3
- package/src/ui/icons.js +2 -4
- package/src/ui/kit.js +88 -11
- package/src/voice.js +129 -0
package/locales/en.json
CHANGED
|
@@ -67,10 +67,14 @@
|
|
|
67
67
|
"badges": "↑/↓ browse · ←/→ column · esc back",
|
|
68
68
|
"keyNames": "any key|enter|esc|tab",
|
|
69
69
|
"addFirst": "enter add · esc cancel",
|
|
70
|
+
"askList": "enter ask AI · esc cancel",
|
|
70
71
|
"addMore": "enter add · ↑ fix the last one · esc done",
|
|
71
72
|
"addFixing": "enter save · esc leave it",
|
|
72
73
|
"addBack": "enter add · esc back",
|
|
73
74
|
"pasteReview": "↑/↓ move · e fix · x drop · enter add {count} · esc cancel",
|
|
75
|
+
"aiReview": "space keep · a keep all · e fix · enter add {count} · esc cancel",
|
|
76
|
+
"aiReviewNone": "space keep · a keep all · e fix · esc cancel",
|
|
77
|
+
"aiWaiting": "esc cancel",
|
|
74
78
|
"pasteFix": "enter done · esc back",
|
|
75
79
|
"grading": "1 or ← didn't know · 2 or → knew it",
|
|
76
80
|
"sessionWaiting": "enter next card · / commands · q quit",
|
|
@@ -88,7 +92,9 @@
|
|
|
88
92
|
"trash": "↑/↓ choose · enter bring back · esc back",
|
|
89
93
|
"decksTogether": "space practise together · → settings · {choose}",
|
|
90
94
|
"cards": "type to search · ↑/↓ choose · enter open · esc back",
|
|
95
|
+
"modelPick": "type to search · ↑/↓ choose · enter confirm · esc back",
|
|
91
96
|
"tabPart": "tab next part",
|
|
97
|
+
"takeSuggestion": "tab or → take the suggestion",
|
|
92
98
|
"decksMixing": "space add/remove · enter only this deck · → settings · esc done"
|
|
93
99
|
},
|
|
94
100
|
"settings": {
|
|
@@ -98,10 +104,18 @@
|
|
|
98
104
|
"label": "App language",
|
|
99
105
|
"hint": "the language Dracosh speaks; the tour switches too"
|
|
100
106
|
},
|
|
107
|
+
"theme": {
|
|
108
|
+
"label": "Theme",
|
|
109
|
+
"hint": "auto matches your terminal's background; pick dark or light if it guesses wrong"
|
|
110
|
+
},
|
|
101
111
|
"homeLanguage": {
|
|
102
112
|
"label": "Your language",
|
|
103
113
|
"hint": "the language you speak: it tells which side of a card is new to you"
|
|
104
114
|
},
|
|
115
|
+
"ai": {
|
|
116
|
+
"label": "AI help",
|
|
117
|
+
"hint": "suggestions while you add cards, from your API key or a model on this computer"
|
|
118
|
+
},
|
|
105
119
|
"rhythm": {
|
|
106
120
|
"label": "Rhythm",
|
|
107
121
|
"hint": "a card every few minutes (the interval), or a session: one card after another, Enter for the next"
|
|
@@ -116,7 +130,11 @@
|
|
|
116
130
|
},
|
|
117
131
|
"speak": {
|
|
118
132
|
"label": "Read aloud",
|
|
119
|
-
"hint": "reads the word aloud in the language you're learning, once the answer is out
|
|
133
|
+
"hint": "reads the word aloud in the language you're learning, once the answer is out"
|
|
134
|
+
},
|
|
135
|
+
"voice": {
|
|
136
|
+
"label": "Voice",
|
|
137
|
+
"hint": "who reads the words: system voices, or a natural voice from ElevenLabs with your own key"
|
|
120
138
|
},
|
|
121
139
|
"volume": {
|
|
122
140
|
"label": "Volume",
|
|
@@ -155,6 +173,11 @@
|
|
|
155
173
|
"sometimes": "sometimes (1 in 3 waits)",
|
|
156
174
|
"off": "off"
|
|
157
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "auto",
|
|
178
|
+
"dark": "dark",
|
|
179
|
+
"light": "light"
|
|
180
|
+
},
|
|
158
181
|
"weekendsRest": "rest days",
|
|
159
182
|
"weekendsCount": "count like other days",
|
|
160
183
|
"pressEnter": "press enter",
|
|
@@ -273,7 +296,7 @@
|
|
|
273
296
|
},
|
|
274
297
|
"line": {
|
|
275
298
|
"label": "New card",
|
|
276
|
-
"hint": "
|
|
299
|
+
"hint": "kot = cat; kitty // Mój kot śpi."
|
|
277
300
|
},
|
|
278
301
|
"back": {
|
|
279
302
|
"label": "Back",
|
|
@@ -285,6 +308,7 @@
|
|
|
285
308
|
"titleFirst": "Start your first deck",
|
|
286
309
|
"titleCard": "Add a card · {deck}",
|
|
287
310
|
"deckReady": "Your deck \"{deck}\" is ready. Now its first card:",
|
|
311
|
+
"deckReadyAi": "Your deck \"{deck}\" is ready. Enter asks AI for its first words; you can change the request first.",
|
|
288
312
|
"duplicateCard": "\"{front}\" is already in {deck}.",
|
|
289
313
|
"duplicateDeck": "There is already a deck called \"{deck}\".",
|
|
290
314
|
"nameTooLong": "Keep the name to {max} characters or fewer.",
|
|
@@ -292,7 +316,6 @@
|
|
|
292
316
|
"needFront": "A card needs a front.",
|
|
293
317
|
"needBack": "A card needs an answer.",
|
|
294
318
|
"preview": {
|
|
295
|
-
"pair": "{front} = {back} · you'll pick how it's asked after this card",
|
|
296
319
|
"asks": "{prompt} → ? you type {answer}",
|
|
297
320
|
"both": "{forward} · {backward}",
|
|
298
321
|
"cloze": {
|
|
@@ -341,7 +364,31 @@
|
|
|
341
364
|
"languagesSoon": "Languages: I'll tell after a few cards",
|
|
342
365
|
"learningLine": "Learning: {language}",
|
|
343
366
|
"learningGuess": "that is a guess: → to change it",
|
|
344
|
-
"
|
|
367
|
+
"ways": {
|
|
368
|
+
"type": "Type",
|
|
369
|
+
"paste": "Paste",
|
|
370
|
+
"pasteWhat": "a whole list, one card per line",
|
|
371
|
+
"ai": "Ask AI",
|
|
372
|
+
"aiExample": "?kitchen words"
|
|
373
|
+
},
|
|
374
|
+
"ai": {
|
|
375
|
+
"suggested": "suggestion from {provider}",
|
|
376
|
+
"thinking": "{provider} is writing a suggestion…",
|
|
377
|
+
"example": "example sentence from {provider}",
|
|
378
|
+
"listTitle": "✦ Cards from AI · {deck}",
|
|
379
|
+
"writing": "{provider} is writing… {count} so far",
|
|
380
|
+
"listSummary": {
|
|
381
|
+
"one": "{count} suggestion · {kept} kept",
|
|
382
|
+
"other": "{count} suggestions · {kept} kept"
|
|
383
|
+
},
|
|
384
|
+
"noList": "No cards came back. Try asking another way, or another model.",
|
|
385
|
+
"writingStart": "{provider} is writing…",
|
|
386
|
+
"request": "“{request}”",
|
|
387
|
+
"confirm": "Esc again drops the cards you kept. Any other key keeps them.",
|
|
388
|
+
"nothingKept": "Nothing kept yet: space keeps a card, a keeps them all.",
|
|
389
|
+
"listOff": "AI help is off: turn it on in /settings → AI help to ask for a list.",
|
|
390
|
+
"needRequest": "Type what to ask AI for after the ?, like ?kitchen words."
|
|
391
|
+
}
|
|
345
392
|
},
|
|
346
393
|
"quiz": {
|
|
347
394
|
"youWrote": "you wrote ",
|
|
@@ -411,7 +458,8 @@
|
|
|
411
458
|
"other": "in about {count} months"
|
|
412
459
|
}
|
|
413
460
|
},
|
|
414
|
-
"previewNoImport": "The preview can't import cards; run dracosh for that."
|
|
461
|
+
"previewNoImport": "The preview can't import cards; run dracosh for that.",
|
|
462
|
+
"fromAi": "✦ AI wrote this card and it isn't checked yet: /cards"
|
|
415
463
|
},
|
|
416
464
|
"dragon": {
|
|
417
465
|
"stages": {
|
|
@@ -775,7 +823,7 @@
|
|
|
775
823
|
"notInTrash": "That deck isn't in the trash any more."
|
|
776
824
|
},
|
|
777
825
|
"cli": {
|
|
778
|
-
"help": "Dracosh: a vocabulary and quiz trainer for your terminal\n\nUsage: dracosh [options]\n dracosh import <file|-> add cards from a file (.txt, .csv, .tsv, an Anki .apkg or .colpkg, Anki or Quizlet text exports, a .json backup), or \"-\" for standard input\n dracosh export <file> write your decks to .apkg (Anki), .txt, .tsv, .csv or .json (everything)\n dracosh restore [number] list your backups, or bring one back\n\n --deck <name> quiz this deck, this run only (otherwise the one picked in /decks);\n with import or export: the deck to fill or write\n --every <time> pause between questions: 30s, 10m, 1h (default: {interval})\n --no-sound turn sound effects off\n --volume <0-1> sound volume (default: {volume})\n --stats print progress and exit\n --data show where your cards, progress and backups are kept\n --preview browse every animation and screen on made-up data (nothing is saved)\n --update import: cards already there take the file's answers (otherwise you're asked)\n --split import: an answer listing several (\"cat, kitty\") becomes one answer each\n --separator <s> import: what splits the columns: tab, comma, semicolon, pipe, colon, space or a character\n --encoding <e> import: a file that isn't UTF-8, e.g. windows-1250\n --anki import or export: straight from or to a running Anki (AnkiConnect add-on)\n -y, --yes import, export or restore without asking first\n -h, --help show this help\n\nFlags override your saved settings for this run only. Change the saved ones with /settings.\n\nWhile running: Enter submits (with nothing typed it shows the answer, then 1 or 2), \"/\" opens the command menu (/add, /decks, /settings, /stats, /help…),\nEsc quits (clears the line first if you typed something). Ctrl+C also works.\nBetween cards: Enter asks the next one right away, q quits. /help explains the rest.",
|
|
826
|
+
"help": "Dracosh: a vocabulary and quiz trainer for your terminal\n\nUsage: dracosh [options]\n dracosh import <file|-> add cards from a file (.txt, .csv, .tsv, an Anki .apkg or .colpkg, Anki or Quizlet text exports, a .json backup), or \"-\" for standard input\n dracosh export <file> write your decks to .apkg (Anki), .txt, .tsv, .csv or .json (everything)\n dracosh restore [number] list your backups, or bring one back\n dracosh doctor check sound, voices, notifications, AI and your data\n dracosh bug report a bug: opens a GitHub issue filled in with your system's details\n\n --deck <name> quiz this deck, this run only (otherwise the one picked in /decks);\n with import or export: the deck to fill or write\n --every <time> pause between questions: 30s, 10m, 1h (default: {interval})\n --no-sound turn sound effects off\n --volume <0-1> sound volume (default: {volume})\n --stats print progress and exit\n --data show where your cards, progress and backups are kept\n --preview browse every animation and screen on made-up data (nothing is saved)\n --update import: cards already there take the file's answers (otherwise you're asked)\n --split import: an answer listing several (\"cat, kitty\") becomes one answer each\n --separator <s> import: what splits the columns: tab, comma, semicolon, pipe, colon, space or a character\n --encoding <e> import: a file that isn't UTF-8, e.g. windows-1250\n --anki import or export: straight from or to a running Anki (AnkiConnect add-on)\n -y, --yes import, export or restore without asking first\n -h, --help show this help\n\nFlags override your saved settings for this run only. Change the saved ones with /settings.\n\nWhile running: Enter submits (with nothing typed it shows the answer, then 1 or 2), \"/\" opens the command menu (/add, /decks, /settings, /stats, /help…),\nEsc quits (clears the line first if you typed something). Ctrl+C also works.\nBetween cards: Enter asks the next one right away, q quits. /help explains the rest.",
|
|
779
827
|
"badEvery": "Invalid --every \"{value}\". Use e.g. 30s, 10m, 1h.",
|
|
780
828
|
"badVolume": "Invalid --volume \"{value}\". Use a number from 0 to 1.",
|
|
781
829
|
"unknownCommand": "Unknown command \"{command}\". See dracosh --help.",
|
|
@@ -836,7 +884,36 @@
|
|
|
836
884
|
"other": "{count} backups"
|
|
837
885
|
},
|
|
838
886
|
"unknownOption": "Unknown option {option}. See dracosh --help.",
|
|
839
|
-
"oneFile": "dracosh {command} takes one file at a time."
|
|
887
|
+
"oneFile": "dracosh {command} takes one file at a time.",
|
|
888
|
+
"doctor": {
|
|
889
|
+
"title": "Dracosh doctor: what works on this computer",
|
|
890
|
+
"data": "Data",
|
|
891
|
+
"dataNew": "{home} (not created yet: made on first start)",
|
|
892
|
+
"dataReadOnly": "{home} can't be written to: check its permissions",
|
|
893
|
+
"nodeOld": "{version}: Dracosh needs Node {needed} or newer",
|
|
894
|
+
"noSoundWindows": "not on Windows",
|
|
895
|
+
"noPlayer": "no player found: install paplay, aplay or ffplay",
|
|
896
|
+
"notifications": "Notifications",
|
|
897
|
+
"notifier": {
|
|
898
|
+
"osascript": "Notification Center",
|
|
899
|
+
"notify-send": "desktop notifications (notify-send)",
|
|
900
|
+
"bell": "the terminal's bell",
|
|
901
|
+
"bellLinux": "the terminal's bell: install notify-send (libnotify) for desktop notifications"
|
|
902
|
+
},
|
|
903
|
+
"noSpeech": "no system voice found: install espeak-ng",
|
|
904
|
+
"noMp3Player": "{voice} needs a player for its files: install ffplay (ffmpeg) or paplay",
|
|
905
|
+
"aiNoModel": "{label}: the server doesn't offer {model}, pick another in /settings → AI help",
|
|
906
|
+
"allGood": "All good.",
|
|
907
|
+
"problems": {
|
|
908
|
+
"one": "{count} thing to fix.",
|
|
909
|
+
"other": "{count} things to fix."
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"bug": {
|
|
913
|
+
"checking": "Collecting system details for the report…",
|
|
914
|
+
"opened": "A new GitHub issue is open in your browser, filled in with your system's details: no cards, no keys, your home folder written as ~. Say what happened and submit it; nothing is sent until you do. The issue's address:",
|
|
915
|
+
"notOpened": "No browser opened. To report the problem, open this address: the issue is filled in with your system's details (no cards, no keys, your home folder written as ~), and nothing is sent until you submit it."
|
|
916
|
+
}
|
|
840
917
|
},
|
|
841
918
|
"tips": {
|
|
842
919
|
"keys-enter": {
|
|
@@ -975,7 +1052,7 @@
|
|
|
975
1052
|
"preview": {
|
|
976
1053
|
"title": "Preview",
|
|
977
1054
|
"subtitle": " made-up data · nothing is saved",
|
|
978
|
-
"keys": "↑/↓ choose · enter play · esc quit",
|
|
1055
|
+
"keys": "↑/↓ choose · enter play · t theme · esc quit",
|
|
979
1056
|
"replay": "enter replay · esc back",
|
|
980
1057
|
"evolution": "Evolution → {name}",
|
|
981
1058
|
"evolutionHint": "reached at a {count}-day best streak",
|
|
@@ -1399,6 +1476,8 @@
|
|
|
1399
1476
|
"other": "Start with {count} everyday words"
|
|
1400
1477
|
},
|
|
1401
1478
|
"wordsNote": "{language} → {home}",
|
|
1479
|
+
"ai": "Let AI suggest my first deck",
|
|
1480
|
+
"aiNote": "you pick the cards · API key or local model",
|
|
1402
1481
|
"tour": "Show me how it works",
|
|
1403
1482
|
"tourNote": {
|
|
1404
1483
|
"one": "{count} short card on how Dracosh works",
|
|
@@ -1412,6 +1491,7 @@
|
|
|
1412
1491
|
"noWordsHome": "Ready-made words are for pairs of these: {languages}. {language} isn't one yet, so start with a deck of your own."
|
|
1413
1492
|
},
|
|
1414
1493
|
"firstWordsDeck": "{language}: first words",
|
|
1494
|
+
"aiRequest": "{count} everyday words: {language} → {home}",
|
|
1415
1495
|
"suggested": "suggested"
|
|
1416
1496
|
},
|
|
1417
1497
|
"importScreen": {
|
|
@@ -1475,8 +1555,14 @@
|
|
|
1475
1555
|
"one": "{deck} · {count} card",
|
|
1476
1556
|
"other": "{deck} · {count} cards"
|
|
1477
1557
|
},
|
|
1558
|
+
"toCheck": {
|
|
1559
|
+
"one": "✦ {count} to check",
|
|
1560
|
+
"other": "✦ {count} to check"
|
|
1561
|
+
},
|
|
1478
1562
|
"addRow": "+ Add cards",
|
|
1479
1563
|
"undoRow": "↶ Bring back \"{card}\"",
|
|
1564
|
+
"confirmRow": "Looks right",
|
|
1565
|
+
"checkRow": "Check with AI",
|
|
1480
1566
|
"editRow": "Fix",
|
|
1481
1567
|
"moveRow": "Move to another deck",
|
|
1482
1568
|
"deleteRow": "Delete",
|
|
@@ -1497,6 +1583,118 @@
|
|
|
1497
1583
|
"tourNot": "The tour's cards can't be changed. /add starts a deck of your own.",
|
|
1498
1584
|
"editHint": "front = back; other answer // example",
|
|
1499
1585
|
"whichDeck": "Which deck's cards?",
|
|
1500
|
-
"deleteNo": "Keep it"
|
|
1586
|
+
"deleteNo": "Keep it",
|
|
1587
|
+
"aiNote": "✦ This card was written by AI: check it before you learn it.",
|
|
1588
|
+
"confirmed": "Checked: {card}",
|
|
1589
|
+
"checking": "{provider} is checking the card…",
|
|
1590
|
+
"checkOk": "{provider} sees nothing wrong: {card}",
|
|
1591
|
+
"checkFix": "{provider} suggests a fix:",
|
|
1592
|
+
"useFix": "Use the fix",
|
|
1593
|
+
"keepMine": "Keep it as is",
|
|
1594
|
+
"checkUnclear": "{provider}'s answer couldn't be read. Try again."
|
|
1595
|
+
},
|
|
1596
|
+
"ai": {
|
|
1597
|
+
"customName": "Other",
|
|
1598
|
+
"title": "AI help",
|
|
1599
|
+
"note": "Optional: AI suggests translations and examples while you add cards. Only the card you're writing and a few from the same deck are sent.",
|
|
1600
|
+
"noteWelcome": "First pick where AI runs, then it suggests your first deck. Only your request and a few cards of the deck are sent.",
|
|
1601
|
+
"now": "Now: {label}",
|
|
1602
|
+
"current": "current",
|
|
1603
|
+
"free": "free",
|
|
1604
|
+
"paid": "paid",
|
|
1605
|
+
"yourServer": "your server",
|
|
1606
|
+
"small": "small, cheap",
|
|
1607
|
+
"turnOff": "Turn AI off",
|
|
1608
|
+
"turnedOff": "AI help is off. Saved keys stay: to remove one, pick its provider here again.",
|
|
1609
|
+
"providers": {
|
|
1610
|
+
"anthropic": "Claude models, your API key",
|
|
1611
|
+
"openai": "GPT models, your API key",
|
|
1612
|
+
"openrouter": "many models with one key",
|
|
1613
|
+
"ollama": "free, runs on this computer",
|
|
1614
|
+
"lmstudio": "free, runs on this computer",
|
|
1615
|
+
"custom": "any OpenAI-compatible address"
|
|
1616
|
+
},
|
|
1617
|
+
"urlTitle": "Server address",
|
|
1618
|
+
"urlNote": "The address of an OpenAI-compatible API, for example http://localhost:8080/v1",
|
|
1619
|
+
"badUrl": "That isn't an address: it should start with http:// or https://",
|
|
1620
|
+
"keyTitle": "{provider} API key",
|
|
1621
|
+
"keyTitleCustom": "API key (only if the server needs one)",
|
|
1622
|
+
"keyNote": "Get a key at {site}; the provider bills you for what you use. Paste it here: it's kept in your Dracosh folder, readable by you only, and never goes into backups or exports. Or set {env} in your shell instead.",
|
|
1623
|
+
"keyOptional": "If the server asks for a key, paste it; otherwise press Enter.",
|
|
1624
|
+
"needKey": "Paste the key first (Esc goes back).",
|
|
1625
|
+
"keepKey": "Use the saved key",
|
|
1626
|
+
"newKey": "Paste a new key",
|
|
1627
|
+
"forgetKey": "Forget the saved key",
|
|
1628
|
+
"keyForgotten": "The saved key ({provider}) is gone.",
|
|
1629
|
+
"keyFromEnv": "Using the key from {env}.",
|
|
1630
|
+
"localNote": "Models available at {url}. A small model without thinking answers fastest.",
|
|
1631
|
+
"modelNote": "A small, fast model is enough and costs little.",
|
|
1632
|
+
"noModels": "No models to pick: type a model's name.",
|
|
1633
|
+
"noModelsLocal": "No models downloaded yet. Ollama: run ollama pull llama3.2 in a terminal; LM Studio: download one in the app. Then come back here.",
|
|
1634
|
+
"modelTitle": "Which model?",
|
|
1635
|
+
"loadingModels": "Getting the models ({provider})…",
|
|
1636
|
+
"typeModel": "Type a model name…",
|
|
1637
|
+
"modelNameNote": "The model's name as {provider} writes it.",
|
|
1638
|
+
"needModel": "Type the model's name first (Esc goes back).",
|
|
1639
|
+
"checking": "Checking {label}…",
|
|
1640
|
+
"ready": "AI help is on: ✦ {label}",
|
|
1641
|
+
"failedTitle": "{label} isn't working",
|
|
1642
|
+
"tryAgain": "Try again",
|
|
1643
|
+
"otherModel": "Pick another model",
|
|
1644
|
+
"otherKey": "Use another key",
|
|
1645
|
+
"errors": {
|
|
1646
|
+
"noKey": "No {provider} key yet: add one in /settings → AI help, or set {env}.",
|
|
1647
|
+
"badKey": "{provider} didn't accept the key. Check it, or paste a new one.",
|
|
1648
|
+
"noModel": "{provider} has no model called {model}.",
|
|
1649
|
+
"noApi": "Nothing at {url} answers like an OpenAI-compatible API: check the address (often it ends in /v1).",
|
|
1650
|
+
"rateLimit": "{provider} says too many requests: wait a moment and try again.",
|
|
1651
|
+
"noCredit": "{provider} says the account is out of credit: top it up on its site, or pick a free local model in /settings → AI help.",
|
|
1652
|
+
"offline": "Can't reach {provider} ({url}). Are you online?",
|
|
1653
|
+
"offlineLocal": "Nothing answers at {url}: is {provider} running?",
|
|
1654
|
+
"timeout": "{provider} took too long to answer.",
|
|
1655
|
+
"server": "{provider} had a problem on its side ({status}). Try again later.",
|
|
1656
|
+
"failed": "{provider} refused the request ({status}): {detail}",
|
|
1657
|
+
"notJson": "the answer wasn't JSON"
|
|
1658
|
+
}
|
|
1659
|
+
},
|
|
1660
|
+
"voice": {
|
|
1661
|
+
"title": "Voice",
|
|
1662
|
+
"note": "The voice that reads words aloud when Read aloud is on. ElevenLabs is optional: each word is generated once and kept on this computer, so you pay once per new card, not per review.",
|
|
1663
|
+
"now": "Now: {label}",
|
|
1664
|
+
"system": "System voices",
|
|
1665
|
+
"systemNote": "free, no internet needed",
|
|
1666
|
+
"elevenNote": "natural voices, your own key, paid per character",
|
|
1667
|
+
"systemSet": "Words are read by system voices again.",
|
|
1668
|
+
"keyTitle": "ElevenLabs key",
|
|
1669
|
+
"keyNote": "Get a key at {site}; ElevenLabs bills you for what you use. Paste it here: it's kept in your Dracosh folder, readable by you only, and never goes into backups or exports. Or set {env} in your shell instead.",
|
|
1670
|
+
"pickTitle": "Pick a voice",
|
|
1671
|
+
"pickNote": "One voice reads all your decks, in every language it speaks. You'll hear a short sample before it's saved.",
|
|
1672
|
+
"loading": "Loading voices from ElevenLabs…",
|
|
1673
|
+
"noVoices": "Your ElevenLabs account has no voices to pick. Add one on elevenlabs.io, then come back.",
|
|
1674
|
+
"current": "current",
|
|
1675
|
+
"checking": "Reading a sample with {label}…",
|
|
1676
|
+
"ready": "Words are read by {label}. Languages it can't speak stay with system voices.",
|
|
1677
|
+
"readyOn": "Read aloud is on: words are read by {label}. Languages it can't speak stay with system voices.",
|
|
1678
|
+
"failedTitle": "{label} isn't working",
|
|
1679
|
+
"otherVoice": "Pick another voice",
|
|
1680
|
+
"sample": "Hello! I'll read your words aloud.",
|
|
1681
|
+
"short": {
|
|
1682
|
+
"noKey": "No ElevenLabs key: paste one here, or set {env}.",
|
|
1683
|
+
"badKey": "ElevenLabs didn't accept the key.",
|
|
1684
|
+
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site.",
|
|
1685
|
+
"noVoice": "ElevenLabs no longer has this voice: pick another."
|
|
1686
|
+
},
|
|
1687
|
+
"errors": {
|
|
1688
|
+
"noKey": "No ElevenLabs key: add one in /settings → Voice, or set {env}. Words are read by system voices for now.",
|
|
1689
|
+
"badKey": "ElevenLabs didn't accept the key. Paste a new one in /settings → Voice. Words are read by system voices for now.",
|
|
1690
|
+
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site. Words are read by system voices for now.",
|
|
1691
|
+
"noVoice": "ElevenLabs no longer has this voice: pick another in /settings → Voice. Words are read by system voices for now.",
|
|
1692
|
+
"rateLimit": "ElevenLabs says too many requests: wait a moment and try again.",
|
|
1693
|
+
"offline": "Can't reach ElevenLabs. Are you online?",
|
|
1694
|
+
"timeout": "ElevenLabs took too long to answer.",
|
|
1695
|
+
"server": "ElevenLabs had a problem on its side ({status}). Try again later.",
|
|
1696
|
+
"failed": "ElevenLabs refused the request ({status}): {detail}",
|
|
1697
|
+
"empty": "the audio came back empty"
|
|
1698
|
+
}
|
|
1501
1699
|
}
|
|
1502
1700
|
}
|