dracosh 0.4.0 → 0.5.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 +71 -5
- package/locales/de.json +230 -3
- package/locales/en.json +230 -3
- package/locales/fr.json +252 -3
- package/locales/pl.json +274 -3
- package/locales/uk.json +274 -3
- package/package.json +2 -2
- package/src/ankiconnect.js +106 -0
- package/src/apkg.js +472 -0
- package/src/backup.js +12 -1
- package/src/cardline.js +11 -3
- package/src/cardlist.js +381 -0
- package/src/cli.js +11 -0
- package/src/entities.js +40 -0
- package/src/exporter.js +71 -0
- package/src/importer.js +222 -0
- package/src/judge.js +4 -0
- package/src/language.js +6 -0
- package/src/library.js +19 -10
- package/src/sqlite.js +28 -0
- package/src/store.js +11 -6
- package/src/transfer.js +557 -0
- package/src/ui/AddCard.js +18 -25
- package/src/ui/AnswerInput.js +3 -3
- package/src/zip.js +157 -0
package/README.md
CHANGED
|
@@ -16,7 +16,8 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
16
16
|
|
|
17
17
|
- Your cards live in Dracosh's own library, organised in decks; no other app needs to be running
|
|
18
18
|
- Add cards, start decks and switch between them right in the app (`/add`, `/decks`)
|
|
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 and check it before it's saved
|
|
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
|
+
- 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
|
|
20
21
|
- 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`
|
|
21
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 macOS voice (other systems later); decks in one language, like definitions, stay quiet
|
|
22
23
|
- 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
|
|
@@ -32,13 +33,13 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
32
33
|
|
|
33
34
|
## Install
|
|
34
35
|
|
|
35
|
-
You need Node 22 or newer.
|
|
36
|
+
You need Node 22.15 or newer.
|
|
36
37
|
|
|
37
38
|
```bash
|
|
38
39
|
npm install -g dracosh
|
|
39
40
|
```
|
|
40
41
|
|
|
41
|
-
A fresh install starts with a short "Getting started" deck, in the app's language: a tour where every card tells you what to type and shows you one more thing Dracosh can do. When you're through, `/add` starts your own deck and the tour makes room for it.
|
|
42
|
+
A fresh install starts with a short "Getting started" deck, in the app's language: a tour where every card tells you what to type and shows you one more thing Dracosh can do. When you're through, `/add` starts your own deck and the tour makes room for it. Already have cards somewhere else? See [Import and export](#import-and-export).
|
|
42
43
|
|
|
43
44
|
Want a look first? `dracosh --preview` shows every screen and animation on made-up data.
|
|
44
45
|
|
|
@@ -52,6 +53,8 @@ dracosh --stats # print your progress and exit
|
|
|
52
53
|
dracosh --data # show where your cards, progress and backups are kept
|
|
53
54
|
dracosh --preview
|
|
54
55
|
dracosh restore # list your backups; dracosh restore 2 brings one back
|
|
56
|
+
dracosh import words.csv # add cards from a file, see Import and export below
|
|
57
|
+
dracosh export spanish.txt --deck "Spanish"
|
|
55
58
|
```
|
|
56
59
|
|
|
57
60
|
Type the answer and press Enter. Not sure, or the answer is a whole sentence? Press Enter with nothing typed: the answer shows up, then press `1` if you didn't know it or `2` if you did. Press `/` for commands:
|
|
@@ -73,9 +76,73 @@ Type the answer and press Enter. Not sure, or the answer is a whole sentence? Pr
|
|
|
73
76
|
|
|
74
77
|
They're slash commands because "pause" and "quit" are perfectly good English answers.
|
|
75
78
|
|
|
79
|
+
## Import and export
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
dracosh import words.txt # Dracosh lines, see below
|
|
83
|
+
dracosh import spanish.apkg # an Anki deck: shared on AnkiWeb, or File → Export → Anki Deck Package
|
|
84
|
+
dracosh import --anki # straight from a running Anki: pick the decks
|
|
85
|
+
dracosh import anki-export.txt # Anki: File → Export → Notes in Plain Text
|
|
86
|
+
dracosh import quizlet.txt # Quizlet: Export, tab between term and definition
|
|
87
|
+
dracosh import vocabulary.csv # a spreadsheet (Excel's semicolons work too)
|
|
88
|
+
dracosh import words.csv --deck "Spanish"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
An import reads the file, then shows what it found before anything is saved: how it split the columns, which deck the cards go into, the new cards, the ones already there, and every line it can't use, with its line number. Cards already in the deck with other answers are listed as they are now and as the file has them, and you decide whether they're updated (their progress stays). Answers listed the way Anki and Quizlet decks often have them ("cat, kitty") can be taken as separate answers. A new deck asks which way to quiz, as in `/add`, and the last question says exactly what will be added and updated. When you already have cards, a backup is taken first, so `dracosh restore 1` undoes an import. Outside a terminal nothing is written without `--yes`: the preview ends with the command that imports for real. For scripts, `--update` takes the file's version of cards already there and `--split` splits listed answers.
|
|
92
|
+
|
|
93
|
+
A header row (`front,back,example`, `term;definition`) is used to pick the columns, in any order. A file that isn't UTF-8 is never guessed at: Dracosh shows its first line read each likely way and asks for `--encoding`.
|
|
94
|
+
|
|
95
|
+
An Anki package (`.apkg`, or a whole collection's `.colpkg`) goes the same way, whatever language Anki was set up in. Cloze notes become cards with gaps (with a gap's hint), a deck with reverse cards asks both ways, the front is what the note's card asks, and the answer and an example are found by the fields' names (Meaning, English, Sentence…). Tags come along; subdecks become decks of their own. Pictures and sounds stay out, cards that are only a picture or a sound are listed as left out, and progress in Anki isn't brought over.
|
|
96
|
+
|
|
97
|
+
`--anki` talks to a running Anki through the [AnkiConnect](https://ankiweb.net/shared/info/2055492159) add-on (in Anki: Tools → Add-ons → Get Add-ons…, code 2055492159). `dracosh import --anki` lists your Anki decks to pick from (or name one: `--anki "Spanish"`), and `dracosh export --anki` sends your decks into Anki. Cards that came from Anki aren't sent back: Anki has them already. If AnkiConnect is set to ask for a key, put it in `DRACOSH_ANKI_KEY`.
|
|
98
|
+
|
|
99
|
+
| Export | What you get |
|
|
100
|
+
| --- | --- |
|
|
101
|
+
| `dracosh export spanish.apkg` | for Anki: open it (double-click, or File → Import) and the decks are there, in an Anki set up in any language. It brings two note types of its own, Dracosh and Dracosh Cloze, with the example in a field of its own and a card for each way the deck asks. Export again after changing cards and Anki updates the same notes instead of adding them twice. Progress isn't carried over: the cards start as new |
|
|
102
|
+
| `dracosh export --anki` | straight into a running Anki, the same as opening an `.apkg` there (it asks first) |
|
|
103
|
+
| `dracosh export spanish.txt` | Dracosh lines: easy to read and edit, and `dracosh import` reads them back unchanged |
|
|
104
|
+
| `dracosh export spanish.tsv` | Anki's plain text, for other apps or when you want Anki's own note types: File → Import; cloze cards go into `spanish-cloze.tsv` next to it, as Anki keeps the two note types apart. If your Anki isn't in English, pick its Basic and Cloze note types in the import dialog |
|
|
105
|
+
| `dracosh export spanish.csv` | for a spreadsheet: front, back, example (and deck) |
|
|
106
|
+
| `dracosh export everything.json` | all your cards, progress and settings; `dracosh import everything.json` brings them back, on another computer too |
|
|
107
|
+
|
|
108
|
+
Add `--deck "Spanish"` for one deck; without it you get all of them. `.txt`, `.json` and `.apkg` keep how each deck asks; a `.csv` or `.tsv` holds just the cards. An export never writes into Dracosh's own folder.
|
|
109
|
+
|
|
110
|
+
### The Dracosh text format
|
|
111
|
+
|
|
112
|
+
The same line as in `/add`, one card per line:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
# lines starting with # are comments
|
|
116
|
+
#deck:Spanish
|
|
117
|
+
#direction:forward
|
|
118
|
+
el gato = the cat; the kitty // Mi gato duerme.
|
|
119
|
+
la casa = the house
|
|
120
|
+
Me {{gusta}} el café. = I like coffee
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
`;` separates right answers, `//` starts an example, and `{{ }}` makes a gap to fill in; a card with gaps needs nothing after `=`, and what's there is a hint shown with the gap. `#deck:` puts the cards below it into that deck (it can come again for the next one), and `#direction:` under it says how a new deck asks: `forward`, `backward` or `both`. To use one of these characters as plain text, put a backslash before it: `\=`, `\;`, `\//`, `\{{`, and `\#` at the start of a line.
|
|
124
|
+
|
|
125
|
+
### Write a deck with your AI assistant
|
|
126
|
+
|
|
127
|
+
An AI coding assistant (Claude Code, Codex and the like) can write such a file from your notes, a textbook chapter or a word list, no API key needed. A prompt to start from:
|
|
128
|
+
|
|
129
|
+
```text
|
|
130
|
+
Make a Dracosh deck from <your notes, a topic, a list of words>.
|
|
131
|
+
Write it to cards.txt in this format, one card per line:
|
|
132
|
+
front = answer; another accepted answer // an example sentence
|
|
133
|
+
Start the file with #deck:<deck name, with the language in it> and #direction:both.
|
|
134
|
+
Put the language I'm learning before =, nouns with their article: der Löffel = the spoon
|
|
135
|
+
Keep answers short: no notes in brackets, no plurals; extra information goes after //.
|
|
136
|
+
For a sentence, put {{ }} around one part to fill in; after = comes a hint, not answers:
|
|
137
|
+
Me {{gusta}} el café. = I like coffee
|
|
138
|
+
Plain text only: no markdown, numbering or bullets.
|
|
139
|
+
Then run `dracosh import cards.txt`: it changes nothing yet, it shows how it read the file.
|
|
140
|
+
Fix the lines it lists, and tell me the command to import it for real.
|
|
141
|
+
```
|
|
142
|
+
|
|
76
143
|
## Your data
|
|
77
144
|
|
|
78
|
-
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. To use Dracosh on two computers, put that folder somewhere synced and point `DRACOSH_HOME` at it.
|
|
145
|
+
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. 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.
|
|
79
146
|
|
|
80
147
|
Sounds currently play on macOS only.
|
|
81
148
|
|
|
@@ -97,7 +164,6 @@ The other languages live next to it in `locales/`, the tour included. `npm test`
|
|
|
97
164
|
|
|
98
165
|
Coming next, roughly in this order:
|
|
99
166
|
|
|
100
|
-
- Import and export: Anki (plain-text exports and `.apkg` decks from AnkiWeb), CSV, JSON and pasted lists, and export back to Anki.
|
|
101
167
|
- Decks and cards in the app: browse, edit and delete with undo, plus a welcome flow for new users.
|
|
102
168
|
- Optional AI help for writing cards, with your own API key or a local model.
|
|
103
169
|
- Linux and Windows, pronunciation there included.
|
package/locales/de.json
CHANGED
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"slashSwitch": "„{text}“ müsste getippt werden, und im Quiz öffnet / die Befehle. Ändere zuerst diese Karte."
|
|
715
715
|
},
|
|
716
716
|
"cli": {
|
|
717
|
-
"help": "Dracosh: ein Vokabel- und Quiztrainer für dein Terminal\n\nAufruf: dracosh [Optionen]\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 --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 -y, --yes ohne Nachfrage
|
|
717
|
+
"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.",
|
|
718
718
|
"badEvery": "Ungültiges --every „{value}“. Nutze z. B. 30s, 10m, 1h.",
|
|
719
719
|
"badVolume": "Ungültiges --volume „{value}“. Nutze eine Zahl von 0 bis 1.",
|
|
720
720
|
"unknownCommand": "Unbekannter Befehl „{command}“. Siehe dracosh --help.",
|
|
@@ -768,13 +768,16 @@
|
|
|
768
768
|
"daily": "täglich",
|
|
769
769
|
"before-reset": "vor Reset",
|
|
770
770
|
"before-delete": "vor Löschen",
|
|
771
|
-
"before-restore": "vor Wiederherstellen"
|
|
771
|
+
"before-restore": "vor Wiederherstellen",
|
|
772
|
+
"before-import": "vor Import"
|
|
772
773
|
}
|
|
773
774
|
},
|
|
774
775
|
"backups": {
|
|
775
776
|
"one": "{count} Sicherung",
|
|
776
777
|
"other": "{count} Sicherungen"
|
|
777
|
-
}
|
|
778
|
+
},
|
|
779
|
+
"unknownOption": "Unbekannte Option {option}. Siehe dracosh --help.",
|
|
780
|
+
"oneFile": "dracosh {command} nimmt eine Datei auf einmal."
|
|
778
781
|
},
|
|
779
782
|
"tips": {
|
|
780
783
|
"keys-enter": {
|
|
@@ -1094,5 +1097,229 @@
|
|
|
1094
1097
|
"learningArticles": "Ein fehlender oder falscher Artikel darin zählt als „fast“.",
|
|
1095
1098
|
"savedWithLearning": "Sprachen von „{deck}“: {pair}, Lernsprache: {language}.",
|
|
1096
1099
|
"learningUmlauts": "Im Deutschen auch ein weggelassener Umlaut."
|
|
1100
|
+
},
|
|
1101
|
+
"import": {
|
|
1102
|
+
"needFile": "Welche Datei? dracosh import <Datei> (oder -, um die Karten von der Standardeingabe zu lesen)",
|
|
1103
|
+
"noFile": "Die Datei {file} gibt es nicht.",
|
|
1104
|
+
"unknownEncoding": "Unbekannte Kodierung „{encoding}“. Versuch utf-8, utf-16, windows-1250 oder windows-1252.",
|
|
1105
|
+
"notUtf8": "{file} ist nicht als UTF-8 gespeichert. Hier ist die erste Zeile mit Sonderzeichen, in jeder wahrscheinlichen Kodierung gelesen:",
|
|
1106
|
+
"notUtf8Hint": "Starte den Import noch einmal mit der, die richtig aussieht, oder speichere die Datei als UTF-8 (in Excel: CSV UTF-8).",
|
|
1107
|
+
"stdin": "Standardeingabe",
|
|
1108
|
+
"reading": "Lese {file}: {what}",
|
|
1109
|
+
"encoding": " (gelesen als {encoding})",
|
|
1110
|
+
"formats": {
|
|
1111
|
+
"lines": "Dracosh-Zeilen (Vorderseite = Antwort; andere Antwort // Beispiel)",
|
|
1112
|
+
"dashes": "eine Liste mit Bindestrichen (Vorderseite - Antwort)",
|
|
1113
|
+
"table": "eine Tabelle, getrennt durch {separator}; Spalten: {columns}",
|
|
1114
|
+
"apkg": "ein Anki-Paket"
|
|
1115
|
+
},
|
|
1116
|
+
"separators": {
|
|
1117
|
+
"tab": "Tabs",
|
|
1118
|
+
"comma": "Kommas",
|
|
1119
|
+
"semicolon": "Semikolons",
|
|
1120
|
+
"pipe": "„|“",
|
|
1121
|
+
"colon": "Doppelpunkte",
|
|
1122
|
+
"space": "Leerzeichen"
|
|
1123
|
+
},
|
|
1124
|
+
"column": "{number} {role}",
|
|
1125
|
+
"roles": {
|
|
1126
|
+
"front": "Vorderseite",
|
|
1127
|
+
"back": "Antwort",
|
|
1128
|
+
"example": "Beispiel",
|
|
1129
|
+
"deck": "Stapel"
|
|
1130
|
+
},
|
|
1131
|
+
"empty": "Darin sind keine Karten.",
|
|
1132
|
+
"yourDecks": "Deine Stapel: {decks}",
|
|
1133
|
+
"askDeck": "In welchen Stapel? Enter legt einen neuen Stapel „{deck}“ an, oder tippe einen Namen: ",
|
|
1134
|
+
"askDeckEmpty": "In welchen Stapel? Tippe einen Namen: ",
|
|
1135
|
+
"needDeck": "Sag, in welchen Stapel die Karten kommen: dracosh import - --deck <Name>",
|
|
1136
|
+
"intoDeck": "In {deck} (jetzt {cards}):",
|
|
1137
|
+
"intoNewDeck": "In einen neuen Stapel, {deck}:",
|
|
1138
|
+
"more": {
|
|
1139
|
+
"one": "… und 1 weitere",
|
|
1140
|
+
"other": "… und {count} weitere"
|
|
1141
|
+
},
|
|
1142
|
+
"counts": {
|
|
1143
|
+
"new": {
|
|
1144
|
+
"one": "1 neue Karte",
|
|
1145
|
+
"other": "{count} neue Karten"
|
|
1146
|
+
},
|
|
1147
|
+
"same": {
|
|
1148
|
+
"one": "1 schon vorhanden",
|
|
1149
|
+
"other": "{count} schon vorhanden"
|
|
1150
|
+
},
|
|
1151
|
+
"changed": {
|
|
1152
|
+
"one": "1 schon vorhanden, in der Datei anders",
|
|
1153
|
+
"other": "{count} schon vorhanden, in der Datei anders"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
"problems": {
|
|
1157
|
+
"one": "1 Zeile kann nicht hinzugefügt werden:",
|
|
1158
|
+
"other": "{count} Zeilen können nicht hinzugefügt werden:"
|
|
1159
|
+
},
|
|
1160
|
+
"issues": {
|
|
1161
|
+
"noFront": "keine Vorderseite",
|
|
1162
|
+
"noBack": "keine Antwort",
|
|
1163
|
+
"noDeck": "kein Stapel",
|
|
1164
|
+
"twice": "auch in Zeile {line}",
|
|
1165
|
+
"slash": "eine Antwort beginnt mit /",
|
|
1166
|
+
"tooLong": "der Stapelname „{deck}“ ist länger als {max} Zeichen: Wähle einen mit --deck",
|
|
1167
|
+
"tour": "„{deck}“ ist der Einführungsstapel: nimm einen anderen Namen",
|
|
1168
|
+
"noSeparator": "kein „ = “ zwischen Vorderseite und Antwort",
|
|
1169
|
+
"badDirection": "keine Richtung: Nimm forward, backward oder both",
|
|
1170
|
+
"twiceNote": "zweimal im Paket",
|
|
1171
|
+
"picture": "ein Bild mit verdeckten Teilen (Bildverdeckung)",
|
|
1172
|
+
"mediaOnly": "nur ein Bild oder ein Ton, kein Text zum Abfragen"
|
|
1173
|
+
},
|
|
1174
|
+
"ignored": {
|
|
1175
|
+
"one": "1 Zeile hat Text in einer Spalte, die nicht gelesen wird (Zeile {lines}): nur Vorderseite, Antwort und Beispiel.",
|
|
1176
|
+
"other": "{count} Zeilen haben Text in Spalten, die nicht gelesen werden (Zeilen {lines}): nur Vorderseite, Antwort und Beispiel."
|
|
1177
|
+
},
|
|
1178
|
+
"changedTitle": {
|
|
1179
|
+
"one": "1 Karte ist schon da, die Datei hat sie anders (jetzt → in der Datei):",
|
|
1180
|
+
"other": "{count} Karten sind schon da, die Datei hat sie anders (jetzt → in der Datei):"
|
|
1181
|
+
},
|
|
1182
|
+
"updateAsk": {
|
|
1183
|
+
"one": "Auf die Version aus der Datei bringen? Der Fortschritt bleibt.",
|
|
1184
|
+
"other": "Diese {count} auf die Version aus der Datei bringen? Der Fortschritt bleibt."
|
|
1185
|
+
},
|
|
1186
|
+
"changedLeft": "Sie bleiben, wie sie sind (--update übernimmt die Version aus der Datei).",
|
|
1187
|
+
"nothing": "Nichts hinzuzufügen: Die Karten sind schon da oder können so nicht hinzugefügt werden.",
|
|
1188
|
+
"directionTitle": "Wie soll {deck} abfragen?",
|
|
1189
|
+
"directionAsk": "Wähle 1, 2 oder 3 (Enter: 1): ",
|
|
1190
|
+
"askSuffix": "[J/n]",
|
|
1191
|
+
"doneNew": {
|
|
1192
|
+
"one": "Stapel {deck} mit 1 Karte angelegt.",
|
|
1193
|
+
"other": "Stapel {deck} mit {count} Karten angelegt."
|
|
1194
|
+
},
|
|
1195
|
+
"done": {
|
|
1196
|
+
"one": "1 Karte zu {deck} hinzugefügt.",
|
|
1197
|
+
"other": "{count} Karten zu {deck} hinzugefügt."
|
|
1198
|
+
},
|
|
1199
|
+
"doneUpdated": {
|
|
1200
|
+
"one": " 1 aktualisiert.",
|
|
1201
|
+
"other": " {count} aktualisiert."
|
|
1202
|
+
},
|
|
1203
|
+
"doneOnlyUpdated": {
|
|
1204
|
+
"one": "1 Karte in {deck} aktualisiert.",
|
|
1205
|
+
"other": "{count} Karten in {deck} aktualisiert."
|
|
1206
|
+
},
|
|
1207
|
+
"undo": "Rückgängig mit „dracosh restore 1“ (die eben angelegte Sicherung).",
|
|
1208
|
+
"start": "Üben mit: dracosh --deck {deck}",
|
|
1209
|
+
"inDecks": "Dracosh läuft: Die neuen Karten sind in /decks.",
|
|
1210
|
+
"backupFile": "{file} ist eine vollständige Dracosh-Sicherung: Sie holt die Karten, den Fortschritt und die Einstellungen darin zurück.",
|
|
1211
|
+
"backupAsk": "Zurückholen?",
|
|
1212
|
+
"askDeckYours": "In welchen Stapel? Enter: {deck} (deiner, {cards}), oder tippe einen Namen: ",
|
|
1213
|
+
"listed": {
|
|
1214
|
+
"one": "1 Antwort nennt mehrere, z. B. „{example}“.",
|
|
1215
|
+
"other": "{count} Antworten nennen mehrere, z. B. „{example}“."
|
|
1216
|
+
},
|
|
1217
|
+
"splitAsk": "Jede als eigene Antwort nehmen?",
|
|
1218
|
+
"splitHint": "Sie bleiben je eine Antwort, wie geschrieben (--split trennt sie).",
|
|
1219
|
+
"directionTitleMany": "Wie sollen die {count} neuen Stapel abfragen?",
|
|
1220
|
+
"previewOnly": "Nur eine Vorschau, nichts gespeichert. Zum Importieren: {command}",
|
|
1221
|
+
"confirmAdd": {
|
|
1222
|
+
"one": "1 Karte hinzufügen?",
|
|
1223
|
+
"other": "{count} Karten hinzufügen?"
|
|
1224
|
+
},
|
|
1225
|
+
"confirmUpdate": {
|
|
1226
|
+
"one": "1 Karte aktualisieren?",
|
|
1227
|
+
"other": "{count} Karten aktualisieren?"
|
|
1228
|
+
},
|
|
1229
|
+
"confirmBoth": {
|
|
1230
|
+
"one": "{cards} hinzufügen und 1 aktualisieren?",
|
|
1231
|
+
"other": "{cards} hinzufügen und {count} aktualisieren?"
|
|
1232
|
+
},
|
|
1233
|
+
"tourGone": "Die Einführung hat Platz für deinen eigenen Stapel gemacht.",
|
|
1234
|
+
"badSeparator": "Unbekanntes Trennzeichen „{value}“: Nimm tab, comma, semicolon, pipe, colon, space oder ein Zeichen.",
|
|
1235
|
+
"languagesGuess": "Sprachen: {front} → {back} (geraten; änderbar in /decks)",
|
|
1236
|
+
"languagesUnsure": "Sprachen: noch unklar (einstellbar in /decks)",
|
|
1237
|
+
"ankiNoHtml": "Dieser Anki-Export hat kein HTML, daher laufen Antwort und Beispiel ineinander: Exportiere noch einmal mit eingeschalteter HTML-Option.",
|
|
1238
|
+
"no": "n|nein|no",
|
|
1239
|
+
"isFolder": "{file} ist ein Ordner: Nenne eine Datei darin.",
|
|
1240
|
+
"noPermission": "Dracosh darf {file} nicht lesen.",
|
|
1241
|
+
"tooBig": "{file} ist größer als {max} MB: Das ist kein Stapel. Teile die Datei, oder prüfe, ob es die richtige ist.",
|
|
1242
|
+
"notText": "{file} ist keine Textdatei. Dracosh importiert Text (Dracosh-Zeilen, CSV, TSV, Textexporte aus Anki und Quizlet) und Anki-Pakete (.apkg, .colpkg).",
|
|
1243
|
+
"problemLine": "Zeile {line} {issue}: {text}",
|
|
1244
|
+
"backupReplaces": "Sie ersetzt, was du jetzt hast ({decks} · {cards}).",
|
|
1245
|
+
"mediaLeft": {
|
|
1246
|
+
"one": "1 Notiz hat Bilder oder Töne; nur ihr Text wird importiert.",
|
|
1247
|
+
"other": "{count} Notizen haben Bilder oder Töne; nur ihr Text wird importiert."
|
|
1248
|
+
},
|
|
1249
|
+
"problemsNotes": {
|
|
1250
|
+
"one": "1 Notiz kann nicht hinzugefügt werden:",
|
|
1251
|
+
"other": "{count} Notizen können nicht hinzugefügt werden:"
|
|
1252
|
+
},
|
|
1253
|
+
"problemNote": "{issue}: {text}",
|
|
1254
|
+
"notAnki": "{file} ist kein Anki-Paket, das Dracosh lesen kann. In Anki erstellst du eins über Datei → Exportieren → Anki-Stapelpaket (.apkg).",
|
|
1255
|
+
"needsNode": "Ein Anki-Paket zu lesen braucht Node {version} oder neuer (installiert ist {current}). Aktualisiere Node oder exportiere den Stapel in Anki als „Notizen als einfache Textdatei“ und importiere diese Datei.",
|
|
1256
|
+
"subdecks": "Unterstapel aus Anki werden hier eigene Stapel, z. B. „{deck}“.",
|
|
1257
|
+
"hint": "(Hinweis: {hint})",
|
|
1258
|
+
"notForPackage": "--separator und --encoding gelten für Textdateien: Ein Anki-Paket braucht sie nicht.",
|
|
1259
|
+
"anki": {
|
|
1260
|
+
"empty": "In Anki gibt es keine Karten zum Übernehmen.",
|
|
1261
|
+
"noDeck": "Anki hat keinen Stapel „{deck}“ mit Karten. Seine Stapel: {decks}",
|
|
1262
|
+
"yourDecks": "Deine Stapel in Anki:",
|
|
1263
|
+
"which": "Welche? Nummern wie 1 3, oder Enter für alle: ",
|
|
1264
|
+
"asking": "Hole {deck} aus Anki …",
|
|
1265
|
+
"read": "Aus Anki: {decks}"
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
"export": {
|
|
1269
|
+
"needFile": "Wohin? dracosh export <Datei>: .apkg (Anki), .txt (Dracosh), .tsv (Anki-Text), .csv oder .json (alles)",
|
|
1270
|
+
"unknownFormat": "{file}: Das Format ergibt sich aus der Dateiendung: .apkg (Anki), .txt (Dracosh), .tsv (Anki-Text), .csv oder .json (alles).",
|
|
1271
|
+
"needsNode": "Ein Anki-Paket braucht Node {version} oder neuer (installiert ist {current}). Aktualisiere Node oder exportiere stattdessen als .tsv.",
|
|
1272
|
+
"jsonAll": "Ein .json-Export enthält alles (alle Stapel, Fortschritt und Einstellungen): Lass --deck weg.",
|
|
1273
|
+
"noDecks": "Noch keine eigenen Stapel zum Exportieren.",
|
|
1274
|
+
"exists": "{file} gibt es schon. Überschreiben?",
|
|
1275
|
+
"existsNeedsYes": "{file} gibt es schon: Füge --yes hinzu, um sie zu überschreiben.",
|
|
1276
|
+
"wrote": {
|
|
1277
|
+
"one": "1 Karte in {file} geschrieben.",
|
|
1278
|
+
"other": "{count} Karten in {file} geschrieben."
|
|
1279
|
+
},
|
|
1280
|
+
"wroteAll": "Karten, Fortschritt und Einstellungen in {file} geschrieben.",
|
|
1281
|
+
"next": {
|
|
1282
|
+
"txt": "Zurück einlesen mit: dracosh import {file}",
|
|
1283
|
+
"apkg": "In Anki: {file} doppelklicken oder Datei → Importieren. Ein späterer Export aktualisiert dieselben Notizen.",
|
|
1284
|
+
"tsv": "In Anki: Datei → Importieren, {file} wählen und prüfen, dass der Notiztyp Einfach ist.",
|
|
1285
|
+
"csv": "Öffnet sich in jeder Tabellenkalkulation; dracosh import {file} liest sie wieder ein.",
|
|
1286
|
+
"json": "dracosh import {file} holt alles zurück, auf diesem oder einem anderen Computer."
|
|
1287
|
+
},
|
|
1288
|
+
"fileHeader": "Dracosh-Karten, {date}. Eine Karte pro Zeile: Vorderseite = Antwort; andere Antwort // Beispiel",
|
|
1289
|
+
"fileHowTo": "Zurück einlesen mit: dracosh import <diese Datei>",
|
|
1290
|
+
"inData": "Das ist Dracoshs eigener Ordner ({home}): Exportiere woandershin, damit dort nichts überschrieben wird.",
|
|
1291
|
+
"cantWrite": "{file} kann nicht geschrieben werden: {error}",
|
|
1292
|
+
"noFolder": "diesen Ordner gibt es nicht",
|
|
1293
|
+
"wroteCloze": {
|
|
1294
|
+
"one": "1 Lückentextkarte in {file} geschrieben.",
|
|
1295
|
+
"other": "{count} Lückentextkarten in {file} geschrieben."
|
|
1296
|
+
},
|
|
1297
|
+
"nextCloze": "Importiere sie genauso in Anki, mit dem Notiztyp Lückentext: Anki hält die beiden Arten getrennt.",
|
|
1298
|
+
"anki": {
|
|
1299
|
+
"noFile": "--anki schickt die Karten direkt an Anki, ohne Datei: dracosh export --anki, oder --deck <Name> für einen Stapel dazu.",
|
|
1300
|
+
"needsYes": "Das Senden an Anki ändert deine Anki-Sammlung: Füge --yes hinzu, um es ohne Nachfrage zu tun.",
|
|
1301
|
+
"ask": "An Anki senden: {cards} ({decks})?",
|
|
1302
|
+
"sent": "An Anki gesendet: {cards} ({decks}). Notizen aus Dracosh, die Anki schon hatte, sind aktualisiert.",
|
|
1303
|
+
"fromAnki": {
|
|
1304
|
+
"one": "1 Karte stammt aus Anki und bleibt draußen: Anki hat sie schon.",
|
|
1305
|
+
"other": "{count} Karten stammen aus Anki und bleiben draußen: Anki hat sie schon."
|
|
1306
|
+
},
|
|
1307
|
+
"nothingNew": "Nichts zu senden: Alle diese Karten stammen aus Anki, das sie schon hat.",
|
|
1308
|
+
"changedNoteType": "Der Notiztyp {type} hat in Anki jetzt andere Felder ({fields}): Seine Notizen zu aktualisieren, würde deren Inhalt verlieren. Nichts wurde gesendet. Um beides zu behalten, exportiere in eine Datei (dracosh export karten.apkg) und importiere sie in Anki."
|
|
1309
|
+
},
|
|
1310
|
+
"fromAnkiCopies": {
|
|
1311
|
+
"one": "1 Karte darin stammt aus Anki: In dasselbe Anki importiert, ist sie eine zweite Kopie.",
|
|
1312
|
+
"other": "{count} Karten darin stammen aus Anki: In dasselbe Anki importiert, sind sie eine zweite Kopie."
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"anki": {
|
|
1316
|
+
"notRunning": "Anki antwortet nicht. Öffne Anki mit der Erweiterung AnkiConnect (Extras → Erweiterungen → Erweiterungen herunterladen …, Code 2055492159, dann Anki neu starten) und versuche es noch einmal.",
|
|
1317
|
+
"old": "Dieses AnkiConnect ist zu alt für Dracosh: in Anki Extras → Erweiterungen → Nach Aktualisierungen suchen.",
|
|
1318
|
+
"key": "AnkiConnect verlangt seinen API-Schlüssel: Starte das noch einmal mit gesetztem DRACOSH_ANKI_KEY.",
|
|
1319
|
+
"said": "Anki sagt: {detail}",
|
|
1320
|
+
"busy": "Anki hat die Verbindung angenommen, antwortet aber nicht: Es ist vielleicht beschäftigt (Synchronisieren, Datenbank prüfen) oder schläft im Hintergrund. Hole Anki nach vorn und versuche es noch einmal.",
|
|
1321
|
+
"badUrl": "DRACOSH_ANKI_URL ist keine Adresse, die Dracosh nutzen kann ({detail}): Sie sieht aus wie http://127.0.0.1:8765.",
|
|
1322
|
+
"noDeck": "Anki hat keinen Stapel „{detail}“ mehr.",
|
|
1323
|
+
"notImported": "Anki hat die Karten nicht angenommen: Nichts wurde gesendet."
|
|
1097
1324
|
}
|
|
1098
1325
|
}
|