dracosh 0.3.0 → 0.4.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 CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  A gamified language or definitions trainer for your terminal. It sits in a spare pane, challenges you every few minutes, and a small pixel dragon grows up as you keep your streak going.
4
4
 
5
+ ![Dracosh in a terminal: a Spanish card answered right without its article, a typo forgiven, a miss with the right answer, a reveal graded by hand, and a new card added in one line](docs/demo.gif)
6
+
5
7
  ## Why Dracosh
6
8
 
7
9
  Learning a language usually means another hour in the evening, after a full day at the computer. I spent plenty of those evenings myself, and I wanted something that fits into the working day instead.
@@ -14,13 +16,15 @@ It's made for people who live in a terminal or spend most of the day at a comput
14
16
 
15
17
  - Your cards live in Dracosh's own library, organised in decks; no other app needs to be running
16
18
  - Add cards, start decks and switch between them right in the app (`/add`, `/decks`)
17
- - One line is a card: `kot = cat; kitty // Mój kot śpi.` (`;` 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 and check it before it's saved
18
20
  - 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
+ - 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
+ - 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
19
23
  - 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
20
24
  - Cloze cards for sentences: `I {{look forward}} to it` asks one gap at a time
21
- - Forgiving answer checks: case and punctuation don't matter, a missing Polish letter (ż, ó, ł…) still counts and shows the right spelling, one typo is fine on longer words, and after a miss you see letter by letter where you went wrong
22
- - Leitner boxes, so the cards you know come back less and less often; a card is only asked when it's due
23
- - Daily goal, streaks (weekends and days off don't break them) and 36 badges (one of them a secret)
25
+ - Forgiving answer checks: case and punctuation don't matter, a missing accent or special letter (ż, ł, é, ø…, and ß written as ss) still counts and the right spelling is shown with it marked, German "Baer" for "Bär" and Danish "aa" for "å" count too, an article can be left out in English ("cat" for "the cat"), while a missing or wrong article where it carries the gender ("Hund" for "der Hund") or a German umlaut left plain ("Bar" for "Bär") counts as almost: right, but the card stays at its level, one typo is fine on longer words, and after a miss you see letter by letter where you went wrong. Chinese, Japanese and Korean answers are checked exactly
26
+ - Leitner boxes, so the cards you know come back less and less often; a card is only asked when it's due, and can be done any time on that day; up to 20 new cards a day, and the rest are said to be waiting for tomorrow
27
+ - Daily goal, streaks (weekends, days off and days with nothing to practise don't break them) and 36 badges (one of them a secret)
24
28
  - A pixel dragon that hatches from an egg, evolves over a year of streaks, blinks, and falls asleep if you ignore it
25
29
  - 8-bit sound effects, generated from code
26
30
  - Now and then, a short tip about Dracosh while you wait for the next card
@@ -41,7 +45,7 @@ Want a look first? `dracosh --preview` shows every screen and animation on made-
41
45
  ## Usage
42
46
 
43
47
  ```bash
44
- dracosh --deck "Polish" # quiz this deck, this run only (otherwise the one picked in /decks)
48
+ dracosh --deck "Spanish" # quiz this deck, this run only (otherwise the one picked in /decks)
45
49
  dracosh --every 5m # a card every 5 minutes instead of 10, this run only
46
50
  dracosh --no-sound
47
51
  dracosh --stats # print your progress and exit
@@ -55,10 +59,10 @@ Type the answer and press Enter. Not sure, or the answer is a whole sentence? Pr
55
59
  | Command | What it does |
56
60
  | --- | --- |
57
61
  | `/add` | add cards to one of your decks, or start a new deck (one line per card, ↑ fixes the last one) |
58
- | `/decks` | switch to another deck (Dracosh remembers it), start a new one, or press → to change how a deck is asked |
62
+ | `/decks` | switch to another deck (Dracosh remembers it), start a new one, or press → to change how a deck is asked and which languages it's in |
59
63
  | `/hint` | reveal one more letter |
60
64
  | `/correct` | your answer was right after all; after a yes it's accepted from now on |
61
- | `/settings` | language, rhythm (a card every few minutes, or a study session), interval, daily goal, sound, quiet hours, weekends, tips, and a reset |
65
+ | `/settings` | language, rhythm (a card every few minutes, or a study session), interval, daily goal, sound, pronunciation, quiet hours, weekends, tips, and a reset |
62
66
  | `/stats` | streak and a calendar of your month |
63
67
  | `/badges` | all badges and how to get them |
64
68
  | `/companion` | your dragon, its element and the forms ahead |
@@ -87,17 +91,16 @@ npm test
87
91
 
88
92
  The quiz logic in `src/session.js` and `src/progress.js` does no I/O, which keeps it easy to test. The UI is built with [Ink](https://github.com/vadimdemedes/ink) and lives in `src/ui/`; every text it shows is in `locales/en.json`, read through `t("key")` from `src/i18n.js`.
89
93
 
90
- The other languages live next to it in `locales/`, the tour included. `npm test` checks that each one has every English key, the same `{placeholders}` and all the plural forms its language needs. If you're a native speaker and something reads oddly, a pull request is very welcome. Sound effects are generated by `scripts/make-sounds.js` (`npm run sounds`).
94
+ The other languages live next to it in `locales/`, the tour included. `npm test` checks that each one has every English key, the same `{placeholders}` and all the plural forms its language needs. If you're a native speaker and something reads oddly, a pull request is very welcome. Sound effects are generated by `scripts/make-sounds.js` (`npm run sounds`). The demo at the top is recorded with [VHS](https://github.com/charmbracelet/vhs): `vhs docs/demo/demo.tape` writes `docs/demo.gif` from a throwaway deck in `/tmp`.
91
95
 
92
96
  ## What's next
93
97
 
94
- Dracosh now keeps its own card library, with a short tour and `/add` to start your own deck. Coming next, roughly in this order:
98
+ Coming next, roughly in this order:
95
99
 
96
- - More languages for your decks: answer checking that forgives a missing accent in European languages and Cyrillic (other scripts are checked exactly).
97
100
  - Import and export: Anki (plain-text exports and `.apkg` decks from AnkiWeb), CSV, JSON and pasted lists, and export back to Anki.
98
101
  - Decks and cards in the app: browse, edit and delete with undo, plus a welcome flow for new users.
99
102
  - Optional AI help for writing cards, with your own API key or a local model.
100
- - Linux and Windows.
103
+ - Linux and Windows, pronunciation there included.
101
104
 
102
105
  ## License
103
106
 
package/locales/de.json CHANGED
@@ -71,10 +71,12 @@
71
71
  "pasteFix": "enter fertig · esc zurück",
72
72
  "grading": "1 oder ← wusste ich nicht · 2 oder → wusste ich",
73
73
  "sessionWaiting": "enter nächste Karte · / Befehle · q beenden",
74
- "decks": "→ Richtung · {choose}",
75
- "directionPick": "{choose} · esc oder weitertippen behält 1",
74
+ "decks": "→ Einstellungen · {choose}",
75
+ "directionPick": "{choose} · → Sprachen · esc oder weitertippen behält 1",
76
76
  "addName": "enter anlegen · esc abbrechen",
77
- "confirm": "{yes} ja · {no} nein"
77
+ "confirm": "{yes} ja · {no} nein",
78
+ "languagePick": "tippen zum Suchen · ↑/↓ wählen · enter bestätigen · ← zurück",
79
+ "choiceLeft": "{choose} · ← zurück"
78
80
  },
79
81
  "settings": {
80
82
  "title": "Einstellungen",
@@ -95,6 +97,10 @@
95
97
  "label": "Ton",
96
98
  "hint": "Töne für Antworten und neue Karten"
97
99
  },
100
+ "speak": {
101
+ "label": "Aussprache",
102
+ "hint": "liest das Wort in der Sprache vor, die du lernst, sobald die Antwort steht (macOS-Stimmen)"
103
+ },
98
104
  "volume": {
99
105
  "label": "Lautstärke",
100
106
  "hint": "spielt beim Ändern eine Hörprobe"
@@ -190,7 +196,12 @@
190
196
  "directionSaved": "„{deck}“ fragt ab der nächsten Karte in der neuen Richtung.",
191
197
  "front": "Vorderseite",
192
198
  "back": "Rückseite",
193
- "progressKept": "Der Fortschritt bleibt für jede Richtung erhalten, auch für eine ausgeschaltete."
199
+ "progressKept": "Der Fortschritt bleibt für jede Richtung erhalten, auch für eine ausgeschaltete.",
200
+ "askRow": "Abfragerichtung",
201
+ "languagesRow": "Sprachen",
202
+ "detectRow": "Aus den Karten erkennen",
203
+ "learningRow": "Lernsprache",
204
+ "learningShort": "Lernsprache: {language}"
194
205
  },
195
206
  "add": {
196
207
  "fields": {
@@ -238,7 +249,7 @@
238
249
  "youType": "du tippst {answer}",
239
250
  "bothWays": "In beide Richtungen",
240
251
  "bothWaysNote": "jede Karte in beide Richtungen",
241
- "directionLater": "Später änderbar: /decks, dann →.",
252
+ "directionLater": "Alles später änderbar: /decks, dann →.",
242
253
  "directionSet": "Alles klar: {how} · nächste Karte:",
243
254
  "paste": {
244
255
  "title": "Eingefügte Karten · {deck}",
@@ -262,7 +273,12 @@
262
273
  "one": "1 Zeile übersprungen: Sie musste noch korrigiert werden.",
263
274
  "other": "{count} Zeilen übersprungen: Sie mussten noch korrigiert werden."
264
275
  }
265
- }
276
+ },
277
+ "languagesLine": "Sprachen: {pair}",
278
+ "languagesNow": "Sieht nach {pair} aus. Falls nicht, in /decks → korrigieren.",
279
+ "languagesSoon": "Sprachen: erkenne ich nach ein paar Karten",
280
+ "learningLine": "Lernsprache: {language}",
281
+ "learningGuess": "nur geraten: → ändern"
266
282
  },
267
283
  "quiz": {
268
284
  "youWrote": "deine Antwort: ",
@@ -291,7 +307,12 @@
291
307
  "dayDoneTitle": "Für heute alles erledigt.",
292
308
  "dayDoneNext": "Deine Karten kommen {when} wieder. Heute noch mehr? Füge mit /add neue hinzu.",
293
309
  "laterTitle": "Gerade gibt es nichts zu üben.",
294
- "laterNext": "Die nächste Karte ist {when} fällig. Sie kommt von selbst."
310
+ "laterNext": "Die nächste Karte ist {when} fällig. Sie kommt von selbst.",
311
+ "newTomorrow": {
312
+ "one": "{count} neue Karte wartet auf morgen (bis zu {max} neue pro Tag).",
313
+ "other": "{count} neue Karten warten auf morgen (bis zu {max} neue pro Tag)."
314
+ },
315
+ "dayDoneHeldNext": "Deine Karten kommen {when} wieder."
295
316
  },
296
317
  "previewNoAdd": "Die Vorschau kann keine Karten hinzufügen; starte dafür dracosh.",
297
318
  "previewNoDecks": "Die Vorschau hat einen Demo-Stapel; für deine starte dracosh.",
@@ -311,7 +332,17 @@
311
332
  },
312
333
  "sessionProgress": "{done} von {count} in dieser Sitzung",
313
334
  "escAgain": "Noch einmal Esc zum Beenden.",
314
- "correctConfirm": "„{answer}“ als richtig zählen und ab jetzt annehmen?"
335
+ "correctConfirm": "„{answer}“ als richtig zählen und ab jetzt annehmen?",
336
+ "almost": {
337
+ "article": "Fast: achte auf den Artikel.",
338
+ "umlaut": "Fast: achte auf den Umlaut (ä, ö, ü); ae, oe, ue gehen auch.",
339
+ "article-umlaut": "Fast: achte auf Artikel und Umlaut; ae, oe, ue gehen auch.",
340
+ "held": "Die Karte kommt {now} wieder, nicht {would}.",
341
+ "days": {
342
+ "one": "morgen",
343
+ "other": "in {count} Tagen"
344
+ }
345
+ }
315
346
  },
316
347
  "dragon": {
317
348
  "stages": {
@@ -544,7 +575,7 @@
544
575
  "weekends": "Wochenenden",
545
576
  "noWeekends": "keine Wochenenden",
546
577
  "daysOff": " · frei {ranges}",
547
- "month": "Ziel erreicht an {goalDays} von {days} Tagen · {correct} richtige Antworten",
578
+ "month": "Tage mit erreichtem Ziel: {goalDays}/{days} · richtige Antworten: {correct}",
548
579
  "weekdays": "M D M D F S S",
549
580
  "badgesLine": "{unlocked}/{total} Abzeichen · /badges zeigt alle"
550
581
  },
@@ -1042,5 +1073,26 @@
1042
1073
  "example": "Jetzt bist du dran: Tippe `/add`, um deinen eigenen Stapel anzulegen. Die Tour macht ihm Platz."
1043
1074
  }
1044
1075
  ]
1076
+ },
1077
+ "languages": {
1078
+ "notYet": "noch unklar",
1079
+ "mixed": "andere oder gemischt",
1080
+ "mixedNote": "ohne Regeln einer Sprache",
1081
+ "current": "aktuell",
1082
+ "guessed": "aus deinen Karten erkannt",
1083
+ "frontQuestion": "Welche Sprache steht vorne auf den Karten von „{deck}“?",
1084
+ "backQuestion": "Welche Sprache steht hinten auf den Karten von „{deck}“?",
1085
+ "example": "z. B. {sample}",
1086
+ "search": "Suche:",
1087
+ "noMatch": "Keine Sprache passt zu „{query}“.",
1088
+ "saved": "Sprachen von „{deck}“: {pair}.",
1089
+ "detecting": "„{deck}“ erkennt die Sprachen wieder aus den Karten.",
1090
+ "learningQuestion": "Welche Sprache lernst du mit „{deck}“?",
1091
+ "learningNote": "Wörter in dieser Sprache werden vorgelesen, wenn die Aussprache in /settings an ist.",
1092
+ "learningSaved": "Lernsprache von „{deck}“: {language}.",
1093
+ "guessShort": "geraten",
1094
+ "learningArticles": "Ein fehlender oder falscher Artikel darin zählt als „fast“.",
1095
+ "savedWithLearning": "Sprachen von „{deck}“: {pair}, Lernsprache: {language}.",
1096
+ "learningUmlauts": "Im Deutschen auch ein weggelassener Umlaut."
1045
1097
  }
1046
1098
  }
package/locales/en.json CHANGED
@@ -71,10 +71,12 @@
71
71
  "pasteFix": "enter done · esc back",
72
72
  "grading": "1 or ← didn't know · 2 or → knew it",
73
73
  "sessionWaiting": "enter next card · / commands · q quit",
74
- "decks": "→ direction · {choose}",
75
- "directionPick": "{choose} · esc or typing on keeps 1",
74
+ "decks": "→ settings · {choose}",
75
+ "directionPick": "{choose} · → languages · esc or typing on keeps 1",
76
76
  "addName": "enter create · esc cancel",
77
- "confirm": "{yes} yes · {no} no"
77
+ "confirm": "{yes} yes · {no} no",
78
+ "languagePick": "type to search · ↑/↓ choose · enter confirm · ← back",
79
+ "choiceLeft": "{choose} · ← back"
78
80
  },
79
81
  "settings": {
80
82
  "title": "Settings",
@@ -95,6 +97,10 @@
95
97
  "label": "Sound",
96
98
  "hint": "answer and new-card sounds"
97
99
  },
100
+ "speak": {
101
+ "label": "Read aloud",
102
+ "hint": "reads the word aloud in the language you're learning, once the answer is out (macOS voices)"
103
+ },
98
104
  "volume": {
99
105
  "label": "Volume",
100
106
  "hint": "plays a preview when changed"
@@ -187,7 +193,12 @@
187
193
  "directionSaved": "\"{deck}\" asks the new way from the next card.",
188
194
  "front": "front",
189
195
  "back": "back",
190
- "progressKept": "Progress stays for every direction, even one you turn off."
196
+ "progressKept": "Progress stays for every direction, even one you turn off.",
197
+ "askRow": "How it asks",
198
+ "languagesRow": "Languages",
199
+ "detectRow": "Detect from the cards",
200
+ "learningRow": "Learning",
201
+ "learningShort": "learning {language}"
191
202
  },
192
203
  "add": {
193
204
  "fields": {
@@ -235,7 +246,7 @@
235
246
  "youType": "you type {answer}",
236
247
  "bothWays": "Both ways",
237
248
  "bothWaysNote": "every card asked both ways",
238
- "directionLater": "You can change it later: /decks, then →.",
249
+ "directionLater": "You can change all of this later: /decks, then →.",
239
250
  "directionSet": "Got it: {how} · next card:",
240
251
  "paste": {
241
252
  "title": "Pasted cards · {deck}",
@@ -259,7 +270,12 @@
259
270
  "one": "1 line skipped: it still needed fixing.",
260
271
  "other": "{count} lines skipped: they still needed fixing."
261
272
  }
262
- }
273
+ },
274
+ "languagesLine": "Languages: {pair}",
275
+ "languagesNow": "Looks like {pair}. If not, fix it in /decks →.",
276
+ "languagesSoon": "Languages: I'll tell after a few cards",
277
+ "learningLine": "Learning: {language}",
278
+ "learningGuess": "that is a guess: → to change it"
263
279
  },
264
280
  "quiz": {
265
281
  "youWrote": "you wrote ",
@@ -288,7 +304,12 @@
288
304
  "dayDoneTitle": "All done for today.",
289
305
  "dayDoneNext": "Your cards come back {when}. Want more today? /add some new ones.",
290
306
  "laterTitle": "Nothing to practise right now.",
291
- "laterNext": "The next card is due {when}. It will come by itself."
307
+ "laterNext": "The next card is due {when}. It will come by itself.",
308
+ "newTomorrow": {
309
+ "one": "{count} new card waits for tomorrow (up to {max} new ones a day).",
310
+ "other": "{count} new cards wait for tomorrow (up to {max} new ones a day)."
311
+ },
312
+ "dayDoneHeldNext": "Your cards come back {when}."
292
313
  },
293
314
  "previewNoAdd": "The preview can't add cards; run dracosh for that.",
294
315
  "previewNoDecks": "The preview has one demo deck; run dracosh for yours.",
@@ -308,7 +329,17 @@
308
329
  },
309
330
  "sessionProgress": "{done} of {count} in this session",
310
331
  "escAgain": "Esc again to quit.",
311
- "correctConfirm": "Count \"{answer}\" as right, and accept it from now on?"
332
+ "correctConfirm": "Count \"{answer}\" as right, and accept it from now on?",
333
+ "almost": {
334
+ "article": "Almost: mind the article.",
335
+ "umlaut": "Almost: mind the umlaut (ä, ö, ü); ae, oe, ue work too.",
336
+ "article-umlaut": "Almost: mind the article and the umlaut; ae, oe, ue work too.",
337
+ "held": "The card comes back {now}, not {would}.",
338
+ "days": {
339
+ "one": "tomorrow",
340
+ "other": "in {count} days"
341
+ }
342
+ }
312
343
  },
313
344
  "dragon": {
314
345
  "stages": {
@@ -541,7 +572,7 @@
541
572
  "weekends": "weekends",
542
573
  "noWeekends": "no weekends",
543
574
  "daysOff": " · days off {ranges}",
544
- "month": "Goal reached on {goalDays} of {days} days · {correct} correct answers",
575
+ "month": "Days with the goal reached: {goalDays}/{days} · correct answers: {correct}",
545
576
  "weekdays": "M T W T F S S",
546
577
  "badgesLine": "{unlocked}/{total} badges · /badges lists them all"
547
578
  },
@@ -1025,5 +1056,26 @@
1025
1056
  "example": "Now make it yours and type `/add` to start your own deck. The tour makes room for it."
1026
1057
  }
1027
1058
  ]
1059
+ },
1060
+ "languages": {
1061
+ "notYet": "not sure yet",
1062
+ "mixed": "other or mixed",
1063
+ "mixedNote": "no rules of one language",
1064
+ "current": "current",
1065
+ "guessed": "detected from your cards",
1066
+ "frontQuestion": "What language is on the front of the cards in \"{deck}\"?",
1067
+ "backQuestion": "What language is on the back of the cards in \"{deck}\"?",
1068
+ "example": "like {sample}",
1069
+ "search": "search:",
1070
+ "noMatch": "No language matches \"{query}\".",
1071
+ "saved": "Languages of \"{deck}\": {pair}.",
1072
+ "detecting": "\"{deck}\" detects its languages from the cards again.",
1073
+ "learningQuestion": "Which language are you learning in \"{deck}\"?",
1074
+ "learningNote": "Words in this language are read aloud, if Read aloud is on in /settings.",
1075
+ "learningSaved": "\"{deck}\": now learning {language}.",
1076
+ "guessShort": "a guess",
1077
+ "learningArticles": "A missing or wrong article in it counts as \"almost\".",
1078
+ "savedWithLearning": "Languages of \"{deck}\": {pair}, learning {language}.",
1079
+ "learningUmlauts": "In German, so does an umlaut left plain."
1028
1080
  }
1029
1081
  }
package/locales/fr.json CHANGED
@@ -71,10 +71,12 @@
71
71
  "pasteFix": "entrée valider · échap retour",
72
72
  "grading": "1 ou ← je ne savais pas · 2 ou → je savais",
73
73
  "sessionWaiting": "entrée carte suivante · / commandes · q quitter",
74
- "decks": "→ sens · {choose}",
75
- "directionPick": "{choose} · échap ou continuer à taper garde 1",
74
+ "decks": "→ réglages · {choose}",
75
+ "directionPick": "{choose} · → langues · échap ou continuer à taper garde 1",
76
76
  "addName": "entrée créer · échap annuler",
77
- "confirm": "{yes} oui · {no} non"
77
+ "confirm": "{yes} oui · {no} non",
78
+ "languagePick": "tape pour chercher · ↑/↓ choisir · entrée valider · ← retour",
79
+ "choiceLeft": "{choose} · ← retour"
78
80
  },
79
81
  "settings": {
80
82
  "title": "Réglages",
@@ -95,6 +97,10 @@
95
97
  "label": "Son",
96
98
  "hint": "les sons des réponses et des nouvelles cartes"
97
99
  },
100
+ "speak": {
101
+ "label": "Prononciation",
102
+ "hint": "lit à voix haute le mot dans la langue que tu apprends, une fois la réponse affichée (voix de macOS)"
103
+ },
98
104
  "volume": {
99
105
  "label": "Volume",
100
106
  "hint": "joue un aperçu quand tu le changes"
@@ -194,7 +200,12 @@
194
200
  "directionSaved": "« {deck} » interroge ainsi dès la prochaine carte.",
195
201
  "front": "recto",
196
202
  "back": "verso",
197
- "progressKept": "La progression de chaque sens est conservée, même si tu le désactives."
203
+ "progressKept": "La progression de chaque sens est conservée, même si tu le désactives.",
204
+ "askRow": "Sens des questions",
205
+ "languagesRow": "Langues",
206
+ "detectRow": "Détecter d’après les cartes",
207
+ "learningRow": "Langue apprise",
208
+ "learningShort": "langue apprise : {language}"
198
209
  },
199
210
  "add": {
200
211
  "fields": {
@@ -244,7 +255,7 @@
244
255
  "youType": "tu tapes {answer}",
245
256
  "bothWays": "Dans les deux sens",
246
257
  "bothWaysNote": "chaque carte dans les deux sens",
247
- "directionLater": "Modifiable plus tard : /decks, puis →.",
258
+ "directionLater": "Tout se modifie plus tard : /decks, puis →.",
248
259
  "directionSet": "C'est noté : {how} · carte suivante :",
249
260
  "paste": {
250
261
  "title": "Cartes collées · {deck}",
@@ -270,7 +281,12 @@
270
281
  "many": "{count} lignes ignorées : elles restaient à corriger.",
271
282
  "other": "{count} lignes ignorées : elles restaient à corriger."
272
283
  }
273
- }
284
+ },
285
+ "languagesLine": "Langues : {pair}",
286
+ "languagesNow": "On dirait : {pair}. Sinon, corrige dans /decks →.",
287
+ "languagesSoon": "Langues : je les reconnaîtrai après quelques cartes",
288
+ "learningLine": "Langue apprise : {language}",
289
+ "learningGuess": "ce n’est qu’une supposition : → modifier"
274
290
  },
275
291
  "quiz": {
276
292
  "youWrote": "ta réponse : ",
@@ -299,7 +315,13 @@
299
315
  "dayDoneTitle": "Tout est fait pour aujourd'hui.",
300
316
  "dayDoneNext": "Tes cartes reviennent {when}. Envie d'en faire plus ? Ajoute-en avec /add.",
301
317
  "laterTitle": "Rien à réviser pour l'instant.",
302
- "laterNext": "La prochaine carte arrive {when}. Elle viendra toute seule."
318
+ "laterNext": "La prochaine carte arrive {when}. Elle viendra toute seule.",
319
+ "newTomorrow": {
320
+ "one": "{count} nouvelle carte attend demain (jusqu’à {max} nouvelles par jour).",
321
+ "many": "{count} nouvelles cartes attendent demain (jusqu’à {max} nouvelles par jour).",
322
+ "other": "{count} nouvelles cartes attendent demain (jusqu’à {max} nouvelles par jour)."
323
+ },
324
+ "dayDoneHeldNext": "Tes cartes reviennent {when}."
303
325
  },
304
326
  "previewNoAdd": "L'aperçu ne peut pas ajouter de cartes ; lance dracosh pour ça.",
305
327
  "previewNoDecks": "L'aperçu n'a qu'un paquet de démo ; lance dracosh pour les tiens.",
@@ -320,7 +342,18 @@
320
342
  },
321
343
  "sessionProgress": "{done} sur {count} dans cette session",
322
344
  "escAgain": "Échap encore une fois pour quitter.",
323
- "correctConfirm": "Compter « {answer} » comme juste et l'accepter désormais ?"
345
+ "correctConfirm": "Compter « {answer} » comme juste et l'accepter désormais ?",
346
+ "almost": {
347
+ "article": "Presque : attention à l’article.",
348
+ "umlaut": "Presque : attention au tréma (ä, ö, ü) ; ae, oe, ue marchent aussi.",
349
+ "article-umlaut": "Presque : attention à l’article et au tréma ; ae, oe, ue marchent aussi.",
350
+ "held": "La carte revient {now}, pas {would}.",
351
+ "days": {
352
+ "one": "demain",
353
+ "many": "dans {count} jours",
354
+ "other": "dans {count} jours"
355
+ }
356
+ }
324
357
  },
325
358
  "dragon": {
326
359
  "stages": {
@@ -575,7 +608,7 @@
575
608
  "weekends": "week-ends",
576
609
  "noWeekends": "pas de week-ends",
577
610
  "daysOff": " · jours off {ranges}",
578
- "month": "Jours avec objectif atteint : {goalDays}/{days} · {correct} bonnes réponses",
611
+ "month": "Jours avec objectif atteint : {goalDays}/{days} · bonnes réponses : {correct}",
579
612
  "weekdays": "L M M J V S D",
580
613
  "badgesLine": "{unlocked}/{total} badges · /badges les montre tous"
581
614
  },
@@ -1090,5 +1123,26 @@
1090
1123
  "example": "À toi de jouer : tape `/add` pour créer ton propre paquet. La visite lui fait de la place."
1091
1124
  }
1092
1125
  ]
1126
+ },
1127
+ "languages": {
1128
+ "notYet": "à déterminer",
1129
+ "mixed": "autre ou mélangée",
1130
+ "mixedNote": "sans règles d’une langue",
1131
+ "current": "actuelle",
1132
+ "guessed": "d’après tes cartes",
1133
+ "frontQuestion": "Quelle langue au recto des cartes de « {deck} » ?",
1134
+ "backQuestion": "Quelle langue au verso des cartes de « {deck} » ?",
1135
+ "example": "p. ex. {sample}",
1136
+ "search": "recherche :",
1137
+ "noMatch": "Aucune langue ne correspond à « {query} ».",
1138
+ "saved": "Langues de « {deck} » : {pair}.",
1139
+ "detecting": "« {deck} » détecte à nouveau ses langues d’après les cartes.",
1140
+ "learningQuestion": "Quelle langue apprends-tu avec « {deck} » ?",
1141
+ "learningNote": "Les mots de cette langue sont lus à voix haute si la prononciation est activée dans /settings.",
1142
+ "learningSaved": "Langue apprise dans « {deck} » : {language}.",
1143
+ "guessShort": "supposée",
1144
+ "learningArticles": "Un article manquant ou faux y compte comme « presque ».",
1145
+ "savedWithLearning": "Langues de « {deck} » : {pair}, langue apprise : {language}.",
1146
+ "learningUmlauts": "En allemand, un tréma oublié aussi."
1093
1147
  }
1094
1148
  }
package/locales/pl.json CHANGED
@@ -71,10 +71,12 @@
71
71
  "pasteFix": "enter gotowe · esc wstecz",
72
72
  "grading": "1 lub ← nie pamiętam · 2 lub → pamiętam",
73
73
  "sessionWaiting": "enter następna karta · / komendy · q wyjdź",
74
- "decks": "→ kierunek · {choose}",
75
- "directionPick": "{choose} · esc lub pisanie dalej zostawia 1",
74
+ "decks": "→ ustawienia · {choose}",
75
+ "directionPick": "{choose} · → języki · esc lub pisanie dalej zostawia 1",
76
76
  "addName": "enter utwórz · esc anuluj",
77
- "confirm": "{yes} tak · {no} nie"
77
+ "confirm": "{yes} tak · {no} nie",
78
+ "languagePick": "pisz, by szukać · ↑/↓ wybierz · enter potwierdź · ← wstecz",
79
+ "choiceLeft": "{choose} · ← wstecz"
78
80
  },
79
81
  "settings": {
80
82
  "title": "Ustawienia",
@@ -95,6 +97,10 @@
95
97
  "label": "Dźwięk",
96
98
  "hint": "dźwięki odpowiedzi i nowej karty"
97
99
  },
100
+ "speak": {
101
+ "label": "Wymowa",
102
+ "hint": "czyta na głos słowo w języku, którego się uczysz, gdy odpowiedź jest już widoczna (głosy macOS)"
103
+ },
98
104
  "volume": {
99
105
  "label": "Głośność",
100
106
  "hint": "po zmianie zagra próbka"
@@ -198,7 +204,12 @@
198
204
  "directionSaved": "Od następnej karty talia „{deck}” pyta w nowy sposób.",
199
205
  "front": "przód",
200
206
  "back": "tył",
201
- "progressKept": "Postęp każdego kierunku zostaje, nawet gdy go wyłączysz."
207
+ "progressKept": "Postęp każdego kierunku zostaje, nawet gdy go wyłączysz.",
208
+ "askRow": "Jak pytać",
209
+ "languagesRow": "Języki",
210
+ "detectRow": "Wróć do rozpoznawania z kart",
211
+ "learningRow": "Język nauki",
212
+ "learningShort": "nauka: {language}"
202
213
  },
203
214
  "add": {
204
215
  "fields": {
@@ -250,7 +261,7 @@
250
261
  "youType": "wpisujesz {answer}",
251
262
  "bothWays": "W obie strony",
252
263
  "bothWaysNote": "każda karta pytana w obie strony",
253
- "directionLater": "Zmienisz to później: /decks, potem →.",
264
+ "directionLater": "Wszystko zmienisz później: /decks, potem →.",
254
265
  "directionSet": "Jasne: {how} · następna karta:",
255
266
  "paste": {
256
267
  "title": "Wklejone karty · {deck}",
@@ -278,7 +289,12 @@
278
289
  "many": "Pominięto {count} linii: wymagały poprawki.",
279
290
  "other": "Pominięto {count} linii: wymagały poprawki."
280
291
  }
281
- }
292
+ },
293
+ "languagesLine": "Języki: {pair}",
294
+ "languagesNow": "Wygląda na: {pair}. Jeśli nie, popraw w /decks →.",
295
+ "languagesSoon": "Języki: rozpoznam po kilku kartach",
296
+ "learningLine": "Język nauki: {language}",
297
+ "learningGuess": "to tylko domysł: → zmień"
282
298
  },
283
299
  "quiz": {
284
300
  "youWrote": "twoja odpowiedź: ",
@@ -307,7 +323,14 @@
307
323
  "dayDoneTitle": "Na dziś to wszystko.",
308
324
  "dayDoneNext": "Karty wrócą {when}. Chcesz więcej dzisiaj? /add i dodaj nowe.",
309
325
  "laterTitle": "Na razie nie ma czego ćwiczyć.",
310
- "laterNext": "Następna karta: {when}. Przyjdzie sama."
326
+ "laterNext": "Następna karta: {when}. Przyjdzie sama.",
327
+ "newTomorrow": {
328
+ "one": "{count} nowa karta czeka na jutro (do {max} nowych dziennie).",
329
+ "few": "{count} nowe karty czekają na jutro (do {max} nowych dziennie).",
330
+ "many": "{count} nowych kart czeka na jutro (do {max} nowych dziennie).",
331
+ "other": "{count} nowej karty czeka na jutro (do {max} nowych dziennie)."
332
+ },
333
+ "dayDoneHeldNext": "Karty wrócą {when}."
311
334
  },
312
335
  "previewNoAdd": "Podgląd nie dodaje kart; do tego uruchom dracosh.",
313
336
  "previewNoDecks": "Podgląd ma jedną talię demo; po swoje uruchom dracosh.",
@@ -329,7 +352,19 @@
329
352
  },
330
353
  "sessionProgress": "{done} z {count} w tej sesji",
331
354
  "escAgain": "Esc jeszcze raz, żeby wyjść.",
332
- "correctConfirm": "Uznać „{answer}” za dobrą odpowiedź i przyjmować ją od teraz?"
355
+ "correctConfirm": "Uznać „{answer}” za dobrą odpowiedź i przyjmować ją od teraz?",
356
+ "almost": {
357
+ "article": "Prawie: zwróć uwagę na rodzajnik.",
358
+ "umlaut": "Prawie: zwróć uwagę na umlaut (ä, ö, ü); można też pisać ae, oe, ue.",
359
+ "article-umlaut": "Prawie: zwróć uwagę na rodzajnik i umlaut; można też pisać ae, oe, ue.",
360
+ "held": "Karta wróci {now}, a nie {would}.",
361
+ "days": {
362
+ "one": "jutro",
363
+ "few": "za {count} dni",
364
+ "many": "za {count} dni",
365
+ "other": "za {count} dnia"
366
+ }
367
+ }
333
368
  },
334
369
  "dragon": {
335
370
  "stages": {
@@ -591,7 +626,7 @@
591
626
  "weekends": "weekendy",
592
627
  "noWeekends": "bez weekendów",
593
628
  "daysOff": " · wolne dni {ranges}",
594
- "month": "Cel osiągnięty w {goalDays} z {days} dni · poprawne odpowiedzi: {correct}",
629
+ "month": "Dni z osiągniętym celem: {goalDays}/{days} · poprawne odpowiedzi: {correct}",
595
630
  "weekdays": "P W Ś C P S N",
596
631
  "badgesLine": "Odznaki: {unlocked}/{total} · /badges pokazuje wszystkie"
597
632
  },
@@ -1113,5 +1148,26 @@
1113
1148
  "example": "Teraz twoja kolej: wpisz `/add` i stwórz własną talię. Samouczek zrobi jej miejsce."
1114
1149
  }
1115
1150
  ]
1151
+ },
1152
+ "languages": {
1153
+ "notYet": "jeszcze nie wiadomo",
1154
+ "mixed": "inny lub mieszany",
1155
+ "mixedNote": "bez reguł jednego języka",
1156
+ "current": "obecny",
1157
+ "guessed": "rozpoznane po kartach",
1158
+ "frontQuestion": "W jakim języku jest przód kart w talii „{deck}”?",
1159
+ "backQuestion": "W jakim języku jest tył kart w talii „{deck}”?",
1160
+ "example": "np. {sample}",
1161
+ "search": "szukaj:",
1162
+ "noMatch": "Żaden język nie pasuje do „{query}”.",
1163
+ "saved": "Języki talii „{deck}”: {pair}.",
1164
+ "detecting": "Talia „{deck}” znów rozpoznaje języki z kart.",
1165
+ "learningQuestion": "Którego języka uczysz się w talii „{deck}”?",
1166
+ "learningNote": "Słowa w tym języku są czytane na głos, jeśli włączysz wymowę w /settings.",
1167
+ "learningSaved": "Język nauki w talii „{deck}”: {language}.",
1168
+ "guessShort": "zgaduję",
1169
+ "learningArticles": "Brak albo zły rodzajnik w tym języku to „prawie”.",
1170
+ "savedWithLearning": "Języki talii „{deck}”: {pair}, język nauki: {language}.",
1171
+ "learningUmlauts": "W niemieckim także pominięty umlaut."
1116
1172
  }
1117
1173
  }