dracosh 0.6.0 → 0.8.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 +45 -8
- package/locales/de.json +359 -11
- package/locales/en.json +359 -11
- package/locales/fr.json +375 -11
- package/locales/pl.json +391 -11
- package/locales/uk.json +391 -11
- package/package.json +1 -1
- package/src/ai.js +245 -0
- package/src/alerts.js +77 -23
- package/src/assist.js +232 -0
- package/src/cli.js +9 -5
- package/src/commands.js +3 -0
- package/src/firstwords.js +49 -0
- package/src/language.js +11 -6
- package/src/library.js +135 -3
- package/src/lock.js +1 -1
- package/src/manage.js +160 -4
- package/src/progress.js +8 -0
- package/src/session.js +38 -6
- package/src/settings.js +11 -1
- package/src/store.js +10 -4
- package/src/transfer.js +22 -5
- package/src/ui/AddCard.js +236 -38
- package/src/ui/Ai.js +284 -0
- package/src/ui/AnswerInput.js +35 -7
- package/src/ui/App.js +263 -18
- package/src/ui/Cards.js +350 -0
- package/src/ui/Choice.js +6 -1
- package/src/ui/Decks.js +181 -15
- package/src/ui/Import.js +316 -0
- package/src/ui/Languages.js +48 -9
- package/src/ui/Preview.js +22 -1
- package/src/ui/Settings.js +23 -7
- package/src/ui/Trash.js +63 -0
- package/src/ui/Voice.js +238 -0
- package/src/ui/Welcome.js +80 -0
- package/src/voice.js +129 -0
- package/src/words.js +27 -4
package/locales/en.json
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
"commands": {
|
|
3
3
|
"hint": "Reveal another letter (the card comes back sooner)",
|
|
4
4
|
"add": "Add cards to a deck, or start a new one",
|
|
5
|
+
"import": "Import cards from Anki, a CSV or a text file",
|
|
6
|
+
"cards": "Browse, search, fix, move or delete the deck's cards",
|
|
5
7
|
"decks": "Switch to another deck, or start a new one",
|
|
8
|
+
"trash": "Deleted decks and cards: bring them back",
|
|
6
9
|
"settings": "Language, rhythm, interval, quiet hours, sound, goal, tips",
|
|
7
10
|
"stats": "Streak, month calendar and badges summary",
|
|
8
11
|
"badges": "All badges and what unlocks them",
|
|
@@ -64,10 +67,14 @@
|
|
|
64
67
|
"badges": "↑/↓ browse · ←/→ column · esc back",
|
|
65
68
|
"keyNames": "any key|enter|esc|tab",
|
|
66
69
|
"addFirst": "enter add · esc cancel",
|
|
70
|
+
"askList": "enter ask AI · esc cancel",
|
|
67
71
|
"addMore": "enter add · ↑ fix the last one · esc done",
|
|
68
72
|
"addFixing": "enter save · esc leave it",
|
|
69
73
|
"addBack": "enter add · esc back",
|
|
70
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",
|
|
71
78
|
"pasteFix": "enter done · esc back",
|
|
72
79
|
"grading": "1 or ← didn't know · 2 or → knew it",
|
|
73
80
|
"sessionWaiting": "enter next card · / commands · q quit",
|
|
@@ -76,15 +83,35 @@
|
|
|
76
83
|
"addName": "enter create · esc cancel",
|
|
77
84
|
"confirm": "{yes} yes · {no} no",
|
|
78
85
|
"languagePick": "type to search · ↑/↓ choose · enter confirm · ← back",
|
|
79
|
-
"choiceLeft": "{choose} · ← back"
|
|
86
|
+
"choiceLeft": "{choose} · ← back",
|
|
87
|
+
"importPath": "enter read the file · esc cancel",
|
|
88
|
+
"importDone": "enter continue",
|
|
89
|
+
"importName": "enter continue · esc back",
|
|
90
|
+
"rename": "enter save · esc cancel",
|
|
91
|
+
"undo": "u undo",
|
|
92
|
+
"trash": "↑/↓ choose · enter bring back · esc back",
|
|
93
|
+
"decksTogether": "space practise together · → settings · {choose}",
|
|
94
|
+
"cards": "type to search · ↑/↓ choose · enter open · esc back",
|
|
95
|
+
"modelPick": "type to search · ↑/↓ choose · enter confirm · esc back",
|
|
96
|
+
"tabPart": "tab next part",
|
|
97
|
+
"takeSuggestion": "tab or → take the suggestion",
|
|
98
|
+
"decksMixing": "space add/remove · enter only this deck · → settings · esc done"
|
|
80
99
|
},
|
|
81
100
|
"settings": {
|
|
82
101
|
"title": "Settings",
|
|
83
102
|
"rows": {
|
|
84
103
|
"language": {
|
|
85
|
-
"label": "
|
|
104
|
+
"label": "App language",
|
|
86
105
|
"hint": "the language Dracosh speaks; the tour switches too"
|
|
87
106
|
},
|
|
107
|
+
"homeLanguage": {
|
|
108
|
+
"label": "Your language",
|
|
109
|
+
"hint": "the language you speak: it tells which side of a card is new to you"
|
|
110
|
+
},
|
|
111
|
+
"ai": {
|
|
112
|
+
"label": "AI help",
|
|
113
|
+
"hint": "suggestions while you add cards, from your API key or a model on this computer"
|
|
114
|
+
},
|
|
88
115
|
"rhythm": {
|
|
89
116
|
"label": "Rhythm",
|
|
90
117
|
"hint": "a card every few minutes (the interval), or a session: one card after another, Enter for the next"
|
|
@@ -99,7 +126,11 @@
|
|
|
99
126
|
},
|
|
100
127
|
"speak": {
|
|
101
128
|
"label": "Read aloud",
|
|
102
|
-
"hint": "reads the word aloud in the language you're learning, once the answer is out
|
|
129
|
+
"hint": "reads the word aloud in the language you're learning, once the answer is out"
|
|
130
|
+
},
|
|
131
|
+
"voice": {
|
|
132
|
+
"label": "Voice",
|
|
133
|
+
"hint": "who reads the words: macOS voices, or a natural voice from ElevenLabs with your own key"
|
|
103
134
|
},
|
|
104
135
|
"volume": {
|
|
105
136
|
"label": "Volume",
|
|
@@ -121,6 +152,10 @@
|
|
|
121
152
|
"label": "Quiet hours",
|
|
122
153
|
"hint": "no questions, sounds or banners during these hours"
|
|
123
154
|
},
|
|
155
|
+
"dragonLook": {
|
|
156
|
+
"label": "Dragon's look",
|
|
157
|
+
"hint": "its element, from the die; Enter goes back to the default green dragon"
|
|
158
|
+
},
|
|
124
159
|
"reset": {
|
|
125
160
|
"label": "Reset",
|
|
126
161
|
"hint": "start over: your progress only, or everything (a backup is made first)"
|
|
@@ -142,7 +177,14 @@
|
|
|
142
177
|
"session": "session",
|
|
143
178
|
"session-10": "session · 10 cards",
|
|
144
179
|
"session-20": "session · 20 cards"
|
|
145
|
-
}
|
|
180
|
+
},
|
|
181
|
+
"notSet": "not set",
|
|
182
|
+
"homeTitle": "Which language do you speak?",
|
|
183
|
+
"lookQuestion": "Go back to the default green dragon?",
|
|
184
|
+
"lookNote": "Its element ({element}) goes for good: the die never rolls again.",
|
|
185
|
+
"lookYes": "Default look",
|
|
186
|
+
"lookNo": "Keep the element",
|
|
187
|
+
"lookDropped": "Your dragon has its default look again."
|
|
146
188
|
},
|
|
147
189
|
"count": {
|
|
148
190
|
"cards": {
|
|
@@ -198,7 +240,44 @@
|
|
|
198
240
|
"languagesRow": "Languages",
|
|
199
241
|
"detectRow": "Detect from the cards",
|
|
200
242
|
"learningRow": "Learning",
|
|
201
|
-
"learningShort": "learning {language}"
|
|
243
|
+
"learningShort": "learning {language}",
|
|
244
|
+
"renameRow": "Rename",
|
|
245
|
+
"deleteRow": "Delete",
|
|
246
|
+
"renameTitle": "New name for \"{deck}\"",
|
|
247
|
+
"renamed": "\"{from}\" is now \"{to}\".",
|
|
248
|
+
"deleteQuestion": "Delete the deck \"{deck}\" and its {cards}?",
|
|
249
|
+
"deleteNote": "It goes to the trash with its progress: /trash brings it back for {days} days.",
|
|
250
|
+
"deleteYes": "Delete",
|
|
251
|
+
"deleteNo": "Keep it",
|
|
252
|
+
"deleted": "Deleted \"{deck}\". Press u to bring it back, or find it in /trash for {days} days.",
|
|
253
|
+
"restored": "\"{deck}\" is back, with its progress.",
|
|
254
|
+
"allLabel": "All decks",
|
|
255
|
+
"mixLabel": {
|
|
256
|
+
"one": "{count} deck",
|
|
257
|
+
"other": "{count} decks"
|
|
258
|
+
},
|
|
259
|
+
"allRow": "All decks",
|
|
260
|
+
"togetherNow": {
|
|
261
|
+
"one": "Practising {count} deck together.",
|
|
262
|
+
"other": "Practising {count} decks together: their cards come mixed."
|
|
263
|
+
},
|
|
264
|
+
"aloneNow": "Practising only \"{deck}\" now.",
|
|
265
|
+
"mergeRow": "Merge into another deck",
|
|
266
|
+
"mergeTitle": "Merge \"{deck}\" into…",
|
|
267
|
+
"mergeQuestion": "Move {cards} from \"{from}\" into \"{into}\"?",
|
|
268
|
+
"mergeNote": "Their progress comes along. \"{from}\" goes to the trash for {days} days, along with any cards \"{into}\" already has.",
|
|
269
|
+
"mergeYes": "Merge",
|
|
270
|
+
"merged": {
|
|
271
|
+
"one": "Moved 1 card from \"{from}\" into \"{into}\".",
|
|
272
|
+
"other": "Moved {count} cards from \"{from}\" into \"{into}\"."
|
|
273
|
+
},
|
|
274
|
+
"mergedLeft": {
|
|
275
|
+
"one": "1 was there already: it's in the trash with the deck.",
|
|
276
|
+
"other": "{count} were there already: they're in the trash with the deck."
|
|
277
|
+
},
|
|
278
|
+
"onlyOne": "\"{deck}\" is the only deck practised. Mark another one with space to add it.",
|
|
279
|
+
"mergeNo": "Don't merge",
|
|
280
|
+
"mergeLanguages": "Careful: \"{from}\" is {fromPair}, \"{into}\" is {intoPair}."
|
|
202
281
|
},
|
|
203
282
|
"add": {
|
|
204
283
|
"fields": {
|
|
@@ -208,7 +287,7 @@
|
|
|
208
287
|
},
|
|
209
288
|
"line": {
|
|
210
289
|
"label": "New card",
|
|
211
|
-
"hint": "
|
|
290
|
+
"hint": "kot = cat; kitty // Mój kot śpi."
|
|
212
291
|
},
|
|
213
292
|
"back": {
|
|
214
293
|
"label": "Back",
|
|
@@ -220,6 +299,7 @@
|
|
|
220
299
|
"titleFirst": "Start your first deck",
|
|
221
300
|
"titleCard": "Add a card · {deck}",
|
|
222
301
|
"deckReady": "Your deck \"{deck}\" is ready. Now its first card:",
|
|
302
|
+
"deckReadyAi": "Your deck \"{deck}\" is ready. Enter asks AI for its first words; you can change the request first.",
|
|
223
303
|
"duplicateCard": "\"{front}\" is already in {deck}.",
|
|
224
304
|
"duplicateDeck": "There is already a deck called \"{deck}\".",
|
|
225
305
|
"nameTooLong": "Keep the name to {max} characters or fewer.",
|
|
@@ -227,7 +307,6 @@
|
|
|
227
307
|
"needFront": "A card needs a front.",
|
|
228
308
|
"needBack": "A card needs an answer.",
|
|
229
309
|
"preview": {
|
|
230
|
-
"pair": "{front} = {back} · you'll pick how it's asked after this card",
|
|
231
310
|
"asks": "{prompt} → ? you type {answer}",
|
|
232
311
|
"both": "{forward} · {backward}",
|
|
233
312
|
"cloze": {
|
|
@@ -275,7 +354,32 @@
|
|
|
275
354
|
"languagesNow": "Looks like {pair}. If not, fix it in /decks →.",
|
|
276
355
|
"languagesSoon": "Languages: I'll tell after a few cards",
|
|
277
356
|
"learningLine": "Learning: {language}",
|
|
278
|
-
"learningGuess": "that is a guess: → to change it"
|
|
357
|
+
"learningGuess": "that is a guess: → to change it",
|
|
358
|
+
"ways": {
|
|
359
|
+
"type": "Type",
|
|
360
|
+
"paste": "Paste",
|
|
361
|
+
"pasteWhat": "a whole list, one card per line",
|
|
362
|
+
"ai": "Ask AI",
|
|
363
|
+
"aiExample": "?kitchen words"
|
|
364
|
+
},
|
|
365
|
+
"ai": {
|
|
366
|
+
"suggested": "suggestion from {provider}",
|
|
367
|
+
"thinking": "{provider} is writing a suggestion…",
|
|
368
|
+
"example": "example sentence from {provider}",
|
|
369
|
+
"listTitle": "✦ Cards from AI · {deck}",
|
|
370
|
+
"writing": "{provider} is writing… {count} so far",
|
|
371
|
+
"listSummary": {
|
|
372
|
+
"one": "{count} suggestion · {kept} kept",
|
|
373
|
+
"other": "{count} suggestions · {kept} kept"
|
|
374
|
+
},
|
|
375
|
+
"noList": "No cards came back. Try asking another way, or another model.",
|
|
376
|
+
"writingStart": "{provider} is writing…",
|
|
377
|
+
"request": "“{request}”",
|
|
378
|
+
"confirm": "Esc again drops the cards you kept. Any other key keeps them.",
|
|
379
|
+
"nothingKept": "Nothing kept yet: space keeps a card, a keeps them all.",
|
|
380
|
+
"listOff": "AI help is off: turn it on in /settings → AI help to ask for a list.",
|
|
381
|
+
"needRequest": "Type what to ask AI for after the ?, like ?kitchen words."
|
|
382
|
+
}
|
|
279
383
|
},
|
|
280
384
|
"quiz": {
|
|
281
385
|
"youWrote": "you wrote ",
|
|
@@ -344,7 +448,9 @@
|
|
|
344
448
|
"one": "in about a month",
|
|
345
449
|
"other": "in about {count} months"
|
|
346
450
|
}
|
|
347
|
-
}
|
|
451
|
+
},
|
|
452
|
+
"previewNoImport": "The preview can't import cards; run dracosh for that.",
|
|
453
|
+
"fromAi": "✦ AI wrote this card and it isn't checked yet: /cards"
|
|
348
454
|
},
|
|
349
455
|
"dragon": {
|
|
350
456
|
"stages": {
|
|
@@ -633,7 +739,7 @@
|
|
|
633
739
|
"hatched": "Your dragon has hatched!",
|
|
634
740
|
"line": "Answer cards to keep it happy. It grows with your streak.",
|
|
635
741
|
"keysSkip": "any key to skip",
|
|
636
|
-
"keysStart": "any key to
|
|
742
|
+
"keysStart": "any key to continue"
|
|
637
743
|
},
|
|
638
744
|
"evolution": {
|
|
639
745
|
"evolved": "Your companion evolved: {name}!",
|
|
@@ -704,7 +810,8 @@
|
|
|
704
810
|
"progressEntry": "a card without its review date",
|
|
705
811
|
"streak": "the streak and badges are unreadable"
|
|
706
812
|
},
|
|
707
|
-
"slashSwitch": "\"{text}\" would have to be typed, and in the quiz / opens the commands. Change that card first."
|
|
813
|
+
"slashSwitch": "\"{text}\" would have to be typed, and in the quiz / opens the commands. Change that card first.",
|
|
814
|
+
"notInTrash": "That deck isn't in the trash any more."
|
|
708
815
|
},
|
|
709
816
|
"cli": {
|
|
710
817
|
"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.",
|
|
@@ -916,6 +1023,10 @@
|
|
|
916
1023
|
"label": "Hatching",
|
|
917
1024
|
"hint": "the first-launch intro"
|
|
918
1025
|
},
|
|
1026
|
+
"welcome": {
|
|
1027
|
+
"label": "Welcome",
|
|
1028
|
+
"hint": "languages and a way to start"
|
|
1029
|
+
},
|
|
919
1030
|
"mascot": {
|
|
920
1031
|
"label": "Mascot lab",
|
|
921
1032
|
"hint": "forms, faces, elements, moves, glow"
|
|
@@ -1310,5 +1421,242 @@
|
|
|
1310
1421
|
"badUrl": "DRACOSH_ANKI_URL isn't an address Dracosh can use ({detail}): it looks like http://127.0.0.1:8765.",
|
|
1311
1422
|
"noDeck": "Anki has no deck \"{detail}\" any more.",
|
|
1312
1423
|
"notImported": "Anki didn't take the cards: nothing was sent."
|
|
1424
|
+
},
|
|
1425
|
+
"welcome": {
|
|
1426
|
+
"languageTitle": "Which language should Dracosh speak?",
|
|
1427
|
+
"languageNote": "A few quick questions, then you start. You can change the language later in /settings.",
|
|
1428
|
+
"homeTitle": "Which language do you speak?",
|
|
1429
|
+
"homeNote": "So Dracosh can tell new words from their translations.",
|
|
1430
|
+
"learningTitle": "Which language are you learning?",
|
|
1431
|
+
"learningNote": "Pick one to start with; you can add decks in other languages any time. Not learning a language? Pick “Something else” at the end.",
|
|
1432
|
+
"notLanguage": "Something else (definitions, facts…)",
|
|
1433
|
+
"startTitle": "How do you want to start?",
|
|
1434
|
+
"startNote": "You can change this later: /decks switches decks any time.",
|
|
1435
|
+
"start": {
|
|
1436
|
+
"words": {
|
|
1437
|
+
"one": "Start with {count} everyday word",
|
|
1438
|
+
"other": "Start with {count} everyday words"
|
|
1439
|
+
},
|
|
1440
|
+
"wordsNote": "{language} → {home}",
|
|
1441
|
+
"ai": "Let AI suggest my first deck",
|
|
1442
|
+
"aiNote": "you pick the cards · API key or local model",
|
|
1443
|
+
"tour": "Show me how it works",
|
|
1444
|
+
"tourNote": {
|
|
1445
|
+
"one": "{count} short card on how Dracosh works",
|
|
1446
|
+
"other": "{count} short cards on how Dracosh works"
|
|
1447
|
+
},
|
|
1448
|
+
"import": "I already have cards",
|
|
1449
|
+
"importNote": "from Anki, a CSV or a text file",
|
|
1450
|
+
"own": "Make my own deck",
|
|
1451
|
+
"ownNote": "type or paste your cards",
|
|
1452
|
+
"noWords": "Ready-made words come in {languages}. For {language}, make a deck of your own.",
|
|
1453
|
+
"noWordsHome": "Ready-made words are for pairs of these: {languages}. {language} isn't one yet, so start with a deck of your own."
|
|
1454
|
+
},
|
|
1455
|
+
"firstWordsDeck": "{language}: first words",
|
|
1456
|
+
"aiRequest": "{count} everyday words: {language} → {home}",
|
|
1457
|
+
"suggested": "suggested"
|
|
1458
|
+
},
|
|
1459
|
+
"importScreen": {
|
|
1460
|
+
"title": "Import cards",
|
|
1461
|
+
"pathLabel": "Which file?",
|
|
1462
|
+
"pathHint": "An Anki package (.apkg), a CSV or a text file. Drag the file here to paste its path.",
|
|
1463
|
+
"needPath": "Type the file's path, or drag the file here.",
|
|
1464
|
+
"reading": "Reading the file…",
|
|
1465
|
+
"deckLabel": "Which deck should these cards go into?",
|
|
1466
|
+
"splitYes": "Yes, each one is a right answer",
|
|
1467
|
+
"splitNo": "No, keep them as written",
|
|
1468
|
+
"add": {
|
|
1469
|
+
"one": "Add 1 card",
|
|
1470
|
+
"other": "Add {count} cards"
|
|
1471
|
+
},
|
|
1472
|
+
"addUpdate": {
|
|
1473
|
+
"one": "Add {cards} and update 1",
|
|
1474
|
+
"other": "Add {cards} and update {count}"
|
|
1475
|
+
},
|
|
1476
|
+
"update": {
|
|
1477
|
+
"one": "Update 1 card",
|
|
1478
|
+
"other": "Update {count} cards"
|
|
1479
|
+
},
|
|
1480
|
+
"cancel": "Cancel, change nothing",
|
|
1481
|
+
"changedNote": "An updated card takes the file's answers and keeps its progress.",
|
|
1482
|
+
"saving": "Saving…",
|
|
1483
|
+
"practise": "Up next: {deck}.",
|
|
1484
|
+
"backup": "That's a full Dracosh backup. Close Dracosh and bring it back with: dracosh import {file}",
|
|
1485
|
+
"notUtf8": "{file} isn't saved as UTF-8. Save it as UTF-8 (in Excel: CSV UTF-8), or import it with dracosh import, which can read other encodings (--encoding).",
|
|
1486
|
+
"newDeck": "A new deck: {deck}",
|
|
1487
|
+
"otherName": "Another name…",
|
|
1488
|
+
"fromFile": "From the file:",
|
|
1489
|
+
"slashLeft": {
|
|
1490
|
+
"one": "1 card was left out: an answer to type starts with /.",
|
|
1491
|
+
"other": "{count} cards were left out: an answer to type starts with /."
|
|
1492
|
+
},
|
|
1493
|
+
"undo": "To undo it: quit Dracosh, then run dracosh restore 1 (the backup taken just now).",
|
|
1494
|
+
"close": "Close",
|
|
1495
|
+
"problemLine": "line {line}: {text} ({issue})",
|
|
1496
|
+
"problemNote": "{text} ({issue})",
|
|
1497
|
+
"empty": "This file has no cards."
|
|
1498
|
+
},
|
|
1499
|
+
"trash": {
|
|
1500
|
+
"title": "Trash",
|
|
1501
|
+
"note": "Deleted decks and cards stay here for {days} days, with their progress.",
|
|
1502
|
+
"row": "{cards} · deleted {deleted} · kept until {until}",
|
|
1503
|
+
"empty": "The trash is empty.",
|
|
1504
|
+
"restored": "\"{deck}\" is back, with its progress.",
|
|
1505
|
+
"cardsRow": "from \"{deck}\" · deleted {deleted} · kept until {until}",
|
|
1506
|
+
"cardsRestored": {
|
|
1507
|
+
"one": "1 card is back in \"{deck}\".",
|
|
1508
|
+
"other": "{count} cards are back in \"{deck}\"."
|
|
1509
|
+
},
|
|
1510
|
+
"skipped": {
|
|
1511
|
+
"one": "1 stays in the trash: the deck already has a card with the same front.",
|
|
1512
|
+
"other": "{count} stay in the trash: the deck already has cards with the same fronts."
|
|
1513
|
+
}
|
|
1514
|
+
},
|
|
1515
|
+
"cards": {
|
|
1516
|
+
"title": {
|
|
1517
|
+
"one": "{deck} · {count} card",
|
|
1518
|
+
"other": "{deck} · {count} cards"
|
|
1519
|
+
},
|
|
1520
|
+
"toCheck": {
|
|
1521
|
+
"one": "✦ {count} to check",
|
|
1522
|
+
"other": "✦ {count} to check"
|
|
1523
|
+
},
|
|
1524
|
+
"addRow": "+ Add cards",
|
|
1525
|
+
"undoRow": "↶ Bring back \"{card}\"",
|
|
1526
|
+
"confirmRow": "Looks right",
|
|
1527
|
+
"checkRow": "Check with AI",
|
|
1528
|
+
"editRow": "Fix",
|
|
1529
|
+
"moveRow": "Move to another deck",
|
|
1530
|
+
"deleteRow": "Delete",
|
|
1531
|
+
"editTitle": "Fix a card · {deck}",
|
|
1532
|
+
"moveTitle": "Move \"{card}\" to…",
|
|
1533
|
+
"deleteQuestion": "Delete the card \"{card}\"?",
|
|
1534
|
+
"deleteNote": "It goes to the trash with its progress: /trash brings it back for {days} days.",
|
|
1535
|
+
"deleted": "Deleted the card \"{card}\". It's in the trash for {days} days.",
|
|
1536
|
+
"restored": "The card \"{card}\" is back.",
|
|
1537
|
+
"moved": "Moved the card \"{card}\" to \"{deck}\".",
|
|
1538
|
+
"alreadyThere": "\"{deck}\" has a card with this front already.",
|
|
1539
|
+
"noOtherDeck": "You have no other deck to move it to.",
|
|
1540
|
+
"noMatch": "No card matches \"{query}\".",
|
|
1541
|
+
"found": {
|
|
1542
|
+
"one": "1 card found",
|
|
1543
|
+
"other": "{count} cards found"
|
|
1544
|
+
},
|
|
1545
|
+
"tourNot": "The tour's cards can't be changed. /add starts a deck of your own.",
|
|
1546
|
+
"editHint": "front = back; other answer // example",
|
|
1547
|
+
"whichDeck": "Which deck's cards?",
|
|
1548
|
+
"deleteNo": "Keep it",
|
|
1549
|
+
"aiNote": "✦ This card was written by AI: check it before you learn it.",
|
|
1550
|
+
"confirmed": "Checked: {card}",
|
|
1551
|
+
"checking": "{provider} is checking the card…",
|
|
1552
|
+
"checkOk": "{provider} sees nothing wrong: {card}",
|
|
1553
|
+
"checkFix": "{provider} suggests a fix:",
|
|
1554
|
+
"useFix": "Use the fix",
|
|
1555
|
+
"keepMine": "Keep it as is",
|
|
1556
|
+
"checkUnclear": "{provider}'s answer couldn't be read. Try again."
|
|
1557
|
+
},
|
|
1558
|
+
"ai": {
|
|
1559
|
+
"customName": "Other",
|
|
1560
|
+
"title": "AI help",
|
|
1561
|
+
"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.",
|
|
1562
|
+
"noteWelcome": "First pick where AI runs, then it suggests your first deck. Only your request and a few cards of the deck are sent.",
|
|
1563
|
+
"now": "Now: {label}",
|
|
1564
|
+
"current": "current",
|
|
1565
|
+
"free": "free",
|
|
1566
|
+
"paid": "paid",
|
|
1567
|
+
"yourServer": "your server",
|
|
1568
|
+
"small": "small, cheap",
|
|
1569
|
+
"turnOff": "Turn AI off",
|
|
1570
|
+
"turnedOff": "AI help is off. Saved keys stay: to remove one, pick its provider here again.",
|
|
1571
|
+
"providers": {
|
|
1572
|
+
"anthropic": "Claude models, your API key",
|
|
1573
|
+
"openai": "GPT models, your API key",
|
|
1574
|
+
"openrouter": "many models with one key",
|
|
1575
|
+
"ollama": "free, runs on this computer",
|
|
1576
|
+
"lmstudio": "free, runs on this computer",
|
|
1577
|
+
"custom": "any OpenAI-compatible address"
|
|
1578
|
+
},
|
|
1579
|
+
"urlTitle": "Server address",
|
|
1580
|
+
"urlNote": "The address of an OpenAI-compatible API, for example http://localhost:8080/v1",
|
|
1581
|
+
"badUrl": "That isn't an address: it should start with http:// or https://",
|
|
1582
|
+
"keyTitle": "{provider} API key",
|
|
1583
|
+
"keyTitleCustom": "API key (only if the server needs one)",
|
|
1584
|
+
"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.",
|
|
1585
|
+
"keyOptional": "If the server asks for a key, paste it; otherwise press Enter.",
|
|
1586
|
+
"needKey": "Paste the key first (Esc goes back).",
|
|
1587
|
+
"keepKey": "Use the saved key",
|
|
1588
|
+
"newKey": "Paste a new key",
|
|
1589
|
+
"forgetKey": "Forget the saved key",
|
|
1590
|
+
"keyForgotten": "The saved key ({provider}) is gone.",
|
|
1591
|
+
"keyFromEnv": "Using the key from {env}.",
|
|
1592
|
+
"localNote": "Models available at {url}. A small model without thinking answers fastest.",
|
|
1593
|
+
"modelNote": "A small, fast model is enough and costs little.",
|
|
1594
|
+
"noModels": "No models to pick: type a model's name.",
|
|
1595
|
+
"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.",
|
|
1596
|
+
"modelTitle": "Which model?",
|
|
1597
|
+
"loadingModels": "Getting the models ({provider})…",
|
|
1598
|
+
"typeModel": "Type a model name…",
|
|
1599
|
+
"modelNameNote": "The model's name as {provider} writes it.",
|
|
1600
|
+
"needModel": "Type the model's name first (Esc goes back).",
|
|
1601
|
+
"checking": "Checking {label}…",
|
|
1602
|
+
"ready": "AI help is on: ✦ {label}",
|
|
1603
|
+
"failedTitle": "{label} isn't working",
|
|
1604
|
+
"tryAgain": "Try again",
|
|
1605
|
+
"otherModel": "Pick another model",
|
|
1606
|
+
"otherKey": "Use another key",
|
|
1607
|
+
"errors": {
|
|
1608
|
+
"noKey": "No {provider} key yet: add one in /settings → AI help, or set {env}.",
|
|
1609
|
+
"badKey": "{provider} didn't accept the key. Check it, or paste a new one.",
|
|
1610
|
+
"noModel": "{provider} has no model called {model}.",
|
|
1611
|
+
"noApi": "Nothing at {url} answers like an OpenAI-compatible API: check the address (often it ends in /v1).",
|
|
1612
|
+
"rateLimit": "{provider} says too many requests: wait a moment and try again.",
|
|
1613
|
+
"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.",
|
|
1614
|
+
"offline": "Can't reach {provider} ({url}). Are you online?",
|
|
1615
|
+
"offlineLocal": "Nothing answers at {url}: is {provider} running?",
|
|
1616
|
+
"timeout": "{provider} took too long to answer.",
|
|
1617
|
+
"server": "{provider} had a problem on its side ({status}). Try again later.",
|
|
1618
|
+
"failed": "{provider} refused the request ({status}): {detail}",
|
|
1619
|
+
"notJson": "the answer wasn't JSON"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
"voice": {
|
|
1623
|
+
"title": "Voice",
|
|
1624
|
+
"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.",
|
|
1625
|
+
"now": "Now: {label}",
|
|
1626
|
+
"system": "macOS voices",
|
|
1627
|
+
"systemNote": "free, built in",
|
|
1628
|
+
"elevenNote": "natural voices, your own key, paid per character",
|
|
1629
|
+
"systemSet": "Words are read by macOS voices again.",
|
|
1630
|
+
"keyTitle": "ElevenLabs key",
|
|
1631
|
+
"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.",
|
|
1632
|
+
"pickTitle": "Pick a voice",
|
|
1633
|
+
"pickNote": "One voice reads all your decks, in every language it speaks. You'll hear a short sample before it's saved.",
|
|
1634
|
+
"loading": "Loading voices from ElevenLabs…",
|
|
1635
|
+
"noVoices": "Your ElevenLabs account has no voices to pick. Add one on elevenlabs.io, then come back.",
|
|
1636
|
+
"current": "current",
|
|
1637
|
+
"checking": "Reading a sample with {label}…",
|
|
1638
|
+
"ready": "Words are read by {label}. Languages it can't speak stay with macOS voices.",
|
|
1639
|
+
"readyOn": "Read aloud is on: words are read by {label}. Languages it can't speak stay with macOS voices.",
|
|
1640
|
+
"failedTitle": "{label} isn't working",
|
|
1641
|
+
"otherVoice": "Pick another voice",
|
|
1642
|
+
"sample": "Hello! I'll read your words aloud.",
|
|
1643
|
+
"short": {
|
|
1644
|
+
"noKey": "No ElevenLabs key: paste one here, or set {env}.",
|
|
1645
|
+
"badKey": "ElevenLabs didn't accept the key.",
|
|
1646
|
+
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site.",
|
|
1647
|
+
"noVoice": "ElevenLabs no longer has this voice: pick another."
|
|
1648
|
+
},
|
|
1649
|
+
"errors": {
|
|
1650
|
+
"noKey": "No ElevenLabs key: add one in /settings → Voice, or set {env}. Words are read by macOS voices for now.",
|
|
1651
|
+
"badKey": "ElevenLabs didn't accept the key. Paste a new one in /settings → Voice. Words are read by macOS voices for now.",
|
|
1652
|
+
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site. Words are read by macOS voices for now.",
|
|
1653
|
+
"noVoice": "ElevenLabs no longer has this voice: pick another in /settings → Voice. Words are read by macOS voices for now.",
|
|
1654
|
+
"rateLimit": "ElevenLabs says too many requests: wait a moment and try again.",
|
|
1655
|
+
"offline": "Can't reach ElevenLabs. Are you online?",
|
|
1656
|
+
"timeout": "ElevenLabs took too long to answer.",
|
|
1657
|
+
"server": "ElevenLabs had a problem on its side ({status}). Try again later.",
|
|
1658
|
+
"failed": "ElevenLabs refused the request ({status}): {detail}",
|
|
1659
|
+
"empty": "the audio came back empty"
|
|
1660
|
+
}
|
|
1313
1661
|
}
|
|
1314
1662
|
}
|