dracosh 0.4.0 → 0.6.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 +74 -8
- package/locales/de.json +248 -15
- package/locales/en.json +248 -15
- package/locales/fr.json +272 -16
- package/locales/pl.json +294 -15
- package/locales/uk.json +297 -18
- package/package.json +4 -3
- package/src/ankiconnect.js +106 -0
- package/src/apkg.js +472 -0
- package/src/backup.js +22 -2
- package/src/cardline.js +11 -3
- package/src/cardlist.js +381 -0
- package/src/cli.js +18 -4
- package/src/entities.js +40 -0
- package/src/exporter.js +71 -0
- package/src/importer.js +222 -0
- package/src/judge.js +5 -1
- package/src/language.js +6 -0
- package/src/library.js +20 -11
- package/src/progress.js +4 -4
- package/src/scheduler.js +107 -15
- package/src/session.js +21 -11
- package/src/sqlite.js +28 -0
- package/src/store.js +32 -9
- package/src/transfer.js +557 -0
- package/src/ui/AddCard.js +18 -25
- package/src/ui/AnswerInput.js +3 -3
- package/src/ui/App.js +9 -3
- package/src/ui/Help.js +2 -3
- package/src/zip.js +157 -0
package/locales/en.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"hint": "Reveal another letter (the card
|
|
3
|
+
"hint": "Reveal another letter (the card comes back sooner)",
|
|
4
4
|
"add": "Add cards to a deck, or start a new one",
|
|
5
5
|
"decks": "Switch to another deck, or start a new one",
|
|
6
6
|
"settings": "Language, rhythm, interval, quiet hours, sound, goal, tips",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"gradeWhat": "after the answer is shown: didn't know (or Esc) / knew it"
|
|
37
37
|
},
|
|
38
38
|
"how": {
|
|
39
|
-
"
|
|
40
|
-
"typos": "One wrong letter in a longer word still counts, and you see the right spelling.",
|
|
39
|
+
"spacing": "Every card gets its own spacing: the better you know it, the longer it waits, from days to months. A miss brings it back in 10 minutes.",
|
|
40
|
+
"typos": "One wrong letter in a longer word still counts, and you see the right spelling. The card comes back a little sooner, as with a hint.",
|
|
41
41
|
"streak": "Reach your daily goal to keep your streak going; a day where you did every card there was counts too. Your dragon grows with your best streak.",
|
|
42
42
|
"freezes": "A freeze covers a day you missed. You start with {max} and get one back each week, {max} at most.",
|
|
43
43
|
"cards": "In /add a line is a card: kot = cat; kitty // example. Braces make a gap to fill in: I {{look forward}} to it."
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
"quiz": {
|
|
281
281
|
"youWrote": "you wrote ",
|
|
282
282
|
"closeEnough": " (close enough)",
|
|
283
|
-
"hintUsed": "hint used
|
|
283
|
+
"hintUsed": "hint used",
|
|
284
284
|
"countedCorrect": "counted as correct",
|
|
285
285
|
"acceptedFromNow": " · \"{answer}\" is accepted from now on",
|
|
286
286
|
"tip": "tip · {cat}",
|
|
@@ -335,9 +335,14 @@
|
|
|
335
335
|
"umlaut": "Almost: mind the umlaut (ä, ö, ü); ae, oe, ue work too.",
|
|
336
336
|
"article-umlaut": "Almost: mind the article and the umlaut; ae, oe, ue work too.",
|
|
337
337
|
"held": "The card comes back {now}, not {would}.",
|
|
338
|
+
"soon": "in a few minutes",
|
|
338
339
|
"days": {
|
|
339
340
|
"one": "tomorrow",
|
|
340
341
|
"other": "in {count} days"
|
|
342
|
+
},
|
|
343
|
+
"months": {
|
|
344
|
+
"one": "in about a month",
|
|
345
|
+
"other": "in about {count} months"
|
|
341
346
|
}
|
|
342
347
|
}
|
|
343
348
|
},
|
|
@@ -696,13 +701,13 @@
|
|
|
696
701
|
"cardDeck": "a card in a deck that doesn't exist",
|
|
697
702
|
"cardIds": "two cards with the same id",
|
|
698
703
|
"noProgress": "no progress in it",
|
|
699
|
-
"progressEntry": "a card without its
|
|
704
|
+
"progressEntry": "a card without its review date",
|
|
700
705
|
"streak": "the streak and badges are unreadable"
|
|
701
706
|
},
|
|
702
707
|
"slashSwitch": "\"{text}\" would have to be typed, and in the quiz / opens the commands. Change that card first."
|
|
703
708
|
},
|
|
704
709
|
"cli": {
|
|
705
|
-
"help": "Dracosh: a vocabulary and quiz trainer for your terminal\n\nUsage: dracosh [options]\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 --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 -y, --yes 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.",
|
|
710
|
+
"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.",
|
|
706
711
|
"badEvery": "Invalid --every \"{value}\". Use e.g. 30s, 10m, 1h.",
|
|
707
712
|
"badVolume": "Invalid --volume \"{value}\". Use a number from 0 to 1.",
|
|
708
713
|
"unknownCommand": "Unknown command \"{command}\". See dracosh --help.",
|
|
@@ -717,7 +722,7 @@
|
|
|
717
722
|
"goalReached": " ✓ goal reached",
|
|
718
723
|
"badges": "Badges {unlocked}/{total} · {mastered} cards mastered · companion: {companion}",
|
|
719
724
|
"practised": "{count} cards practised, {correct}/{total} correct ({percent}%)",
|
|
720
|
-
"
|
|
725
|
+
"spread": "learning: {learning} · under a week: {week} · under a month: {month} · a month or more: {mastered}"
|
|
721
726
|
},
|
|
722
727
|
"data": {
|
|
723
728
|
"where": "Dracosh keeps everything in {home}",
|
|
@@ -753,13 +758,17 @@
|
|
|
753
758
|
"daily": "daily",
|
|
754
759
|
"before-reset": "before reset",
|
|
755
760
|
"before-delete": "before delete",
|
|
756
|
-
"before-restore": "before restore"
|
|
761
|
+
"before-restore": "before restore",
|
|
762
|
+
"before-import": "before import",
|
|
763
|
+
"before-upgrade": "before upgrade"
|
|
757
764
|
}
|
|
758
765
|
},
|
|
759
766
|
"backups": {
|
|
760
767
|
"one": "{count} backup",
|
|
761
768
|
"other": "{count} backups"
|
|
762
|
-
}
|
|
769
|
+
},
|
|
770
|
+
"unknownOption": "Unknown option {option}. See dracosh --help.",
|
|
771
|
+
"oneFile": "dracosh {command} takes one file at a time."
|
|
763
772
|
},
|
|
764
773
|
"tips": {
|
|
765
774
|
"keys-enter": {
|
|
@@ -790,17 +799,17 @@
|
|
|
790
799
|
"cat": "Cards",
|
|
791
800
|
"text": "One wrong letter in a longer word still counts as right. Dracosh shows you the correct spelling."
|
|
792
801
|
},
|
|
793
|
-
"cards-
|
|
802
|
+
"cards-spacing": {
|
|
794
803
|
"cat": "Cards",
|
|
795
|
-
"text": "
|
|
804
|
+
"text": "Each card gets its own spacing: one you know well waits weeks, a tricky one comes back sooner."
|
|
796
805
|
},
|
|
797
806
|
"cards-miss": {
|
|
798
807
|
"cat": "Cards",
|
|
799
|
-
"text": "A missed card
|
|
808
|
+
"text": "A missed card comes back within minutes, until it sticks."
|
|
800
809
|
},
|
|
801
810
|
"cards-hint": {
|
|
802
811
|
"cat": "Cards",
|
|
803
|
-
"text": "Stuck on a card? /hint reveals one more letter. The card still counts, but
|
|
812
|
+
"text": "Stuck on a card? /hint reveals one more letter. The card still counts, but comes back sooner."
|
|
804
813
|
},
|
|
805
814
|
"cards-correct": {
|
|
806
815
|
"cat": "Cards",
|
|
@@ -1001,14 +1010,14 @@
|
|
|
1001
1010
|
"4",
|
|
1002
1011
|
"four"
|
|
1003
1012
|
],
|
|
1004
|
-
"example": "Every right answer
|
|
1013
|
+
"example": "Every right answer sends a card further off, so you see it less and less often."
|
|
1005
1014
|
},
|
|
1006
1015
|
{
|
|
1007
1016
|
"front": "Stuck? Type `/hint` and press Enter, and the answer shows up letter by letter. Try it, then type `apple`",
|
|
1008
1017
|
"back": [
|
|
1009
1018
|
"apple"
|
|
1010
1019
|
],
|
|
1011
|
-
"example": "A hinted answer still counts, but the card
|
|
1020
|
+
"example": "A hinted answer still counts, but the card comes back sooner."
|
|
1012
1021
|
},
|
|
1013
1022
|
{
|
|
1014
1023
|
"front": "What is your dragon's secret name? Nobody knows, so get this one wrong on purpose and type `dog`",
|
|
@@ -1077,5 +1086,229 @@
|
|
|
1077
1086
|
"learningArticles": "A missing or wrong article in it counts as \"almost\".",
|
|
1078
1087
|
"savedWithLearning": "Languages of \"{deck}\": {pair}, learning {language}.",
|
|
1079
1088
|
"learningUmlauts": "In German, so does an umlaut left plain."
|
|
1089
|
+
},
|
|
1090
|
+
"import": {
|
|
1091
|
+
"needFile": "Which file? dracosh import <file> (or - to read the cards from standard input)",
|
|
1092
|
+
"noFile": "There's no file {file}.",
|
|
1093
|
+
"unknownEncoding": "Unknown encoding \"{encoding}\". Try utf-8, utf-16, windows-1250 or windows-1252.",
|
|
1094
|
+
"notUtf8": "{file} isn't saved as UTF-8. Here is its first line with special letters, read as each likely encoding:",
|
|
1095
|
+
"notUtf8Hint": "Run the import again with the one that reads right, or save the file as UTF-8 (in Excel: CSV UTF-8).",
|
|
1096
|
+
"stdin": "standard input",
|
|
1097
|
+
"reading": "Reading {file}: {what}",
|
|
1098
|
+
"encoding": " (read as {encoding})",
|
|
1099
|
+
"formats": {
|
|
1100
|
+
"lines": "Dracosh lines (front = answer; other answer // example)",
|
|
1101
|
+
"dashes": "a list split by dashes (front - answer)",
|
|
1102
|
+
"table": "a table split by {separator}; columns: {columns}",
|
|
1103
|
+
"apkg": "an Anki package"
|
|
1104
|
+
},
|
|
1105
|
+
"separators": {
|
|
1106
|
+
"tab": "tabs",
|
|
1107
|
+
"comma": "commas",
|
|
1108
|
+
"semicolon": "semicolons",
|
|
1109
|
+
"pipe": "\"|\"",
|
|
1110
|
+
"colon": "colons",
|
|
1111
|
+
"space": "spaces"
|
|
1112
|
+
},
|
|
1113
|
+
"column": "{number} {role}",
|
|
1114
|
+
"roles": {
|
|
1115
|
+
"front": "front",
|
|
1116
|
+
"back": "answer",
|
|
1117
|
+
"example": "example",
|
|
1118
|
+
"deck": "deck"
|
|
1119
|
+
},
|
|
1120
|
+
"empty": "There are no cards in it.",
|
|
1121
|
+
"yourDecks": "Your decks: {decks}",
|
|
1122
|
+
"askDeck": "Which deck should they go into? Enter makes a new deck \"{deck}\", or type a name: ",
|
|
1123
|
+
"askDeckEmpty": "Which deck should they go into? Type a name: ",
|
|
1124
|
+
"needDeck": "Say which deck the cards go into: dracosh import - --deck <name>",
|
|
1125
|
+
"intoDeck": "Into {deck} ({cards} now):",
|
|
1126
|
+
"intoNewDeck": "Into a new deck, {deck}:",
|
|
1127
|
+
"more": {
|
|
1128
|
+
"one": "… and 1 more",
|
|
1129
|
+
"other": "… and {count} more"
|
|
1130
|
+
},
|
|
1131
|
+
"counts": {
|
|
1132
|
+
"new": {
|
|
1133
|
+
"one": "1 new card",
|
|
1134
|
+
"other": "{count} new cards"
|
|
1135
|
+
},
|
|
1136
|
+
"same": {
|
|
1137
|
+
"one": "1 already there",
|
|
1138
|
+
"other": "{count} already there"
|
|
1139
|
+
},
|
|
1140
|
+
"changed": {
|
|
1141
|
+
"one": "1 already there, different in the file",
|
|
1142
|
+
"other": "{count} already there, different in the file"
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"problems": {
|
|
1146
|
+
"one": "1 line can't be added:",
|
|
1147
|
+
"other": "{count} lines can't be added:"
|
|
1148
|
+
},
|
|
1149
|
+
"issues": {
|
|
1150
|
+
"noFront": "no front",
|
|
1151
|
+
"noBack": "no answer",
|
|
1152
|
+
"noDeck": "no deck",
|
|
1153
|
+
"twice": "also on line {line}",
|
|
1154
|
+
"slash": "an answer starts with /",
|
|
1155
|
+
"tooLong": "the deck name \"{deck}\" is longer than {max} characters: pick one with --deck",
|
|
1156
|
+
"tour": "\"{deck}\" is the tour deck: pick another name",
|
|
1157
|
+
"noSeparator": "no \" = \" between front and answer",
|
|
1158
|
+
"badDirection": "not a direction: use forward, backward or both",
|
|
1159
|
+
"twiceNote": "twice in the package",
|
|
1160
|
+
"picture": "a picture with parts to guess (image occlusion)",
|
|
1161
|
+
"mediaOnly": "only a picture or a sound, nothing to ask in text"
|
|
1162
|
+
},
|
|
1163
|
+
"ignored": {
|
|
1164
|
+
"one": "1 row has text in a column that isn't read (line {lines}): only front, answer and example are.",
|
|
1165
|
+
"other": "{count} rows have text in columns that aren't read (lines {lines}): only front, answer and example are."
|
|
1166
|
+
},
|
|
1167
|
+
"changedTitle": {
|
|
1168
|
+
"one": "1 card is already there and the file has it differently (now → in the file):",
|
|
1169
|
+
"other": "{count} cards are already there and the file has them differently (now → in the file):"
|
|
1170
|
+
},
|
|
1171
|
+
"updateAsk": {
|
|
1172
|
+
"one": "Update it to the file's version? Its progress stays.",
|
|
1173
|
+
"other": "Update these {count} to the file's version? Their progress stays."
|
|
1174
|
+
},
|
|
1175
|
+
"changedLeft": "They're left as they are (--update takes the file's version).",
|
|
1176
|
+
"nothing": "Nothing to add: the cards are already there, or can't be added as they are.",
|
|
1177
|
+
"directionTitle": "How should {deck} ask?",
|
|
1178
|
+
"directionAsk": "Pick 1, 2 or 3 (Enter: 1): ",
|
|
1179
|
+
"askSuffix": "[Y/n]",
|
|
1180
|
+
"doneNew": {
|
|
1181
|
+
"one": "Made the deck {deck} with 1 card.",
|
|
1182
|
+
"other": "Made the deck {deck} with {count} cards."
|
|
1183
|
+
},
|
|
1184
|
+
"done": {
|
|
1185
|
+
"one": "Added 1 card to {deck}.",
|
|
1186
|
+
"other": "Added {count} cards to {deck}."
|
|
1187
|
+
},
|
|
1188
|
+
"doneUpdated": {
|
|
1189
|
+
"one": " Updated 1.",
|
|
1190
|
+
"other": " Updated {count}."
|
|
1191
|
+
},
|
|
1192
|
+
"undo": "Undo it with \"dracosh restore 1\" (the backup taken just now).",
|
|
1193
|
+
"start": "Practise it with: dracosh --deck {deck}",
|
|
1194
|
+
"inDecks": "Dracosh is running: the new cards are in /decks.",
|
|
1195
|
+
"backupFile": "{file} is a full Dracosh backup: it brings back the cards, progress and settings it holds.",
|
|
1196
|
+
"backupAsk": "Bring it back?",
|
|
1197
|
+
"doneOnlyUpdated": {
|
|
1198
|
+
"one": "Updated 1 card in {deck}.",
|
|
1199
|
+
"other": "Updated {count} cards in {deck}."
|
|
1200
|
+
},
|
|
1201
|
+
"askDeckYours": "Which deck should they go into? Enter: {deck} (yours, {cards}), or type a name: ",
|
|
1202
|
+
"listed": {
|
|
1203
|
+
"one": "1 answer lists several, like \"{example}\".",
|
|
1204
|
+
"other": "{count} answers list several, like \"{example}\"."
|
|
1205
|
+
},
|
|
1206
|
+
"splitAsk": "Take each one as an answer of its own?",
|
|
1207
|
+
"splitHint": "Each stays one answer as written (--split takes each one on its own).",
|
|
1208
|
+
"directionTitleMany": "How should the {count} new decks ask?",
|
|
1209
|
+
"previewOnly": "Preview only, nothing saved. To import: {command}",
|
|
1210
|
+
"confirmAdd": {
|
|
1211
|
+
"one": "Add 1 card?",
|
|
1212
|
+
"other": "Add {count} cards?"
|
|
1213
|
+
},
|
|
1214
|
+
"confirmUpdate": {
|
|
1215
|
+
"one": "Update 1 card?",
|
|
1216
|
+
"other": "Update {count} cards?"
|
|
1217
|
+
},
|
|
1218
|
+
"confirmBoth": {
|
|
1219
|
+
"one": "Add {cards} and update 1?",
|
|
1220
|
+
"other": "Add {cards} and update {count}?"
|
|
1221
|
+
},
|
|
1222
|
+
"tourGone": "The Getting started tour made room for your own deck.",
|
|
1223
|
+
"badSeparator": "Unknown separator \"{value}\": use tab, comma, semicolon, pipe, colon, space or one character.",
|
|
1224
|
+
"languagesGuess": "Languages: {front} → {back} (a guess; change it in /decks)",
|
|
1225
|
+
"languagesUnsure": "Languages: not sure yet (set them in /decks)",
|
|
1226
|
+
"ankiNoHtml": "This Anki export has no HTML, so an answer and its example run together: export again with \"Include HTML and media references\" on.",
|
|
1227
|
+
"no": "n|no",
|
|
1228
|
+
"isFolder": "{file} is a folder: name a file in it.",
|
|
1229
|
+
"noPermission": "Dracosh may not read {file}.",
|
|
1230
|
+
"tooBig": "{file} is over {max} MB: that's not a deck. Split it, or check it's the right file.",
|
|
1231
|
+
"notText": "{file} isn't a text file. Dracosh imports text (Dracosh lines, CSV, TSV, Anki's and Quizlet's text exports) and Anki packages (.apkg, .colpkg).",
|
|
1232
|
+
"problemLine": "line {line} {issue}: {text}",
|
|
1233
|
+
"backupReplaces": "It takes the place of what you have now ({decks} · {cards}).",
|
|
1234
|
+
"mediaLeft": {
|
|
1235
|
+
"one": "1 note has pictures or sounds; only its text is imported.",
|
|
1236
|
+
"other": "{count} notes have pictures or sounds; only their text is imported."
|
|
1237
|
+
},
|
|
1238
|
+
"problemsNotes": {
|
|
1239
|
+
"one": "1 note can't be added:",
|
|
1240
|
+
"other": "{count} notes can't be added:"
|
|
1241
|
+
},
|
|
1242
|
+
"problemNote": "{issue}: {text}",
|
|
1243
|
+
"notAnki": "{file} isn't an Anki package Dracosh can read. In Anki, File → Export → Anki Deck Package (.apkg) makes one.",
|
|
1244
|
+
"needsNode": "Reading an Anki package needs Node {version} or newer (this is {current}). Update Node, or export the deck from Anki as Notes in Plain Text and import that.",
|
|
1245
|
+
"subdecks": "Anki's subdecks become decks of their own here, like \"{deck}\".",
|
|
1246
|
+
"hint": "(hint: {hint})",
|
|
1247
|
+
"notForPackage": "--separator and --encoding are for text files: an Anki package doesn't need them.",
|
|
1248
|
+
"anki": {
|
|
1249
|
+
"empty": "There are no cards in Anki to bring over.",
|
|
1250
|
+
"noDeck": "Anki has no deck \"{deck}\" with cards. Its decks: {decks}",
|
|
1251
|
+
"yourDecks": "Your decks in Anki:",
|
|
1252
|
+
"which": "Which ones? Numbers like 1 3, or Enter for all: ",
|
|
1253
|
+
"asking": "Getting {deck} from Anki…",
|
|
1254
|
+
"read": "From Anki: {decks}"
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
"export": {
|
|
1258
|
+
"needFile": "Where to? dracosh export <file>: .apkg (Anki), .txt (Dracosh), .tsv (Anki text), .csv or .json (everything)",
|
|
1259
|
+
"unknownFormat": "{file}: pick the format with the file's ending: .apkg (Anki), .txt (Dracosh), .tsv (Anki text), .csv or .json (everything).",
|
|
1260
|
+
"needsNode": "An Anki package needs Node {version} or newer (this is {current}). Update Node, or export to .tsv instead.",
|
|
1261
|
+
"jsonAll": "A .json export holds everything (all decks, progress and settings): leave --deck out.",
|
|
1262
|
+
"noDecks": "No decks of your own to export yet.",
|
|
1263
|
+
"exists": "{file} is already there. Write over it?",
|
|
1264
|
+
"existsNeedsYes": "{file} is already there: add --yes to write over it.",
|
|
1265
|
+
"wrote": {
|
|
1266
|
+
"one": "Wrote 1 card to {file}.",
|
|
1267
|
+
"other": "Wrote {count} cards to {file}."
|
|
1268
|
+
},
|
|
1269
|
+
"wroteAll": "Wrote your cards, progress and settings to {file}.",
|
|
1270
|
+
"next": {
|
|
1271
|
+
"txt": "Read it back with: dracosh import {file}",
|
|
1272
|
+
"apkg": "In Anki: double-click {file}, or File → Import. Exporting again later updates the same notes.",
|
|
1273
|
+
"tsv": "In Anki: File → Import, pick {file}, and check the note type is Basic (named in your Anki's language).",
|
|
1274
|
+
"csv": "Opens in any spreadsheet; dracosh import {file} reads it back.",
|
|
1275
|
+
"json": "dracosh import {file} brings it all back, on this computer or another one."
|
|
1276
|
+
},
|
|
1277
|
+
"fileHeader": "Dracosh cards, {date}. One card per line: front = answer; other answer // example",
|
|
1278
|
+
"fileHowTo": "Read them back with: dracosh import <this file>",
|
|
1279
|
+
"inData": "That's in Dracosh's own folder ({home}): export somewhere else, so nothing there is written over.",
|
|
1280
|
+
"cantWrite": "Can't write {file}: {error}",
|
|
1281
|
+
"noFolder": "there's no such folder",
|
|
1282
|
+
"wroteCloze": {
|
|
1283
|
+
"one": "Wrote 1 cloze card to {file}.",
|
|
1284
|
+
"other": "Wrote {count} cloze cards to {file}."
|
|
1285
|
+
},
|
|
1286
|
+
"nextCloze": "Import it into Anki the same way, with the note type Cloze: Anki keeps the two kinds apart.",
|
|
1287
|
+
"anki": {
|
|
1288
|
+
"noFile": "--anki sends the cards straight to Anki, without a file: dracosh export --anki, or add --deck <name> for one deck.",
|
|
1289
|
+
"needsYes": "Sending to Anki changes your Anki collection: add --yes to do it without asking.",
|
|
1290
|
+
"ask": "Send to Anki: {cards} ({decks})?",
|
|
1291
|
+
"sent": "Sent to Anki: {cards} ({decks}). Notes it already had from Dracosh are updated.",
|
|
1292
|
+
"fromAnki": {
|
|
1293
|
+
"one": "1 card came from Anki and stays out: Anki has it already.",
|
|
1294
|
+
"other": "{count} cards came from Anki and stay out: Anki has them already."
|
|
1295
|
+
},
|
|
1296
|
+
"nothingNew": "Nothing to send: these cards all came from Anki, which has them already.",
|
|
1297
|
+
"changedNoteType": "The note type {type} in Anki has other fields now ({fields}): updating its notes would lose what's in them. Nothing was sent. To keep both, export to a file (dracosh export cards.apkg) and import it in Anki."
|
|
1298
|
+
},
|
|
1299
|
+
"fromAnkiCopies": {
|
|
1300
|
+
"one": "1 card in it came from Anki: imported into that same Anki, it's a second copy.",
|
|
1301
|
+
"other": "{count} cards in it came from Anki: imported into that same Anki, they're a second copy."
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
"anki": {
|
|
1305
|
+
"notRunning": "Anki isn't answering. Open Anki with the AnkiConnect add-on (Tools → Add-ons → Get Add-ons..., code 2055492159, then restart Anki) and try again.",
|
|
1306
|
+
"old": "This AnkiConnect is too old for Dracosh: in Anki, Tools → Add-ons → Check for Updates.",
|
|
1307
|
+
"key": "AnkiConnect asks for its API key: run this again with DRACOSH_ANKI_KEY set to it.",
|
|
1308
|
+
"said": "Anki said: {detail}",
|
|
1309
|
+
"busy": "Anki took the call but isn't answering: it may be busy (syncing, checking its database) or asleep in the background. Bring Anki to the front and try again.",
|
|
1310
|
+
"badUrl": "DRACOSH_ANKI_URL isn't an address Dracosh can use ({detail}): it looks like http://127.0.0.1:8765.",
|
|
1311
|
+
"noDeck": "Anki has no deck \"{detail}\" any more.",
|
|
1312
|
+
"notImported": "Anki didn't take the cards: nothing was sent."
|
|
1080
1313
|
}
|
|
1081
1314
|
}
|