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/README.md
CHANGED
|
@@ -18,8 +18,9 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
18
18
|
- Add cards, start decks and switch between them right in the app (`/add`, `/decks`)
|
|
19
19
|
- One line is a card: `el gato = the cat; the kitty // Mi gato duerme.` (`;` separates right answers, `//` adds an example). Paste a whole list, or rows copied from a spreadsheet, and check it before it's saved
|
|
20
20
|
- Import cards from Anki and Quizlet exports, a spreadsheet's CSV or a plain text list, and export them as an Anki deck package, for a spreadsheet or as a text file you can edit (or have an AI assistant write); you see what changes before anything is saved
|
|
21
|
+
- Optional AI help in `/add`: type `pies = ` and a suggested answer and example appear dimmed, Tab takes them; `?20 words for the kitchen` suggests a whole list to pick from. Cards AI wrote carry a ✦ until you check them. Works with your Anthropic, OpenAI or OpenRouter key, or free with a local model in Ollama or LM Studio
|
|
21
22
|
- Each deck is asked the way you pick after its first card: front → back, back → front, or both ways; change it any time in `/decks`
|
|
22
|
-
- Pronunciation, if you turn it on in `/settings`: once the answer is out, the word in the language you're learning in that deck is read aloud with a
|
|
23
|
+
- Pronunciation, if you turn it on in `/settings`: once the answer is out, the word in the language you're learning in that deck is read aloud with a system voice (macOS, or Linux with `espeak-ng`), or with a natural ElevenLabs voice if you set one up; decks in one language, like definitions, stay quiet
|
|
23
24
|
- Dracosh works out which languages a deck is in (Spanish → English, say) and which of the two you're learning, from the cards, the deck's name and your other decks, whatever language you use Dracosh in, and says when it's only a guess; set either in `/decks` when it can't tell or guesses wrong
|
|
24
25
|
- Type the answer, or press Enter with nothing typed to see it and say whether you knew it (`1` or `2`): handy for whole sentences, and it counts just the same
|
|
25
26
|
- Cloze cards for sentences: `I {{look forward}} to it` asks one gap at a time
|
|
@@ -30,6 +31,7 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
30
31
|
- 8-bit sound effects, generated from code
|
|
31
32
|
- Now and then, a short tip about Dracosh while you wait for the next card
|
|
32
33
|
- Speaks English, Polish, German, French and Ukrainian: the first start asks which one, and `/settings` switches it
|
|
34
|
+
- Reads well on dark and light terminals: it asks the terminal for its background color and picks the matching theme, and `/settings` → Theme sets one yourself; the dragon keeps its colors in both
|
|
33
35
|
|
|
34
36
|
## Install
|
|
35
37
|
|
|
@@ -43,6 +45,7 @@ On the first start the dragon hatches, and Dracosh asks three things: the langua
|
|
|
43
45
|
|
|
44
46
|
- a short tour, where every card tells you what to type and shows you one more thing Dracosh can do
|
|
45
47
|
- 30 everyday words in the language you're learning, which you translate into yours (for any pair of English, Polish, German, French, Ukrainian, Spanish and Italian)
|
|
48
|
+
- a first deck from AI: Dracosh helps you set up AI help (your own key or a free local model), asks it for everyday words in your language pair, and you pick the cards you want from its list
|
|
46
49
|
- cards you already have, from Anki, a CSV or a text file (`/import`)
|
|
47
50
|
- a deck of your own, in `/add`
|
|
48
51
|
|
|
@@ -60,6 +63,8 @@ dracosh --stats # print your progress and exit
|
|
|
60
63
|
dracosh --data # show where your cards, progress and backups are kept
|
|
61
64
|
dracosh --preview
|
|
62
65
|
dracosh restore # list your backups; dracosh restore 2 brings one back
|
|
66
|
+
dracosh doctor # check sound, voices, notifications, AI help and your data; says what to fix
|
|
67
|
+
dracosh bug # report a bug: opens a GitHub issue with your system's details filled in
|
|
63
68
|
dracosh import words.csv # add cards from a file, see Import and export below
|
|
64
69
|
dracosh export spanish.txt --deck "Spanish"
|
|
65
70
|
```
|
|
@@ -75,7 +80,7 @@ Type the answer and press Enter. Not sure, or the answer is a whole sentence? Pr
|
|
|
75
80
|
| `/trash` | decks and cards you deleted, kept for 30 days with their progress: Enter brings one back |
|
|
76
81
|
| `/hint` | reveal one more letter |
|
|
77
82
|
| `/correct` | your answer was right after all; after a yes it's accepted from now on |
|
|
78
|
-
| `/settings` | the app's language, the language you speak, rhythm (a card every few minutes, or a study session), interval, daily goal, sound, pronunciation, quiet hours, weekends, tips, the dragon's look once the die gave it an element, and a reset |
|
|
83
|
+
| `/settings` | the app's language, the theme (dark, light or matching your terminal), the language you speak, AI help (optional), rhythm (a card every few minutes, or a study session), interval, daily goal, sound, pronunciation and its voice, quiet hours, weekends, tips, the dragon's look once the die gave it an element, and a reset |
|
|
79
84
|
| `/stats` | streak and a calendar of your month |
|
|
80
85
|
| `/badges` | all badges and how to get them |
|
|
81
86
|
| `/companion` | your dragon, its element and the forms ahead |
|
|
@@ -86,6 +91,28 @@ Type the answer and press Enter. Not sure, or the answer is a whole sentence? Pr
|
|
|
86
91
|
|
|
87
92
|
They're slash commands because "pause" and "quit" are perfectly good English answers.
|
|
88
93
|
|
|
94
|
+
## AI help
|
|
95
|
+
|
|
96
|
+
Optional, and everything works without it. Turn it on in `/settings` → AI help: pick Anthropic, OpenAI, OpenRouter, Ollama, LM Studio or any other OpenAI-compatible address, paste a key (local models need none), pick a model, and Dracosh checks that they work together before saving anything.
|
|
97
|
+
|
|
98
|
+
Then, in `/add`, type a word and ` = ` (`pies = `): a suggested answer appears dimmed after it. In a deck of definitions it suggests a short definition, and in a deck of questions (`Capital of Spain? = `) the answer. Tab or → takes it, and an example sentence follows the same way; typing on ignores the suggestion, and Enter saves only what's in the field.
|
|
99
|
+
|
|
100
|
+
For a whole list, type `?` and what you want, like `?20 words for the kitchen`: the cards come in as they're written, and none is kept until you say so. Space keeps one, `a` keeps them all, `e` fixes one, and Enter adds the ones kept; cards already in the deck are marked.
|
|
101
|
+
|
|
102
|
+
AI can be subtly wrong, so a card it wrote carries a ✦: in `/cards`, after its answer in the quiz, and in `/add`. `/cards` counts the cards still to check and lists them first: open one and pick "Looks right" or fix it, and the ✦ goes. A card you wrote yourself, or whose AI parts you replaced before saving, isn't marked.
|
|
103
|
+
|
|
104
|
+
Any card can be checked too: open it in `/cards` and pick "Check with AI". It looks for a wrong answer, a misspelling, a wrong article or a question with more than one right answer, says what it found and suggests a fix, its changes highlighted, to take or leave. A fix you take checks the card; a card AI finds right keeps its ✦ until you say so.
|
|
105
|
+
|
|
106
|
+
Only the word or request you typed and a few cards of the same deck are sent (for a list, also the fronts it shouldn't repeat; for a check, the card), so a request costs very little; a small model is plenty, and one that doesn't think first answers fastest. Nothing is added by AI alone: you keep or take every card.
|
|
107
|
+
|
|
108
|
+
What it costs stays in sight: `/settings` shows "free" next to a model on your computer and "paid per use" next to a cloud one, and when you pick a cloud model the small, cheap ones come first. If something goes wrong, the message says what to do: a missing or wrong key, a local server that isn't running, too many requests, or an account out of credit.
|
|
109
|
+
|
|
110
|
+
## Natural voices
|
|
111
|
+
|
|
112
|
+
Optional. Pronunciation uses the system voices by default, free and built in on macOS; on Linux install `espeak-ng` (robotic, but it speaks most languages). For a more natural voice, pick ElevenLabs in `/settings` → Voice, paste your ElevenLabs API key (or set `ELEVENLABS_API_KEY`), choose a voice, and you'll hear a short sample before anything is saved. Choosing a voice also turns pronunciation on.
|
|
113
|
+
|
|
114
|
+
ElevenLabs bills your account per character. Each word is generated once and kept in `~/.dracosh/audio`, so a word costs once per voice, not on every review. Languages the voice doesn't speak, and any word that can't be fetched (offline, say), are read by a system voice instead. If the key stops working or the account runs out of credit, Dracosh says so once and carries on with the system voices. To go back, pick System voices in the same place. On Linux a natural voice plays through `paplay` or `ffplay`.
|
|
115
|
+
|
|
89
116
|
## Import and export
|
|
90
117
|
|
|
91
118
|
```bash
|
|
@@ -154,11 +181,11 @@ Fix the lines it lists, and tell me the command to import it for real.
|
|
|
154
181
|
|
|
155
182
|
## Your data
|
|
156
183
|
|
|
157
|
-
Everything stays on your machine, in `~/.dracosh`; `dracosh --data` shows what's there. Progress is saved after every answer, so you can quit any time. One quiz runs at a time: a second window on the same data is refused, so the two can't overwrite each other's progress. The first start of each day also saves a backup of your cards, progress and settings to `~/.dracosh/backups` (the last 7 are kept); `dracosh restore` brings one back, and backs up what you have first, so a restore can be undone too. To start over, `/settings` → Reset clears your progress only (badges, streak, the dragon) or everything; a backup is made first. Decks and cards you delete wait in `/trash` for 30 days, with their progress. To move to another computer, `dracosh export everything.json` there and `dracosh import everything.json` here; to use Dracosh on two computers at once, put that folder somewhere synced and point `DRACOSH_HOME` at it.
|
|
184
|
+
Everything stays on your machine, in `~/.dracosh`; `dracosh --data` shows what's there. Progress is saved after every answer, so you can quit any time. One quiz runs at a time: a second window on the same data is refused, so the two can't overwrite each other's progress. The first start of each day also saves a backup of your cards, progress and settings to `~/.dracosh/backups` (the last 7 are kept); `dracosh restore` brings one back, and backs up what you have first, so a restore can be undone too. To start over, `/settings` → Reset clears your progress only (badges, streak, the dragon) or everything; a backup is made first. Decks and cards you delete wait in `/trash` for 30 days, with their progress. API keys for AI help and natural voices are kept in `~/.dracosh/keys.json`, readable by you only, and never go into a backup or an export; a key in `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `OPENROUTER_API_KEY` or `ELEVENLABS_API_KEY` is used instead when it's set. Audio from a natural voice is kept in `~/.dracosh/audio`; it isn't backed up, and deleting the folder only means words are fetched again. To move to another computer, `dracosh export everything.json` there and `dracosh import everything.json` here; to use Dracosh on two computers at once, put that folder somewhere synced and point `DRACOSH_HOME` at it.
|
|
158
185
|
|
|
159
186
|
Uninstalling Dracosh (`npm uninstall -g dracosh`) leaves `~/.dracosh` as it is, so installing it again brings everything back. To remove your data too, delete that folder.
|
|
160
187
|
|
|
161
|
-
Sounds
|
|
188
|
+
Sounds play on macOS, and on Linux through `paplay`, `aplay` or `ffplay` (whichever is installed); on Windows, or with no player or sound device, the quiz stays silent. When a new card is waiting you get a notification: a banner on macOS, a desktop notification on Linux (through `notify-send`), and the terminal's bell on Windows or where neither works. Pronunciation works on macOS and Linux.
|
|
162
189
|
|
|
163
190
|
## Development
|
|
164
191
|
|
|
@@ -178,8 +205,7 @@ The other languages live next to it in `locales/`, the tour included. `npm test`
|
|
|
178
205
|
|
|
179
206
|
Coming next, roughly in this order:
|
|
180
207
|
|
|
181
|
-
-
|
|
182
|
-
- Linux and Windows, pronunciation there included.
|
|
208
|
+
- 1.0: a stability promise for your data, narrow terminals, a colorblind-friendly mode and a quiet notice when a new version is out.
|
|
183
209
|
|
|
184
210
|
## License
|
|
185
211
|
|
package/locales/de.json
CHANGED
|
@@ -67,10 +67,14 @@
|
|
|
67
67
|
"badges": "↑/↓ blättern · ←/→ Spalte · esc zurück",
|
|
68
68
|
"keyNames": "beliebige Taste|enter|esc|tab",
|
|
69
69
|
"addFirst": "enter hinzufügen · esc abbrechen",
|
|
70
|
+
"askList": "enter KI fragen · esc abbrechen",
|
|
70
71
|
"addMore": "enter hinzufügen · ↑ letzte korrigieren · esc fertig",
|
|
71
72
|
"addFixing": "enter speichern · esc abbrechen",
|
|
72
73
|
"addBack": "enter hinzufügen · esc zurück",
|
|
73
74
|
"pasteReview": "↑/↓ wählen · e korrigieren · x verwerfen · enter {count} hinzufügen · esc abbrechen",
|
|
75
|
+
"aiReview": "Leertaste behalten · a alle · e korrigieren · enter {count} hinzufügen · esc zurück",
|
|
76
|
+
"aiReviewNone": "Leertaste behalten · a alle · e korrigieren · esc zurück",
|
|
77
|
+
"aiWaiting": "esc zurück",
|
|
74
78
|
"pasteFix": "enter fertig · esc zurück",
|
|
75
79
|
"grading": "1 oder ← wusste ich nicht · 2 oder → wusste ich",
|
|
76
80
|
"sessionWaiting": "enter nächste Karte · / Befehle · q beenden",
|
|
@@ -88,7 +92,9 @@
|
|
|
88
92
|
"trash": "↑/↓ wählen · enter zurückholen · esc zurück",
|
|
89
93
|
"decksTogether": "Leertaste zusammen üben · → Einstellungen · {choose}",
|
|
90
94
|
"cards": "tippen zum Suchen · ↑/↓ wählen · enter öffnen · esc zurück",
|
|
95
|
+
"modelPick": "tippen zum Suchen · ↑/↓ wählen · enter bestätigen · esc zurück",
|
|
91
96
|
"tabPart": "Tab nächster Teil",
|
|
97
|
+
"takeSuggestion": "Tab oder → Vorschlag übernehmen",
|
|
92
98
|
"decksMixing": "Leertaste dazu/weg · enter nur dieser Stapel · → Einstellungen · esc fertig"
|
|
93
99
|
},
|
|
94
100
|
"settings": {
|
|
@@ -98,10 +104,18 @@
|
|
|
98
104
|
"label": "App-Sprache",
|
|
99
105
|
"hint": "die Sprache von Dracosh; die Tour wechselt mit"
|
|
100
106
|
},
|
|
107
|
+
"theme": {
|
|
108
|
+
"label": "Farbschema",
|
|
109
|
+
"hint": "„automatisch“ richtet sich nach dem Hintergrund deines Terminals; wähle dunkel oder hell, wenn es danebenliegt"
|
|
110
|
+
},
|
|
101
111
|
"homeLanguage": {
|
|
102
112
|
"label": "Deine Sprache",
|
|
103
113
|
"hint": "die Sprache, die du sprichst: daran sieht Dracosh, welche Kartenseite für dich neu ist"
|
|
104
114
|
},
|
|
115
|
+
"ai": {
|
|
116
|
+
"label": "KI-Hilfe",
|
|
117
|
+
"hint": "Vorschläge beim Hinzufügen von Karten, mit deinem API-Schlüssel oder einem Modell auf diesem Computer"
|
|
118
|
+
},
|
|
105
119
|
"rhythm": {
|
|
106
120
|
"label": "Rhythmus",
|
|
107
121
|
"hint": "alle paar Minuten eine Karte (das Intervall) oder eine Sitzung: Karten direkt nacheinander, Enter holt die nächste"
|
|
@@ -116,7 +130,11 @@
|
|
|
116
130
|
},
|
|
117
131
|
"speak": {
|
|
118
132
|
"label": "Aussprache",
|
|
119
|
-
"hint": "liest das Wort in der Sprache vor, die du lernst, sobald die Antwort steht
|
|
133
|
+
"hint": "liest das Wort in der Sprache vor, die du lernst, sobald die Antwort steht"
|
|
134
|
+
},
|
|
135
|
+
"voice": {
|
|
136
|
+
"label": "Stimme",
|
|
137
|
+
"hint": "wer die Wörter vorliest: Systemstimmen oder eine natürliche Stimme von ElevenLabs mit deinem Schlüssel"
|
|
120
138
|
},
|
|
121
139
|
"volume": {
|
|
122
140
|
"label": "Lautstärke",
|
|
@@ -155,6 +173,11 @@
|
|
|
155
173
|
"sometimes": "manchmal (jedes 3. Warten)",
|
|
156
174
|
"off": "aus"
|
|
157
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "automatisch",
|
|
178
|
+
"dark": "dunkel",
|
|
179
|
+
"light": "hell"
|
|
180
|
+
},
|
|
158
181
|
"weekendsRest": "Ruhetage",
|
|
159
182
|
"weekendsCount": "wie andere Tage",
|
|
160
183
|
"pressEnter": "Enter drücken",
|
|
@@ -276,7 +299,7 @@
|
|
|
276
299
|
},
|
|
277
300
|
"line": {
|
|
278
301
|
"label": "Neue Karte",
|
|
279
|
-
"hint": "
|
|
302
|
+
"hint": "cat = Katze; Mieze // Beispiel"
|
|
280
303
|
},
|
|
281
304
|
"back": {
|
|
282
305
|
"label": "Rückseite",
|
|
@@ -288,6 +311,7 @@
|
|
|
288
311
|
"titleFirst": "Lege deinen ersten Stapel an",
|
|
289
312
|
"titleCard": "Karte hinzufügen · {deck}",
|
|
290
313
|
"deckReady": "Dein Stapel „{deck}“ ist bereit. Jetzt seine erste Karte:",
|
|
314
|
+
"deckReadyAi": "Dein Stapel „{deck}“ ist bereit. Enter fragt die KI nach den ersten Wörtern; die Anfrage kannst du vorher ändern.",
|
|
291
315
|
"duplicateCard": "„{front}“ ist schon in {deck}.",
|
|
292
316
|
"duplicateDeck": "Es gibt schon einen Stapel namens „{deck}“.",
|
|
293
317
|
"nameTooLong": "Der Name darf höchstens {max} Zeichen lang sein.",
|
|
@@ -295,7 +319,6 @@
|
|
|
295
319
|
"needFront": "Eine Karte braucht eine Vorderseite.",
|
|
296
320
|
"needBack": "Eine Karte braucht eine Antwort.",
|
|
297
321
|
"preview": {
|
|
298
|
-
"pair": "{front} = {back} · danach wählst du, wie gefragt wird",
|
|
299
322
|
"asks": "{prompt} → ? du tippst {answer}",
|
|
300
323
|
"both": "{forward} · {backward}",
|
|
301
324
|
"cloze": {
|
|
@@ -344,7 +367,31 @@
|
|
|
344
367
|
"languagesSoon": "Sprachen: erkenne ich nach ein paar Karten",
|
|
345
368
|
"learningLine": "Lernsprache: {language}",
|
|
346
369
|
"learningGuess": "nur geraten: → ändern",
|
|
347
|
-
"
|
|
370
|
+
"ways": {
|
|
371
|
+
"type": "Schreib",
|
|
372
|
+
"paste": "Füg ein",
|
|
373
|
+
"pasteWhat": "eine ganze Liste, eine Karte pro Zeile",
|
|
374
|
+
"ai": "Frag die KI",
|
|
375
|
+
"aiExample": "?Küchenwörter"
|
|
376
|
+
},
|
|
377
|
+
"ai": {
|
|
378
|
+
"suggested": "Vorschlag von {provider}",
|
|
379
|
+
"thinking": "{provider} schreibt einen Vorschlag…",
|
|
380
|
+
"example": "Beispielsatz von {provider}",
|
|
381
|
+
"listTitle": "✦ Karten von der KI · {deck}",
|
|
382
|
+
"writing": "{provider} schreibt… bisher {count}",
|
|
383
|
+
"listSummary": {
|
|
384
|
+
"one": "{count} Vorschlag · {kept} behalten",
|
|
385
|
+
"other": "{count} Vorschläge · {kept} behalten"
|
|
386
|
+
},
|
|
387
|
+
"noList": "Es kamen keine Karten zurück: Frag anders oder nimm ein anderes Modell.",
|
|
388
|
+
"writingStart": "{provider} schreibt…",
|
|
389
|
+
"request": "„{request}“",
|
|
390
|
+
"confirm": "Ein weiteres Esc verwirft die behaltenen Karten; jede andere Taste behält sie.",
|
|
391
|
+
"nothingKept": "Noch nichts behalten: Leertaste behält eine Karte, a alle.",
|
|
392
|
+
"listOff": "KI-Hilfe ist aus: Schalte sie unter /settings → KI-Hilfe ein, um eine Liste zu bekommen.",
|
|
393
|
+
"needRequest": "Schreib nach dem ?, worum du die KI bittest, z. B. ?Küchenwörter."
|
|
394
|
+
}
|
|
348
395
|
},
|
|
349
396
|
"quiz": {
|
|
350
397
|
"youWrote": "deine Antwort: ",
|
|
@@ -414,7 +461,8 @@
|
|
|
414
461
|
"other": "in etwa {count} Monaten"
|
|
415
462
|
}
|
|
416
463
|
},
|
|
417
|
-
"previewNoImport": "Die Vorschau kann keine Karten importieren; starte dafür dracosh."
|
|
464
|
+
"previewNoImport": "Die Vorschau kann keine Karten importieren; starte dafür dracosh.",
|
|
465
|
+
"fromAi": "✦ Die KI hat diese Karte geschrieben, noch nicht geprüft: /cards"
|
|
418
466
|
},
|
|
419
467
|
"dragon": {
|
|
420
468
|
"stages": {
|
|
@@ -787,7 +835,7 @@
|
|
|
787
835
|
"notInTrash": "Dieser Stapel ist nicht mehr im Papierkorb."
|
|
788
836
|
},
|
|
789
837
|
"cli": {
|
|
790
|
-
"help": "Dracosh: ein Vokabel- und Quiztrainer für dein Terminal\n\nAufruf: dracosh [Optionen]\n dracosh import <Datei|-> Karten aus einer Datei hinzufügen (.txt, .csv, .tsv, ein Anki-Paket .apkg oder .colpkg, Textexporte aus Anki oder Quizlet, eine .json-Sicherung), oder „-“ für die Standardeingabe\n dracosh export <Datei> deine Stapel als .apkg (Anki), .txt, .tsv, .csv oder .json (alles) speichern\n dracosh restore [Nummer] deine Sicherungen auflisten oder eine zurückholen\n\n --deck <Name> diesen Stapel abfragen, nur dieses Mal (sonst den in /decks gewählten)\n bei import und export: der Stapel zum Füllen oder Speichern\n --every <Zeit> Abstand zwischen Fragen: 30s, 10m, 1h (Standard: {interval})\n --no-sound Töne ausschalten\n --volume <0-1> Lautstärke (Standard: {volume})\n --stats Fortschritt ausgeben und beenden\n --data zeigen, wo Karten, Fortschritt und Sicherungen liegen\n --preview alle Animationen und Bildschirme mit erfundenen Daten ansehen (nichts wird gespeichert)\n --update import: vorhandene Karten übernehmen die Antworten aus der Datei (sonst wird gefragt)\n --split import: eine Antwort mit mehreren („cat, kitty“) wird zu einzelnen Antworten\n --separator <s> import: was die Spalten trennt: tab, comma, semicolon, pipe, colon, space oder ein Zeichen\n --encoding <e> import: eine Datei, die nicht UTF-8 ist, z. B. windows-1252\n --anki Import oder Export: direkt aus einem laufenden Anki oder hinein (Erweiterung AnkiConnect)\n -y, --yes Import, Export oder Wiederherstellen ohne Nachfrage\n -h, --help diese Hilfe zeigen\n\nOptionen ändern deine gespeicherten Einstellungen nur für diesen Start. Die gespeicherten änderst du in /settings.\n\nWährenddessen: Enter schickt ab (leer zeigt es die Antwort, dann 1 oder 2), „/“ öffnet das Befehlsmenü (/add, /decks, /settings, /stats, /help…),\nEsc beendet (löscht vorher die Eingabe). Strg+C geht auch.\nZwischen Karten: Enter fragt sofort die nächste, q beendet. /help erklärt den Rest.",
|
|
838
|
+
"help": "Dracosh: ein Vokabel- und Quiztrainer für dein Terminal\n\nAufruf: dracosh [Optionen]\n dracosh import <Datei|-> Karten aus einer Datei hinzufügen (.txt, .csv, .tsv, ein Anki-Paket .apkg oder .colpkg, Textexporte aus Anki oder Quizlet, eine .json-Sicherung), oder „-“ für die Standardeingabe\n dracosh export <Datei> deine Stapel als .apkg (Anki), .txt, .tsv, .csv oder .json (alles) speichern\n dracosh restore [Nummer] deine Sicherungen auflisten oder eine zurückholen\n dracosh doctor Ton, Stimmen, Mitteilungen, KI und deine Daten prüfen\n dracosh bug einen Fehler melden: öffnet ein GitHub-Issue mit den Angaben zu deinem System\n\n --deck <Name> diesen Stapel abfragen, nur dieses Mal (sonst den in /decks gewählten)\n bei import und export: der Stapel zum Füllen oder Speichern\n --every <Zeit> Abstand zwischen Fragen: 30s, 10m, 1h (Standard: {interval})\n --no-sound Töne ausschalten\n --volume <0-1> Lautstärke (Standard: {volume})\n --stats Fortschritt ausgeben und beenden\n --data zeigen, wo Karten, Fortschritt und Sicherungen liegen\n --preview alle Animationen und Bildschirme mit erfundenen Daten ansehen (nichts wird gespeichert)\n --update import: vorhandene Karten übernehmen die Antworten aus der Datei (sonst wird gefragt)\n --split import: eine Antwort mit mehreren („cat, kitty“) wird zu einzelnen Antworten\n --separator <s> import: was die Spalten trennt: tab, comma, semicolon, pipe, colon, space oder ein Zeichen\n --encoding <e> import: eine Datei, die nicht UTF-8 ist, z. B. windows-1252\n --anki Import oder Export: direkt aus einem laufenden Anki oder hinein (Erweiterung AnkiConnect)\n -y, --yes Import, Export oder Wiederherstellen ohne Nachfrage\n -h, --help diese Hilfe zeigen\n\nOptionen ändern deine gespeicherten Einstellungen nur für diesen Start. Die gespeicherten änderst du in /settings.\n\nWährenddessen: Enter schickt ab (leer zeigt es die Antwort, dann 1 oder 2), „/“ öffnet das Befehlsmenü (/add, /decks, /settings, /stats, /help…),\nEsc beendet (löscht vorher die Eingabe). Strg+C geht auch.\nZwischen Karten: Enter fragt sofort die nächste, q beendet. /help erklärt den Rest.",
|
|
791
839
|
"badEvery": "Ungültiges --every „{value}“. Nutze z. B. 30s, 10m, 1h.",
|
|
792
840
|
"badVolume": "Ungültiges --volume „{value}“. Nutze eine Zahl von 0 bis 1.",
|
|
793
841
|
"unknownCommand": "Unbekannter Befehl „{command}“. Siehe dracosh --help.",
|
|
@@ -851,7 +899,36 @@
|
|
|
851
899
|
"other": "{count} Sicherungen"
|
|
852
900
|
},
|
|
853
901
|
"unknownOption": "Unbekannte Option {option}. Siehe dracosh --help.",
|
|
854
|
-
"oneFile": "dracosh {command} nimmt eine Datei auf einmal."
|
|
902
|
+
"oneFile": "dracosh {command} nimmt eine Datei auf einmal.",
|
|
903
|
+
"doctor": {
|
|
904
|
+
"title": "Dracosh doctor: was auf diesem Computer funktioniert",
|
|
905
|
+
"data": "Daten",
|
|
906
|
+
"dataNew": "{home} (noch nicht angelegt: das passiert beim ersten Start)",
|
|
907
|
+
"dataReadOnly": "in {home} kann nicht geschrieben werden: prüf die Berechtigungen",
|
|
908
|
+
"nodeOld": "{version}: Dracosh braucht Node {needed} oder neuer",
|
|
909
|
+
"noSoundWindows": "nicht unter Windows",
|
|
910
|
+
"noPlayer": "kein Player gefunden: installier paplay, aplay oder ffplay",
|
|
911
|
+
"notifications": "Mitteilungen",
|
|
912
|
+
"notifier": {
|
|
913
|
+
"osascript": "Mitteilungszentrale",
|
|
914
|
+
"notify-send": "Desktop-Mitteilungen (notify-send)",
|
|
915
|
+
"bell": "die Glocke des Terminals",
|
|
916
|
+
"bellLinux": "die Glocke des Terminals: installier notify-send (libnotify) für Desktop-Mitteilungen"
|
|
917
|
+
},
|
|
918
|
+
"noSpeech": "keine Systemstimme gefunden: installier espeak-ng",
|
|
919
|
+
"noMp3Player": "{voice} braucht einen Player für die Audiodateien: installier ffplay (ffmpeg) oder paplay",
|
|
920
|
+
"aiNoModel": "{label}: der Server bietet {model} nicht an, wähl in /settings → KI-Hilfe ein anderes",
|
|
921
|
+
"allGood": "Alles in Ordnung.",
|
|
922
|
+
"problems": {
|
|
923
|
+
"one": "{count} Sache zu beheben.",
|
|
924
|
+
"other": "{count} Sachen zu beheben."
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
"bug": {
|
|
928
|
+
"checking": "Ich sammle Angaben zum System für das Issue…",
|
|
929
|
+
"opened": "In deinem Browser hat sich ein neues GitHub-Issue geöffnet, ausgefüllt mit den Angaben zu deinem System: keine Karten, keine Schlüssel, dein Home-Ordner als ~. Beschreib, was passiert ist, und schick es ab; vorher wird nichts gesendet. Adresse des Issues:",
|
|
930
|
+
"notOpened": "Es ließ sich kein Browser öffnen. Um das Problem zu melden, öffne diese Adresse: Das Issue ist mit den Angaben zu deinem System ausgefüllt (keine Karten, keine Schlüssel, dein Home-Ordner als ~), und bevor du es abschickst, wird nichts gesendet."
|
|
931
|
+
}
|
|
855
932
|
},
|
|
856
933
|
"tips": {
|
|
857
934
|
"keys-enter": {
|
|
@@ -990,7 +1067,7 @@
|
|
|
990
1067
|
"preview": {
|
|
991
1068
|
"title": "Vorschau",
|
|
992
1069
|
"subtitle": " erfundene Daten · nichts wird gespeichert",
|
|
993
|
-
"keys": "↑/↓ wählen · enter abspielen · esc beenden",
|
|
1070
|
+
"keys": "↑/↓ wählen · enter abspielen · t Farbschema · esc beenden",
|
|
994
1071
|
"replay": "enter nochmal · esc zurück",
|
|
995
1072
|
"evolution": "Entwicklung → {name}",
|
|
996
1073
|
"evolutionHint": {
|
|
@@ -1416,6 +1493,8 @@
|
|
|
1416
1493
|
"other": "Mit {count} Alltagswörtern anfangen"
|
|
1417
1494
|
},
|
|
1418
1495
|
"wordsNote": "{language} → {home}",
|
|
1496
|
+
"ai": "Stapel von der KI vorschlagen lassen",
|
|
1497
|
+
"aiNote": "Karten aus der Liste wählen · API-Schlüssel oder lokales Modell",
|
|
1419
1498
|
"tour": "Zeig mir, wie es geht",
|
|
1420
1499
|
"tourNote": {
|
|
1421
1500
|
"one": "{count} kurze Karte dazu, wie Dracosh funktioniert",
|
|
@@ -1429,6 +1508,7 @@
|
|
|
1429
1508
|
"noWordsHome": "Fertige Wörter gibt es für Paare aus diesen Sprachen: {languages}. {language} ist noch nicht dabei, also fang mit einem eigenen Stapel an."
|
|
1430
1509
|
},
|
|
1431
1510
|
"firstWordsDeck": "{language}: erste Wörter",
|
|
1511
|
+
"aiRequest": "{count} Alltagswörter: {language} → {home}",
|
|
1432
1512
|
"suggested": "Vorschlag"
|
|
1433
1513
|
},
|
|
1434
1514
|
"importScreen": {
|
|
@@ -1492,8 +1572,14 @@
|
|
|
1492
1572
|
"one": "{deck} · {count} Karte",
|
|
1493
1573
|
"other": "{deck} · {count} Karten"
|
|
1494
1574
|
},
|
|
1575
|
+
"toCheck": {
|
|
1576
|
+
"one": "✦ {count} zu prüfen",
|
|
1577
|
+
"other": "✦ {count} zu prüfen"
|
|
1578
|
+
},
|
|
1495
1579
|
"addRow": "+ Karten hinzufügen",
|
|
1496
1580
|
"undoRow": "↶ „{card}“ zurückholen",
|
|
1581
|
+
"confirmRow": "Stimmt",
|
|
1582
|
+
"checkRow": "Mit der KI prüfen",
|
|
1497
1583
|
"editRow": "Korrigieren",
|
|
1498
1584
|
"moveRow": "In einen anderen Stapel verschieben",
|
|
1499
1585
|
"deleteRow": "Löschen",
|
|
@@ -1514,6 +1600,118 @@
|
|
|
1514
1600
|
"tourNot": "Die Karten der Tour lassen sich nicht ändern. /add legt einen eigenen Stapel an.",
|
|
1515
1601
|
"editHint": "Vorderseite = Rückseite; andere Antwort // Beispiel",
|
|
1516
1602
|
"whichDeck": "Karten welches Stapels?",
|
|
1517
|
-
"deleteNo": "Behalten"
|
|
1603
|
+
"deleteNo": "Behalten",
|
|
1604
|
+
"aiNote": "✦ Von der KI geschrieben: Prüf die Karte, bevor du sie lernst.",
|
|
1605
|
+
"confirmed": "Geprüft: {card}",
|
|
1606
|
+
"checking": "{provider} prüft die Karte…",
|
|
1607
|
+
"checkOk": "{provider} findet keinen Fehler: {card}",
|
|
1608
|
+
"checkFix": "{provider} schlägt eine Korrektur vor:",
|
|
1609
|
+
"useFix": "Korrektur übernehmen",
|
|
1610
|
+
"keepMine": "Unverändert lassen",
|
|
1611
|
+
"checkUnclear": "Die Antwort von {provider} war nicht lesbar. Versuch es noch mal."
|
|
1612
|
+
},
|
|
1613
|
+
"ai": {
|
|
1614
|
+
"customName": "Andere",
|
|
1615
|
+
"title": "KI-Hilfe",
|
|
1616
|
+
"note": "Optional: Die KI schlägt beim Hinzufügen von Karten Übersetzungen und Beispiele vor. Gesendet werden nur die Karte, die du gerade schreibst, und einige aus demselben Stapel.",
|
|
1617
|
+
"noteWelcome": "Wähl zuerst, wo die KI läuft, danach schlägt sie deinen ersten Stapel vor. Gesendet werden nur die Anfrage und ein paar Karten des Stapels.",
|
|
1618
|
+
"now": "Jetzt: {label}",
|
|
1619
|
+
"current": "aktuell",
|
|
1620
|
+
"free": "kostenlos",
|
|
1621
|
+
"paid": "kostenpflichtig",
|
|
1622
|
+
"yourServer": "dein Server",
|
|
1623
|
+
"small": "klein, günstig",
|
|
1624
|
+
"turnOff": "KI ausschalten",
|
|
1625
|
+
"turnedOff": "KI-Hilfe ist aus. Gespeicherte Schlüssel bleiben: Um einen zu löschen, wähle hier wieder seinen Anbieter.",
|
|
1626
|
+
"providers": {
|
|
1627
|
+
"anthropic": "Claude-Modelle, eigener API-Schlüssel",
|
|
1628
|
+
"openai": "GPT-Modelle, eigener API-Schlüssel",
|
|
1629
|
+
"openrouter": "viele Modelle mit einem Schlüssel",
|
|
1630
|
+
"ollama": "kostenlos, läuft auf diesem Computer",
|
|
1631
|
+
"lmstudio": "kostenlos, läuft auf diesem Computer",
|
|
1632
|
+
"custom": "jede OpenAI-kompatible Adresse"
|
|
1633
|
+
},
|
|
1634
|
+
"urlTitle": "Serveradresse",
|
|
1635
|
+
"urlNote": "Die Adresse einer OpenAI-kompatiblen API, z. B. http://localhost:8080/v1",
|
|
1636
|
+
"badUrl": "Das ist keine Adresse: Sie muss mit http:// oder https:// beginnen.",
|
|
1637
|
+
"keyTitle": "API-Schlüssel für {provider}",
|
|
1638
|
+
"keyTitleCustom": "API-Schlüssel (nur falls der Server einen verlangt)",
|
|
1639
|
+
"keyNote": "Einen Schlüssel bekommst du auf {site}; der Anbieter berechnet dir die Nutzung. Füge ihn hier ein: Er bleibt in deinem Dracosh-Ordner, nur für dich lesbar, und landet nie in Sicherungen oder Exporten. Alternativ setzt du {env} in deiner Shell.",
|
|
1640
|
+
"keyOptional": "Falls der Server einen Schlüssel verlangt, füge ihn ein, sonst drücke Enter.",
|
|
1641
|
+
"needKey": "Füge zuerst den Schlüssel ein (Esc geht zurück).",
|
|
1642
|
+
"keepKey": "Gespeicherten Schlüssel verwenden",
|
|
1643
|
+
"newKey": "Neuen Schlüssel einfügen",
|
|
1644
|
+
"forgetKey": "Gespeicherten Schlüssel löschen",
|
|
1645
|
+
"keyForgotten": "Der gespeicherte Schlüssel ({provider}) ist gelöscht.",
|
|
1646
|
+
"keyFromEnv": "Schlüssel aus {env}.",
|
|
1647
|
+
"localNote": "Verfügbare Modelle unter {url}. Ein kleines Modell ohne Denkphase antwortet am schnellsten.",
|
|
1648
|
+
"modelNote": "Ein kleines, schnelles Modell reicht und kostet wenig.",
|
|
1649
|
+
"noModels": "Keine Modelle zur Auswahl: Gib den Namen eines Modells ein.",
|
|
1650
|
+
"noModelsLocal": "Noch keine Modelle heruntergeladen. Ollama: Führe ollama pull llama3.2 im Terminal aus; LM Studio: Lade eines in der App herunter. Dann komm hierher zurück.",
|
|
1651
|
+
"modelTitle": "Welches Modell?",
|
|
1652
|
+
"loadingModels": "Modelle werden geladen ({provider})…",
|
|
1653
|
+
"typeModel": "Modellnamen eingeben…",
|
|
1654
|
+
"modelNameNote": "Der Name des Modells, wie {provider} ihn schreibt.",
|
|
1655
|
+
"needModel": "Gib zuerst den Modellnamen ein (Esc geht zurück).",
|
|
1656
|
+
"checking": "Prüfe {label}…",
|
|
1657
|
+
"ready": "KI-Hilfe ist an: ✦ {label}",
|
|
1658
|
+
"failedTitle": "{label} funktioniert nicht",
|
|
1659
|
+
"tryAgain": "Noch einmal versuchen",
|
|
1660
|
+
"otherModel": "Anderes Modell wählen",
|
|
1661
|
+
"otherKey": "Anderen Schlüssel verwenden",
|
|
1662
|
+
"errors": {
|
|
1663
|
+
"noKey": "Noch kein Schlüssel für {provider}: Füge ihn unter /settings → KI-Hilfe hinzu oder setze {env}.",
|
|
1664
|
+
"badKey": "{provider} hat den Schlüssel nicht angenommen. Prüfe ihn oder füge einen neuen ein.",
|
|
1665
|
+
"noModel": "{provider} hat kein Modell namens {model}.",
|
|
1666
|
+
"noApi": "Unter {url} antwortet keine OpenAI-kompatible API: Prüfe die Adresse (oft endet sie auf /v1).",
|
|
1667
|
+
"rateLimit": "{provider} meldet zu viele Anfragen: Warte kurz und versuche es erneut.",
|
|
1668
|
+
"noCredit": "{provider}: Dein Guthaben ist aufgebraucht. Lade es auf der Seite des Anbieters auf oder wähl in /settings → KI-Hilfe ein kostenloses lokales Modell.",
|
|
1669
|
+
"offline": "{provider} ist nicht erreichbar ({url}). Bist du online?",
|
|
1670
|
+
"offlineLocal": "Unter {url} antwortet nichts: Läuft {provider}?",
|
|
1671
|
+
"timeout": "{provider} hat zu lange für die Antwort gebraucht.",
|
|
1672
|
+
"server": "{provider} hat ein Problem auf seiner Seite ({status}). Versuche es später noch einmal.",
|
|
1673
|
+
"failed": "{provider} hat die Anfrage abgelehnt ({status}): {detail}",
|
|
1674
|
+
"notJson": "die Antwort war kein JSON"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
"voice": {
|
|
1678
|
+
"title": "Stimme",
|
|
1679
|
+
"note": "Die Stimme, die Wörter vorliest, wenn die Aussprache an ist. ElevenLabs ist optional: Jedes Wort wird einmal erzeugt und auf diesem Computer gespeichert, du zahlst also einmal pro neuer Karte, nicht pro Wiederholung.",
|
|
1680
|
+
"now": "Jetzt: {label}",
|
|
1681
|
+
"system": "Systemstimmen",
|
|
1682
|
+
"systemNote": "kostenlos, ohne Internet",
|
|
1683
|
+
"elevenNote": "natürliche Stimmen, dein Schlüssel, Abrechnung pro Zeichen",
|
|
1684
|
+
"systemSet": "Die Wörter liest wieder eine Systemstimme vor.",
|
|
1685
|
+
"keyTitle": "ElevenLabs-Schlüssel",
|
|
1686
|
+
"keyNote": "Einen Schlüssel bekommst du auf {site}; ElevenLabs berechnet dir die Nutzung. Füge ihn hier ein: Er bleibt in deinem Dracosh-Ordner, nur für dich lesbar, und landet nie in Sicherungen oder Exporten. Alternativ setzt du {env} in deiner Shell.",
|
|
1687
|
+
"pickTitle": "Stimme wählen",
|
|
1688
|
+
"pickNote": "Eine Stimme liest alle deine Stapel vor, in jeder Sprache, die sie spricht. Bevor sie gespeichert wird, hörst du eine kurze Probe.",
|
|
1689
|
+
"loading": "Stimmen werden von ElevenLabs geladen…",
|
|
1690
|
+
"noVoices": "Dein ElevenLabs-Konto hat keine Stimmen zur Auswahl. Füg auf elevenlabs.io eine hinzu und komm dann zurück.",
|
|
1691
|
+
"current": "aktuell",
|
|
1692
|
+
"checking": "Probe wird mit {label} vorgelesen…",
|
|
1693
|
+
"ready": "Die Wörter liest jetzt {label} vor. Sprachen, die diese Stimme nicht kann, bleiben bei den Systemstimmen.",
|
|
1694
|
+
"readyOn": "Aussprache ist an: Die Wörter liest {label} vor. Sprachen, die diese Stimme nicht kann, bleiben bei den Systemstimmen.",
|
|
1695
|
+
"failedTitle": "{label} funktioniert nicht",
|
|
1696
|
+
"otherVoice": "Andere Stimme wählen",
|
|
1697
|
+
"sample": "Hallo! Ich lese dir deine Wörter vor.",
|
|
1698
|
+
"short": {
|
|
1699
|
+
"noKey": "Kein ElevenLabs-Schlüssel: Füg hier einen ein oder setz {env}.",
|
|
1700
|
+
"badKey": "ElevenLabs hat den Schlüssel nicht akzeptiert.",
|
|
1701
|
+
"noCredit": "ElevenLabs: Dein Guthaben ist aufgebraucht. Lade es auf der Seite von ElevenLabs auf.",
|
|
1702
|
+
"noVoice": "ElevenLabs hat diese Stimme nicht mehr: Wähl eine andere."
|
|
1703
|
+
},
|
|
1704
|
+
"errors": {
|
|
1705
|
+
"noKey": "Kein ElevenLabs-Schlüssel: Füg einen in /settings → Stimme hinzu oder setz {env}. Bis dahin lesen Systemstimmen vor.",
|
|
1706
|
+
"badKey": "ElevenLabs hat den Schlüssel nicht akzeptiert. Füg in /settings → Stimme einen neuen ein. Bis dahin lesen Systemstimmen vor.",
|
|
1707
|
+
"noCredit": "ElevenLabs: Dein Guthaben ist aufgebraucht. Lade es auf der Seite von ElevenLabs auf. Bis dahin lesen Systemstimmen vor.",
|
|
1708
|
+
"noVoice": "ElevenLabs hat diese Stimme nicht mehr: Wähl in /settings → Stimme eine andere. Bis dahin lesen Systemstimmen vor.",
|
|
1709
|
+
"rateLimit": "ElevenLabs meldet zu viele Anfragen: Warte kurz und versuch es noch einmal.",
|
|
1710
|
+
"offline": "ElevenLabs ist nicht erreichbar. Bist du online?",
|
|
1711
|
+
"timeout": "ElevenLabs hat zu lange gebraucht.",
|
|
1712
|
+
"server": "ElevenLabs hat ein Problem auf seiner Seite ({status}). Versuch es später noch einmal.",
|
|
1713
|
+
"failed": "ElevenLabs hat die Anfrage abgelehnt ({status}): {detail}",
|
|
1714
|
+
"empty": "die Aufnahme kam leer zurück"
|
|
1715
|
+
}
|
|
1518
1716
|
}
|
|
1519
1717
|
}
|