dracosh 0.8.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 +9 -7
- package/locales/de.json +51 -13
- package/locales/en.json +51 -13
- package/locales/fr.json +52 -13
- package/locales/pl.json +53 -13
- package/locales/uk.json +53 -13
- package/package.json +2 -2
- package/src/alerts.js +47 -50
- package/src/background.js +63 -0
- package/src/bug.js +112 -0
- package/src/cli.js +24 -1
- package/src/doctor.js +123 -0
- package/src/notify.js +44 -0
- package/src/player.js +117 -0
- package/src/settings.js +4 -1
- package/src/speech.js +82 -0
- package/src/ui/App.js +9 -8
- package/src/ui/BadgeUnlock.js +4 -6
- package/src/ui/Badges.js +5 -7
- 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 +10 -7
- package/src/ui/Stats.js +11 -21
- package/src/ui/TheOne.js +2 -2
- package/src/ui/icons.js +2 -4
- package/src/ui/kit.js +88 -11
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
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
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
|
|
22
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`
|
|
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
|
|
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
|
|
24
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
|
|
25
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
|
|
26
26
|
- Cloze cards for sentences: `I {{look forward}} to it` asks one gap at a time
|
|
@@ -31,6 +31,7 @@ It's made for people who live in a terminal or spend most of the day at a comput
|
|
|
31
31
|
- 8-bit sound effects, generated from code
|
|
32
32
|
- Now and then, a short tip about Dracosh while you wait for the next card
|
|
33
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
|
|
34
35
|
|
|
35
36
|
## Install
|
|
36
37
|
|
|
@@ -62,6 +63,8 @@ dracosh --stats # print your progress and exit
|
|
|
62
63
|
dracosh --data # show where your cards, progress and backups are kept
|
|
63
64
|
dracosh --preview
|
|
64
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
|
|
65
68
|
dracosh import words.csv # add cards from a file, see Import and export below
|
|
66
69
|
dracosh export spanish.txt --deck "Spanish"
|
|
67
70
|
```
|
|
@@ -77,7 +80,7 @@ Type the answer and press Enter. Not sure, or the answer is a whole sentence? Pr
|
|
|
77
80
|
| `/trash` | decks and cards you deleted, kept for 30 days with their progress: Enter brings one back |
|
|
78
81
|
| `/hint` | reveal one more letter |
|
|
79
82
|
| `/correct` | your answer was right after all; after a yes it's accepted from now on |
|
|
80
|
-
| `/settings` | the app's language, 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 |
|
|
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 |
|
|
81
84
|
| `/stats` | streak and a calendar of your month |
|
|
82
85
|
| `/badges` | all badges and how to get them |
|
|
83
86
|
| `/companion` | your dragon, its element and the forms ahead |
|
|
@@ -106,9 +109,9 @@ What it costs stays in sight: `/settings` shows "free" next to a model on your c
|
|
|
106
109
|
|
|
107
110
|
## Natural voices
|
|
108
111
|
|
|
109
|
-
Optional. Pronunciation uses the
|
|
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.
|
|
110
113
|
|
|
111
|
-
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
|
|
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`.
|
|
112
115
|
|
|
113
116
|
## Import and export
|
|
114
117
|
|
|
@@ -182,7 +185,7 @@ Everything stays on your machine, in `~/.dracosh`; `dracosh --data` shows what's
|
|
|
182
185
|
|
|
183
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.
|
|
184
187
|
|
|
185
|
-
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.
|
|
186
189
|
|
|
187
190
|
## Development
|
|
188
191
|
|
|
@@ -202,8 +205,7 @@ The other languages live next to it in `locales/`, the tour included. `npm test`
|
|
|
202
205
|
|
|
203
206
|
Coming next, roughly in this order:
|
|
204
207
|
|
|
205
|
-
-
|
|
206
|
-
- 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.
|
|
207
209
|
|
|
208
210
|
## License
|
|
209
211
|
|
package/locales/de.json
CHANGED
|
@@ -104,6 +104,10 @@
|
|
|
104
104
|
"label": "App-Sprache",
|
|
105
105
|
"hint": "die Sprache von Dracosh; die Tour wechselt mit"
|
|
106
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
|
+
},
|
|
107
111
|
"homeLanguage": {
|
|
108
112
|
"label": "Deine Sprache",
|
|
109
113
|
"hint": "die Sprache, die du sprichst: daran sieht Dracosh, welche Kartenseite für dich neu ist"
|
|
@@ -130,7 +134,7 @@
|
|
|
130
134
|
},
|
|
131
135
|
"voice": {
|
|
132
136
|
"label": "Stimme",
|
|
133
|
-
"hint": "wer die Wörter vorliest:
|
|
137
|
+
"hint": "wer die Wörter vorliest: Systemstimmen oder eine natürliche Stimme von ElevenLabs mit deinem Schlüssel"
|
|
134
138
|
},
|
|
135
139
|
"volume": {
|
|
136
140
|
"label": "Lautstärke",
|
|
@@ -169,6 +173,11 @@
|
|
|
169
173
|
"sometimes": "manchmal (jedes 3. Warten)",
|
|
170
174
|
"off": "aus"
|
|
171
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "automatisch",
|
|
178
|
+
"dark": "dunkel",
|
|
179
|
+
"light": "hell"
|
|
180
|
+
},
|
|
172
181
|
"weekendsRest": "Ruhetage",
|
|
173
182
|
"weekendsCount": "wie andere Tage",
|
|
174
183
|
"pressEnter": "Enter drücken",
|
|
@@ -826,7 +835,7 @@
|
|
|
826
835
|
"notInTrash": "Dieser Stapel ist nicht mehr im Papierkorb."
|
|
827
836
|
},
|
|
828
837
|
"cli": {
|
|
829
|
-
"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.",
|
|
830
839
|
"badEvery": "Ungültiges --every „{value}“. Nutze z. B. 30s, 10m, 1h.",
|
|
831
840
|
"badVolume": "Ungültiges --volume „{value}“. Nutze eine Zahl von 0 bis 1.",
|
|
832
841
|
"unknownCommand": "Unbekannter Befehl „{command}“. Siehe dracosh --help.",
|
|
@@ -890,7 +899,36 @@
|
|
|
890
899
|
"other": "{count} Sicherungen"
|
|
891
900
|
},
|
|
892
901
|
"unknownOption": "Unbekannte Option {option}. Siehe dracosh --help.",
|
|
893
|
-
"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
|
+
}
|
|
894
932
|
},
|
|
895
933
|
"tips": {
|
|
896
934
|
"keys-enter": {
|
|
@@ -1029,7 +1067,7 @@
|
|
|
1029
1067
|
"preview": {
|
|
1030
1068
|
"title": "Vorschau",
|
|
1031
1069
|
"subtitle": " erfundene Daten · nichts wird gespeichert",
|
|
1032
|
-
"keys": "↑/↓ wählen · enter abspielen · esc beenden",
|
|
1070
|
+
"keys": "↑/↓ wählen · enter abspielen · t Farbschema · esc beenden",
|
|
1033
1071
|
"replay": "enter nochmal · esc zurück",
|
|
1034
1072
|
"evolution": "Entwicklung → {name}",
|
|
1035
1073
|
"evolutionHint": {
|
|
@@ -1640,10 +1678,10 @@
|
|
|
1640
1678
|
"title": "Stimme",
|
|
1641
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.",
|
|
1642
1680
|
"now": "Jetzt: {label}",
|
|
1643
|
-
"system": "
|
|
1644
|
-
"systemNote": "kostenlos,
|
|
1681
|
+
"system": "Systemstimmen",
|
|
1682
|
+
"systemNote": "kostenlos, ohne Internet",
|
|
1645
1683
|
"elevenNote": "natürliche Stimmen, dein Schlüssel, Abrechnung pro Zeichen",
|
|
1646
|
-
"systemSet": "Die Wörter liest wieder eine
|
|
1684
|
+
"systemSet": "Die Wörter liest wieder eine Systemstimme vor.",
|
|
1647
1685
|
"keyTitle": "ElevenLabs-Schlüssel",
|
|
1648
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.",
|
|
1649
1687
|
"pickTitle": "Stimme wählen",
|
|
@@ -1652,8 +1690,8 @@
|
|
|
1652
1690
|
"noVoices": "Dein ElevenLabs-Konto hat keine Stimmen zur Auswahl. Füg auf elevenlabs.io eine hinzu und komm dann zurück.",
|
|
1653
1691
|
"current": "aktuell",
|
|
1654
1692
|
"checking": "Probe wird mit {label} vorgelesen…",
|
|
1655
|
-
"ready": "Die Wörter liest jetzt {label} vor. Sprachen, die diese Stimme nicht kann, bleiben bei den
|
|
1656
|
-
"readyOn": "Aussprache ist an: Die Wörter liest {label} vor. Sprachen, die diese Stimme nicht kann, bleiben bei den
|
|
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.",
|
|
1657
1695
|
"failedTitle": "{label} funktioniert nicht",
|
|
1658
1696
|
"otherVoice": "Andere Stimme wählen",
|
|
1659
1697
|
"sample": "Hallo! Ich lese dir deine Wörter vor.",
|
|
@@ -1664,10 +1702,10 @@
|
|
|
1664
1702
|
"noVoice": "ElevenLabs hat diese Stimme nicht mehr: Wähl eine andere."
|
|
1665
1703
|
},
|
|
1666
1704
|
"errors": {
|
|
1667
|
-
"noKey": "Kein ElevenLabs-Schlüssel: Füg einen in /settings → Stimme hinzu oder setz {env}. Bis dahin lesen
|
|
1668
|
-
"badKey": "ElevenLabs hat den Schlüssel nicht akzeptiert. Füg in /settings → Stimme einen neuen ein. Bis dahin lesen
|
|
1669
|
-
"noCredit": "ElevenLabs: Dein Guthaben ist aufgebraucht. Lade es auf der Seite von ElevenLabs auf. Bis dahin lesen
|
|
1670
|
-
"noVoice": "ElevenLabs hat diese Stimme nicht mehr: Wähl in /settings → Stimme eine andere. Bis dahin lesen
|
|
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.",
|
|
1671
1709
|
"rateLimit": "ElevenLabs meldet zu viele Anfragen: Warte kurz und versuch es noch einmal.",
|
|
1672
1710
|
"offline": "ElevenLabs ist nicht erreichbar. Bist du online?",
|
|
1673
1711
|
"timeout": "ElevenLabs hat zu lange gebraucht.",
|
package/locales/en.json
CHANGED
|
@@ -104,6 +104,10 @@
|
|
|
104
104
|
"label": "App language",
|
|
105
105
|
"hint": "the language Dracosh speaks; the tour switches too"
|
|
106
106
|
},
|
|
107
|
+
"theme": {
|
|
108
|
+
"label": "Theme",
|
|
109
|
+
"hint": "auto matches your terminal's background; pick dark or light if it guesses wrong"
|
|
110
|
+
},
|
|
107
111
|
"homeLanguage": {
|
|
108
112
|
"label": "Your language",
|
|
109
113
|
"hint": "the language you speak: it tells which side of a card is new to you"
|
|
@@ -130,7 +134,7 @@
|
|
|
130
134
|
},
|
|
131
135
|
"voice": {
|
|
132
136
|
"label": "Voice",
|
|
133
|
-
"hint": "who reads the words:
|
|
137
|
+
"hint": "who reads the words: system voices, or a natural voice from ElevenLabs with your own key"
|
|
134
138
|
},
|
|
135
139
|
"volume": {
|
|
136
140
|
"label": "Volume",
|
|
@@ -169,6 +173,11 @@
|
|
|
169
173
|
"sometimes": "sometimes (1 in 3 waits)",
|
|
170
174
|
"off": "off"
|
|
171
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "auto",
|
|
178
|
+
"dark": "dark",
|
|
179
|
+
"light": "light"
|
|
180
|
+
},
|
|
172
181
|
"weekendsRest": "rest days",
|
|
173
182
|
"weekendsCount": "count like other days",
|
|
174
183
|
"pressEnter": "press enter",
|
|
@@ -814,7 +823,7 @@
|
|
|
814
823
|
"notInTrash": "That deck isn't in the trash any more."
|
|
815
824
|
},
|
|
816
825
|
"cli": {
|
|
817
|
-
"help": "Dracosh: a vocabulary and quiz trainer for your terminal\n\nUsage: dracosh [options]\n dracosh import <file|-> add cards from a file (.txt, .csv, .tsv, an Anki .apkg or .colpkg, Anki or Quizlet text exports, a .json backup), or \"-\" for standard input\n dracosh export <file> write your decks to .apkg (Anki), .txt, .tsv, .csv or .json (everything)\n dracosh restore [number] list your backups, or bring one back\n\n --deck <name> quiz this deck, this run only (otherwise the one picked in /decks);\n with import or export: the deck to fill or write\n --every <time> pause between questions: 30s, 10m, 1h (default: {interval})\n --no-sound turn sound effects off\n --volume <0-1> sound volume (default: {volume})\n --stats print progress and exit\n --data show where your cards, progress and backups are kept\n --preview browse every animation and screen on made-up data (nothing is saved)\n --update import: cards already there take the file's answers (otherwise you're asked)\n --split import: an answer listing several (\"cat, kitty\") becomes one answer each\n --separator <s> import: what splits the columns: tab, comma, semicolon, pipe, colon, space or a character\n --encoding <e> import: a file that isn't UTF-8, e.g. windows-1250\n --anki import or export: straight from or to a running Anki (AnkiConnect add-on)\n -y, --yes import, export or restore without asking first\n -h, --help show this help\n\nFlags override your saved settings for this run only. Change the saved ones with /settings.\n\nWhile running: Enter submits (with nothing typed it shows the answer, then 1 or 2), \"/\" opens the command menu (/add, /decks, /settings, /stats, /help…),\nEsc quits (clears the line first if you typed something). Ctrl+C also works.\nBetween cards: Enter asks the next one right away, q quits. /help explains the rest.",
|
|
826
|
+
"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 dracosh doctor check sound, voices, notifications, AI and your data\n dracosh bug report a bug: opens a GitHub issue filled in with your system's details\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.",
|
|
818
827
|
"badEvery": "Invalid --every \"{value}\". Use e.g. 30s, 10m, 1h.",
|
|
819
828
|
"badVolume": "Invalid --volume \"{value}\". Use a number from 0 to 1.",
|
|
820
829
|
"unknownCommand": "Unknown command \"{command}\". See dracosh --help.",
|
|
@@ -875,7 +884,36 @@
|
|
|
875
884
|
"other": "{count} backups"
|
|
876
885
|
},
|
|
877
886
|
"unknownOption": "Unknown option {option}. See dracosh --help.",
|
|
878
|
-
"oneFile": "dracosh {command} takes one file at a time."
|
|
887
|
+
"oneFile": "dracosh {command} takes one file at a time.",
|
|
888
|
+
"doctor": {
|
|
889
|
+
"title": "Dracosh doctor: what works on this computer",
|
|
890
|
+
"data": "Data",
|
|
891
|
+
"dataNew": "{home} (not created yet: made on first start)",
|
|
892
|
+
"dataReadOnly": "{home} can't be written to: check its permissions",
|
|
893
|
+
"nodeOld": "{version}: Dracosh needs Node {needed} or newer",
|
|
894
|
+
"noSoundWindows": "not on Windows",
|
|
895
|
+
"noPlayer": "no player found: install paplay, aplay or ffplay",
|
|
896
|
+
"notifications": "Notifications",
|
|
897
|
+
"notifier": {
|
|
898
|
+
"osascript": "Notification Center",
|
|
899
|
+
"notify-send": "desktop notifications (notify-send)",
|
|
900
|
+
"bell": "the terminal's bell",
|
|
901
|
+
"bellLinux": "the terminal's bell: install notify-send (libnotify) for desktop notifications"
|
|
902
|
+
},
|
|
903
|
+
"noSpeech": "no system voice found: install espeak-ng",
|
|
904
|
+
"noMp3Player": "{voice} needs a player for its files: install ffplay (ffmpeg) or paplay",
|
|
905
|
+
"aiNoModel": "{label}: the server doesn't offer {model}, pick another in /settings → AI help",
|
|
906
|
+
"allGood": "All good.",
|
|
907
|
+
"problems": {
|
|
908
|
+
"one": "{count} thing to fix.",
|
|
909
|
+
"other": "{count} things to fix."
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
"bug": {
|
|
913
|
+
"checking": "Collecting system details for the report…",
|
|
914
|
+
"opened": "A new GitHub issue is open in your browser, filled in with your system's details: no cards, no keys, your home folder written as ~. Say what happened and submit it; nothing is sent until you do. The issue's address:",
|
|
915
|
+
"notOpened": "No browser opened. To report the problem, open this address: the issue is filled in with your system's details (no cards, no keys, your home folder written as ~), and nothing is sent until you submit it."
|
|
916
|
+
}
|
|
879
917
|
},
|
|
880
918
|
"tips": {
|
|
881
919
|
"keys-enter": {
|
|
@@ -1014,7 +1052,7 @@
|
|
|
1014
1052
|
"preview": {
|
|
1015
1053
|
"title": "Preview",
|
|
1016
1054
|
"subtitle": " made-up data · nothing is saved",
|
|
1017
|
-
"keys": "↑/↓ choose · enter play · esc quit",
|
|
1055
|
+
"keys": "↑/↓ choose · enter play · t theme · esc quit",
|
|
1018
1056
|
"replay": "enter replay · esc back",
|
|
1019
1057
|
"evolution": "Evolution → {name}",
|
|
1020
1058
|
"evolutionHint": "reached at a {count}-day best streak",
|
|
@@ -1623,10 +1661,10 @@
|
|
|
1623
1661
|
"title": "Voice",
|
|
1624
1662
|
"note": "The voice that reads words aloud when Read aloud is on. ElevenLabs is optional: each word is generated once and kept on this computer, so you pay once per new card, not per review.",
|
|
1625
1663
|
"now": "Now: {label}",
|
|
1626
|
-
"system": "
|
|
1627
|
-
"systemNote": "free,
|
|
1664
|
+
"system": "System voices",
|
|
1665
|
+
"systemNote": "free, no internet needed",
|
|
1628
1666
|
"elevenNote": "natural voices, your own key, paid per character",
|
|
1629
|
-
"systemSet": "Words are read by
|
|
1667
|
+
"systemSet": "Words are read by system voices again.",
|
|
1630
1668
|
"keyTitle": "ElevenLabs key",
|
|
1631
1669
|
"keyNote": "Get a key at {site}; ElevenLabs bills you for what you use. Paste it here: it's kept in your Dracosh folder, readable by you only, and never goes into backups or exports. Or set {env} in your shell instead.",
|
|
1632
1670
|
"pickTitle": "Pick a voice",
|
|
@@ -1635,8 +1673,8 @@
|
|
|
1635
1673
|
"noVoices": "Your ElevenLabs account has no voices to pick. Add one on elevenlabs.io, then come back.",
|
|
1636
1674
|
"current": "current",
|
|
1637
1675
|
"checking": "Reading a sample with {label}…",
|
|
1638
|
-
"ready": "Words are read by {label}. Languages it can't speak stay with
|
|
1639
|
-
"readyOn": "Read aloud is on: words are read by {label}. Languages it can't speak stay with
|
|
1676
|
+
"ready": "Words are read by {label}. Languages it can't speak stay with system voices.",
|
|
1677
|
+
"readyOn": "Read aloud is on: words are read by {label}. Languages it can't speak stay with system voices.",
|
|
1640
1678
|
"failedTitle": "{label} isn't working",
|
|
1641
1679
|
"otherVoice": "Pick another voice",
|
|
1642
1680
|
"sample": "Hello! I'll read your words aloud.",
|
|
@@ -1647,10 +1685,10 @@
|
|
|
1647
1685
|
"noVoice": "ElevenLabs no longer has this voice: pick another."
|
|
1648
1686
|
},
|
|
1649
1687
|
"errors": {
|
|
1650
|
-
"noKey": "No ElevenLabs key: add one in /settings → Voice, or set {env}. Words are read by
|
|
1651
|
-
"badKey": "ElevenLabs didn't accept the key. Paste a new one in /settings → Voice. Words are read by
|
|
1652
|
-
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site. Words are read by
|
|
1653
|
-
"noVoice": "ElevenLabs no longer has this voice: pick another in /settings → Voice. Words are read by
|
|
1688
|
+
"noKey": "No ElevenLabs key: add one in /settings → Voice, or set {env}. Words are read by system voices for now.",
|
|
1689
|
+
"badKey": "ElevenLabs didn't accept the key. Paste a new one in /settings → Voice. Words are read by system voices for now.",
|
|
1690
|
+
"noCredit": "ElevenLabs says the account is out of credit: top it up on its site. Words are read by system voices for now.",
|
|
1691
|
+
"noVoice": "ElevenLabs no longer has this voice: pick another in /settings → Voice. Words are read by system voices for now.",
|
|
1654
1692
|
"rateLimit": "ElevenLabs says too many requests: wait a moment and try again.",
|
|
1655
1693
|
"offline": "Can't reach ElevenLabs. Are you online?",
|
|
1656
1694
|
"timeout": "ElevenLabs took too long to answer.",
|
package/locales/fr.json
CHANGED
|
@@ -104,6 +104,10 @@
|
|
|
104
104
|
"label": "Langue de l'appli",
|
|
105
105
|
"hint": "la langue de Dracosh ; la visite change aussi"
|
|
106
106
|
},
|
|
107
|
+
"theme": {
|
|
108
|
+
"label": "Thème",
|
|
109
|
+
"hint": "auto suit le fond de ton terminal ; choisis sombre ou clair s'il se trompe"
|
|
110
|
+
},
|
|
107
111
|
"homeLanguage": {
|
|
108
112
|
"label": "Ta langue",
|
|
109
113
|
"hint": "la langue que tu parles : elle indique quel côté d'une carte est nouveau pour toi"
|
|
@@ -130,7 +134,7 @@
|
|
|
130
134
|
},
|
|
131
135
|
"voice": {
|
|
132
136
|
"label": "Voix",
|
|
133
|
-
"hint": "qui lit les mots : les voix
|
|
137
|
+
"hint": "qui lit les mots : les voix du système, ou une voix naturelle d'ElevenLabs avec ta propre clé"
|
|
134
138
|
},
|
|
135
139
|
"volume": {
|
|
136
140
|
"label": "Volume",
|
|
@@ -169,6 +173,11 @@
|
|
|
169
173
|
"sometimes": "parfois (1 attente sur 3)",
|
|
170
174
|
"off": "non"
|
|
171
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "auto",
|
|
178
|
+
"dark": "sombre",
|
|
179
|
+
"light": "clair"
|
|
180
|
+
},
|
|
172
181
|
"weekendsRest": "jours de repos",
|
|
173
182
|
"weekendsCount": "comme les autres jours",
|
|
174
183
|
"pressEnter": "appuie sur entrée",
|
|
@@ -876,7 +885,7 @@
|
|
|
876
885
|
"notInTrash": "Ce paquet n'est plus dans la corbeille."
|
|
877
886
|
},
|
|
878
887
|
"cli": {
|
|
879
|
-
"help": "Dracosh : un entraîneur de vocabulaire et de quiz pour ton terminal\n\nUsage : dracosh [options]\n dracosh import <fichier|-> ajouter des cartes depuis un fichier (.txt, .csv, .tsv, un paquet Anki .apkg ou .colpkg, exports texte Anki ou Quizlet, une sauvegarde .json), ou « - » pour l'entrée standard\n dracosh export <fichier> écrire tes paquets en .apkg (Anki), .txt, .tsv, .csv ou .json (tout)\n dracosh restore [numéro] liste tes sauvegardes, ou en restaure une\n\n --deck <nom> réviser ce paquet, pour cette fois seulement (sinon celui choisi dans /decks)\n avec import ou export : le paquet à remplir ou à écrire\n --every <durée> pause entre les questions : 30s, 10m, 1h (par défaut : {interval})\n --no-sound couper les sons\n --volume <0-1> volume du son (par défaut : {volume})\n --stats afficher la progression et quitter\n --data montrer où sont gardées tes cartes, ta progression et tes sauvegardes\n --preview parcourir toutes les animations et tous les écrans sur des données inventées (rien n'est enregistré)\n --update import : les cartes déjà là prennent les réponses du fichier (sinon on te demande)\n --split import : une réponse qui en liste plusieurs (« cat, kitty ») devient une réponse par mot\n --separator <s> import : ce qui sépare les colonnes : tab, comma, semicolon, pipe, colon, space ou un caractère\n --encoding <e> import : un fichier qui n'est pas en UTF-8, p. ex. windows-1252\n --anki import ou export : directement depuis ou vers un Anki ouvert (greffon AnkiConnect)\n -y, --yes importer, exporter ou restaurer sans demander\n -h, --help afficher cette aide\n\nLes options remplacent tes réglages enregistrés pour ce lancement seulement. Change-les pour de bon dans /settings.\n\nPendant l'utilisation : Entrée valide (à vide, elle montre la réponse, puis 1 ou 2), « / » ouvre le menu des commandes (/add, /decks, /settings, /stats, /help…),\nÉchap quitte (efface d'abord ce que tu as tapé). Ctrl+C marche aussi.\nEntre deux cartes : Entrée demande la suivante tout de suite, q quitte. /help explique le reste.",
|
|
888
|
+
"help": "Dracosh : un entraîneur de vocabulaire et de quiz pour ton terminal\n\nUsage : dracosh [options]\n dracosh import <fichier|-> ajouter des cartes depuis un fichier (.txt, .csv, .tsv, un paquet Anki .apkg ou .colpkg, exports texte Anki ou Quizlet, une sauvegarde .json), ou « - » pour l'entrée standard\n dracosh export <fichier> écrire tes paquets en .apkg (Anki), .txt, .tsv, .csv ou .json (tout)\n dracosh restore [numéro] liste tes sauvegardes, ou en restaure une\n dracosh doctor vérifier le son, les voix, les notifications, l'IA et tes données\n dracosh bug signaler un bug : ouvre un ticket GitHub rempli avec les infos de ton système\n\n --deck <nom> réviser ce paquet, pour cette fois seulement (sinon celui choisi dans /decks)\n avec import ou export : le paquet à remplir ou à écrire\n --every <durée> pause entre les questions : 30s, 10m, 1h (par défaut : {interval})\n --no-sound couper les sons\n --volume <0-1> volume du son (par défaut : {volume})\n --stats afficher la progression et quitter\n --data montrer où sont gardées tes cartes, ta progression et tes sauvegardes\n --preview parcourir toutes les animations et tous les écrans sur des données inventées (rien n'est enregistré)\n --update import : les cartes déjà là prennent les réponses du fichier (sinon on te demande)\n --split import : une réponse qui en liste plusieurs (« cat, kitty ») devient une réponse par mot\n --separator <s> import : ce qui sépare les colonnes : tab, comma, semicolon, pipe, colon, space ou un caractère\n --encoding <e> import : un fichier qui n'est pas en UTF-8, p. ex. windows-1252\n --anki import ou export : directement depuis ou vers un Anki ouvert (greffon AnkiConnect)\n -y, --yes importer, exporter ou restaurer sans demander\n -h, --help afficher cette aide\n\nLes options remplacent tes réglages enregistrés pour ce lancement seulement. Change-les pour de bon dans /settings.\n\nPendant l'utilisation : Entrée valide (à vide, elle montre la réponse, puis 1 ou 2), « / » ouvre le menu des commandes (/add, /decks, /settings, /stats, /help…),\nÉchap quitte (efface d'abord ce que tu as tapé). Ctrl+C marche aussi.\nEntre deux cartes : Entrée demande la suivante tout de suite, q quitte. /help explique le reste.",
|
|
880
889
|
"badEvery": "--every « {value} » invalide. Utilise par ex. 30s, 10m, 1h.",
|
|
881
890
|
"badVolume": "--volume « {value} » invalide. Utilise un nombre de 0 à 1.",
|
|
882
891
|
"unknownCommand": "Commande inconnue « {command} ». Voir dracosh --help.",
|
|
@@ -943,7 +952,37 @@
|
|
|
943
952
|
"other": "{count} sauvegardes"
|
|
944
953
|
},
|
|
945
954
|
"unknownOption": "Option inconnue {option}. Voir dracosh --help.",
|
|
946
|
-
"oneFile": "dracosh {command} prend un fichier à la fois."
|
|
955
|
+
"oneFile": "dracosh {command} prend un fichier à la fois.",
|
|
956
|
+
"doctor": {
|
|
957
|
+
"title": "Dracosh doctor : ce qui marche sur cet ordinateur",
|
|
958
|
+
"data": "Données",
|
|
959
|
+
"dataNew": "{home} (pas encore créé : le premier lancement s'en charge)",
|
|
960
|
+
"dataReadOnly": "impossible d'écrire dans {home} : vérifie ses droits",
|
|
961
|
+
"nodeOld": "{version} : Dracosh a besoin de Node {needed} ou plus récent",
|
|
962
|
+
"noSoundWindows": "pas sous Windows",
|
|
963
|
+
"noPlayer": "aucun lecteur trouvé : installe paplay, aplay ou ffplay",
|
|
964
|
+
"notifications": "Notifications",
|
|
965
|
+
"notifier": {
|
|
966
|
+
"osascript": "Centre de notifications",
|
|
967
|
+
"notify-send": "notifications du bureau (notify-send)",
|
|
968
|
+
"bell": "la sonnerie du terminal",
|
|
969
|
+
"bellLinux": "la sonnerie du terminal : installe notify-send (libnotify) pour les notifications du bureau"
|
|
970
|
+
},
|
|
971
|
+
"noSpeech": "aucune voix du système trouvée : installe espeak-ng",
|
|
972
|
+
"noMp3Player": "{voice} a besoin d'un lecteur pour ses fichiers : installe ffplay (ffmpeg) ou paplay",
|
|
973
|
+
"aiNoModel": "{label} : le serveur ne propose pas {model}, choisis-en un autre dans /settings → Aide IA",
|
|
974
|
+
"allGood": "Tout va bien.",
|
|
975
|
+
"problems": {
|
|
976
|
+
"one": "{count} chose à corriger.",
|
|
977
|
+
"many": "{count} choses à corriger.",
|
|
978
|
+
"other": "{count} choses à corriger."
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"bug": {
|
|
982
|
+
"checking": "Je récupère les infos du système pour le ticket…",
|
|
983
|
+
"opened": "Un nouveau ticket GitHub est ouvert dans ton navigateur, rempli avec les infos de ton système : pas de cartes, pas de clés, ton dossier personnel remplacé par ~. Décris ce qui s'est passé et envoie-le ; rien n'est envoyé avant. Adresse du ticket :",
|
|
984
|
+
"notOpened": "Impossible d'ouvrir un navigateur. Pour signaler le problème, ouvre cette adresse : le ticket est rempli avec les infos de ton système (pas de cartes, pas de clés, ton dossier personnel remplacé par ~), et rien n'est envoyé tant que tu ne l'as pas soumis."
|
|
985
|
+
}
|
|
947
986
|
},
|
|
948
987
|
"tips": {
|
|
949
988
|
"keys-enter": {
|
|
@@ -1082,7 +1121,7 @@
|
|
|
1082
1121
|
"preview": {
|
|
1083
1122
|
"title": "Aperçu",
|
|
1084
1123
|
"subtitle": " données inventées · rien n'est enregistré",
|
|
1085
|
-
"keys": "↑/↓ choisir · entrée lancer · échap quitter",
|
|
1124
|
+
"keys": "↑/↓ choisir · entrée lancer · t thème · échap quitter",
|
|
1086
1125
|
"replay": "entrée rejouer · échap retour",
|
|
1087
1126
|
"evolution": "Évolution → {name}",
|
|
1088
1127
|
"evolutionHint": {
|
|
@@ -1729,10 +1768,10 @@
|
|
|
1729
1768
|
"title": "Voix",
|
|
1730
1769
|
"note": "La voix qui lit les mots quand la prononciation est activée. ElevenLabs est facultatif : chaque mot est créé une fois et gardé sur cet ordinateur, tu paies donc une fois par nouvelle carte, pas à chaque révision.",
|
|
1731
1770
|
"now": "Actuellement : {label}",
|
|
1732
|
-
"system": "Voix
|
|
1733
|
-
"systemNote": "gratuites,
|
|
1771
|
+
"system": "Voix du système",
|
|
1772
|
+
"systemNote": "gratuites, sans internet",
|
|
1734
1773
|
"elevenNote": "voix naturelles, ta clé, facturation au caractère",
|
|
1735
|
-
"systemSet": "Les mots sont de nouveau lus par les voix
|
|
1774
|
+
"systemSet": "Les mots sont de nouveau lus par les voix du système.",
|
|
1736
1775
|
"keyTitle": "Clé ElevenLabs",
|
|
1737
1776
|
"keyNote": "Crée une clé sur {site} ; ElevenLabs te facture l'utilisation. Colle-la ici : elle reste dans ton dossier Dracosh, lisible par ton compte uniquement, et n'est jamais incluse dans les sauvegardes ni les exports. Tu peux aussi définir {env} dans ton shell.",
|
|
1738
1777
|
"pickTitle": "Choisis une voix",
|
|
@@ -1741,8 +1780,8 @@
|
|
|
1741
1780
|
"noVoices": "Ton compte ElevenLabs n'a aucune voix à choisir. Ajoute-en une sur elevenlabs.io, puis reviens ici.",
|
|
1742
1781
|
"current": "actuelle",
|
|
1743
1782
|
"checking": "Lecture d'un extrait avec {label}…",
|
|
1744
|
-
"ready": "Les mots sont lus par {label}. Les langues que cette voix ne parle pas restent confiées aux voix
|
|
1745
|
-
"readyOn": "Prononciation activée : les mots sont lus par {label}. Les langues que cette voix ne parle pas restent confiées aux voix
|
|
1783
|
+
"ready": "Les mots sont lus par {label}. Les langues que cette voix ne parle pas restent confiées aux voix du système.",
|
|
1784
|
+
"readyOn": "Prononciation activée : les mots sont lus par {label}. Les langues que cette voix ne parle pas restent confiées aux voix du système.",
|
|
1746
1785
|
"failedTitle": "{label} ne fonctionne pas",
|
|
1747
1786
|
"otherVoice": "Choisir une autre voix",
|
|
1748
1787
|
"sample": "Bonjour ! Je vais lire tes mots à voix haute.",
|
|
@@ -1753,10 +1792,10 @@
|
|
|
1753
1792
|
"noVoice": "ElevenLabs n'a plus cette voix : choisis-en une autre."
|
|
1754
1793
|
},
|
|
1755
1794
|
"errors": {
|
|
1756
|
-
"noKey": "Pas de clé ElevenLabs : ajoute-en une dans /settings → Voix, ou définis {env}. En attendant, les voix
|
|
1757
|
-
"badKey": "ElevenLabs n'a pas accepté la clé. Colle une nouvelle clé dans /settings → Voix. En attendant, les voix
|
|
1758
|
-
"noCredit": "ElevenLabs : plus de crédit sur le compte. Recharge-le sur le site d'ElevenLabs. En attendant, les voix
|
|
1759
|
-
"noVoice": "ElevenLabs n'a plus cette voix : choisis-en une autre dans /settings → Voix. En attendant, les voix
|
|
1795
|
+
"noKey": "Pas de clé ElevenLabs : ajoute-en une dans /settings → Voix, ou définis {env}. En attendant, les voix du système lisent les mots.",
|
|
1796
|
+
"badKey": "ElevenLabs n'a pas accepté la clé. Colle une nouvelle clé dans /settings → Voix. En attendant, les voix du système lisent les mots.",
|
|
1797
|
+
"noCredit": "ElevenLabs : plus de crédit sur le compte. Recharge-le sur le site d'ElevenLabs. En attendant, les voix du système lisent les mots.",
|
|
1798
|
+
"noVoice": "ElevenLabs n'a plus cette voix : choisis-en une autre dans /settings → Voix. En attendant, les voix du système lisent les mots.",
|
|
1760
1799
|
"rateLimit": "ElevenLabs signale trop de requêtes : attends un peu et réessaie.",
|
|
1761
1800
|
"offline": "Impossible de joindre ElevenLabs. Es-tu en ligne ?",
|
|
1762
1801
|
"timeout": "ElevenLabs a mis trop de temps à répondre.",
|
package/locales/pl.json
CHANGED
|
@@ -104,6 +104,10 @@
|
|
|
104
104
|
"label": "Język aplikacji",
|
|
105
105
|
"hint": "język Dracosha; samouczek też się przełączy"
|
|
106
106
|
},
|
|
107
|
+
"theme": {
|
|
108
|
+
"label": "Motyw",
|
|
109
|
+
"hint": "automatyczny dopasowuje się do tła terminala; wybierz ciemny albo jasny, jeśli się pomyli"
|
|
110
|
+
},
|
|
107
111
|
"homeLanguage": {
|
|
108
112
|
"label": "Twój język",
|
|
109
113
|
"hint": "język, którym mówisz: po nim widać, która strona karty jest dla ciebie nowa"
|
|
@@ -130,7 +134,7 @@
|
|
|
130
134
|
},
|
|
131
135
|
"voice": {
|
|
132
136
|
"label": "Głos",
|
|
133
|
-
"hint": "kto czyta słowa: głosy
|
|
137
|
+
"hint": "kto czyta słowa: głosy systemowe albo naturalny głos ElevenLabs (z twoim kluczem)"
|
|
134
138
|
},
|
|
135
139
|
"volume": {
|
|
136
140
|
"label": "Głośność",
|
|
@@ -169,6 +173,11 @@
|
|
|
169
173
|
"sometimes": "czasem (co trzecie czekanie)",
|
|
170
174
|
"off": "wył."
|
|
171
175
|
},
|
|
176
|
+
"themes": {
|
|
177
|
+
"auto": "automatyczny",
|
|
178
|
+
"dark": "ciemny",
|
|
179
|
+
"light": "jasny"
|
|
180
|
+
},
|
|
172
181
|
"weekendsRest": "dni wolne",
|
|
173
182
|
"weekendsCount": "jak inne dni",
|
|
174
183
|
"pressEnter": "naciśnij enter",
|
|
@@ -905,7 +914,7 @@
|
|
|
905
914
|
"notInTrash": "Tej talii nie ma już w koszu."
|
|
906
915
|
},
|
|
907
916
|
"cli": {
|
|
908
|
-
"help": "Dracosh: trener słówek i quizów w terminalu\n\nUżycie: dracosh [opcje]\n dracosh import <plik|-> dodaj karty z pliku (.txt, .csv, .tsv, pakiet Anki .apkg lub .colpkg, eksporty tekstowe z Anki i Quizletu, kopia .json) albo „-” ze standardowego wejścia\n dracosh export <plik> zapisz talie do .apkg (Anki), .txt, .tsv, .csv albo .json (wszystko)\n dracosh restore [numer] lista kopii zapasowych albo przywrócenie jednej z nich\n\n --deck <nazwa> quiz z tej talii, tylko tym razem (inaczej ta wybrana w /decks)\n przy import i export: talia do uzupełnienia albo zapisania\n --every <czas> odstęp między pytaniami: 30s, 10m, 1h (domyślnie: {interval})\n --no-sound wyłącz dźwięki\n --volume <0-1> głośność (domyślnie: {volume})\n --stats wypisz postępy i zakończ\n --data pokaż, gdzie są karty, postępy i kopie zapasowe\n --preview obejrzyj wszystkie animacje i ekrany na zmyślonych danych (nic się nie zapisuje)\n --update import: karty, które już są, dostają odpowiedzi z pliku (inaczej pytanie)\n --split import: odpowiedź z kilkoma wariantami („cat, kitty”) staje się kilkoma odpowiedziami\n --separator <s> import: co dzieli kolumny: tab, comma, semicolon, pipe, colon, space albo znak\n --encoding <e> import: plik, który nie jest w UTF-8, np. windows-1250\n --anki import albo eksport: prosto z działającego Anki albo do niego (dodatek AnkiConnect)\n -y, --yes import, eksport albo przywrócenie bez pytania\n -h, --help pokaż tę pomoc\n\nOpcje zmieniają zapisane ustawienia tylko na to uruchomienie. Zapisane zmienisz w /settings.\n\nW trakcie: Enter wysyła (pusty pokazuje odpowiedź, potem 1 albo 2), „/” otwiera menu komend (/add, /decks, /settings, /stats, /help…),\nEsc wychodzi (najpierw czyści wpisany tekst). Ctrl+C też działa.\nMiędzy kartami: Enter od razu zadaje następną, q wychodzi. Resztę wyjaśnia /help.",
|
|
917
|
+
"help": "Dracosh: trener słówek i quizów w terminalu\n\nUżycie: dracosh [opcje]\n dracosh import <plik|-> dodaj karty z pliku (.txt, .csv, .tsv, pakiet Anki .apkg lub .colpkg, eksporty tekstowe z Anki i Quizletu, kopia .json) albo „-” ze standardowego wejścia\n dracosh export <plik> zapisz talie do .apkg (Anki), .txt, .tsv, .csv albo .json (wszystko)\n dracosh restore [numer] lista kopii zapasowych albo przywrócenie jednej z nich\n dracosh doctor sprawdź dźwięk, głosy, powiadomienia, AI i twoje dane\n dracosh bug zgłoś błąd: otwiera zgłoszenie na GitHubie z danymi o twoim systemie\n\n --deck <nazwa> quiz z tej talii, tylko tym razem (inaczej ta wybrana w /decks)\n przy import i export: talia do uzupełnienia albo zapisania\n --every <czas> odstęp między pytaniami: 30s, 10m, 1h (domyślnie: {interval})\n --no-sound wyłącz dźwięki\n --volume <0-1> głośność (domyślnie: {volume})\n --stats wypisz postępy i zakończ\n --data pokaż, gdzie są karty, postępy i kopie zapasowe\n --preview obejrzyj wszystkie animacje i ekrany na zmyślonych danych (nic się nie zapisuje)\n --update import: karty, które już są, dostają odpowiedzi z pliku (inaczej pytanie)\n --split import: odpowiedź z kilkoma wariantami („cat, kitty”) staje się kilkoma odpowiedziami\n --separator <s> import: co dzieli kolumny: tab, comma, semicolon, pipe, colon, space albo znak\n --encoding <e> import: plik, który nie jest w UTF-8, np. windows-1250\n --anki import albo eksport: prosto z działającego Anki albo do niego (dodatek AnkiConnect)\n -y, --yes import, eksport albo przywrócenie bez pytania\n -h, --help pokaż tę pomoc\n\nOpcje zmieniają zapisane ustawienia tylko na to uruchomienie. Zapisane zmienisz w /settings.\n\nW trakcie: Enter wysyła (pusty pokazuje odpowiedź, potem 1 albo 2), „/” otwiera menu komend (/add, /decks, /settings, /stats, /help…),\nEsc wychodzi (najpierw czyści wpisany tekst). Ctrl+C też działa.\nMiędzy kartami: Enter od razu zadaje następną, q wychodzi. Resztę wyjaśnia /help.",
|
|
909
918
|
"badEvery": "Niepoprawne --every „{value}”. Użyj np. 30s, 10m, 1h.",
|
|
910
919
|
"badVolume": "Niepoprawne --volume „{value}”. Podaj liczbę od 0 do 1.",
|
|
911
920
|
"unknownCommand": "Nieznana komenda „{command}”. Zobacz dracosh --help.",
|
|
@@ -975,7 +984,38 @@
|
|
|
975
984
|
"other": "{count} kopii zapasowej"
|
|
976
985
|
},
|
|
977
986
|
"unknownOption": "Nieznana opcja {option}. Zobacz dracosh --help.",
|
|
978
|
-
"oneFile": "dracosh {command} przyjmuje jeden plik naraz."
|
|
987
|
+
"oneFile": "dracosh {command} przyjmuje jeden plik naraz.",
|
|
988
|
+
"doctor": {
|
|
989
|
+
"title": "Dracosh doctor: co działa na tym komputerze",
|
|
990
|
+
"data": "Dane",
|
|
991
|
+
"dataNew": "{home} (jeszcze nie ma: powstanie przy pierwszym uruchomieniu)",
|
|
992
|
+
"dataReadOnly": "nie da się zapisywać w {home}: sprawdź uprawnienia",
|
|
993
|
+
"nodeOld": "{version}: Dracosh potrzebuje Node {needed} lub nowszego",
|
|
994
|
+
"noSoundWindows": "nie na Windowsie",
|
|
995
|
+
"noPlayer": "brak odtwarzacza: zainstaluj paplay, aplay albo ffplay",
|
|
996
|
+
"notifications": "Powiadomienia",
|
|
997
|
+
"notifier": {
|
|
998
|
+
"osascript": "Centrum powiadomień",
|
|
999
|
+
"notify-send": "powiadomienia na pulpicie (notify-send)",
|
|
1000
|
+
"bell": "dzwonek terminala",
|
|
1001
|
+
"bellLinux": "dzwonek terminala: zainstaluj notify-send (libnotify), żeby dostawać powiadomienia na pulpicie"
|
|
1002
|
+
},
|
|
1003
|
+
"noSpeech": "brak głosu systemowego: zainstaluj espeak-ng",
|
|
1004
|
+
"noMp3Player": "{voice} potrzebuje odtwarzacza do swoich plików: zainstaluj ffplay (ffmpeg) albo paplay",
|
|
1005
|
+
"aiNoModel": "{label}: serwer nie ma modelu {model}, wybierz inny w /settings → Pomoc AI",
|
|
1006
|
+
"allGood": "Wszystko w porządku.",
|
|
1007
|
+
"problems": {
|
|
1008
|
+
"one": "{count} rzecz do naprawy.",
|
|
1009
|
+
"few": "{count} rzeczy do naprawy.",
|
|
1010
|
+
"many": "{count} rzeczy do naprawy.",
|
|
1011
|
+
"other": "{count} rzeczy do naprawy."
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
"bug": {
|
|
1015
|
+
"checking": "Zbieram dane o systemie do zgłoszenia…",
|
|
1016
|
+
"opened": "W przeglądarce otworzyło się nowe zgłoszenie na GitHubie z danymi o twoim systemie: bez kart i kluczy, folder domowy zapisany jako ~. Opisz, co się stało, i wyślij; nic nie zostanie wysłane, dopóki tego nie zrobisz. Adres zgłoszenia:",
|
|
1017
|
+
"notOpened": "Nie udało się otworzyć przeglądarki. Żeby zgłosić problem, otwórz ten adres: zgłoszenie ma już dane o twoim systemie (bez kart i kluczy, folder domowy zapisany jako ~), a na GitHub trafi dopiero wtedy, gdy je wyślesz."
|
|
1018
|
+
}
|
|
979
1019
|
},
|
|
980
1020
|
"tips": {
|
|
981
1021
|
"keys-enter": {
|
|
@@ -1114,7 +1154,7 @@
|
|
|
1114
1154
|
"preview": {
|
|
1115
1155
|
"title": "Podgląd",
|
|
1116
1156
|
"subtitle": " zmyślone dane · nic się nie zapisuje",
|
|
1117
|
-
"keys": "↑/↓ wybierz · enter odtwórz · esc wyjdź",
|
|
1157
|
+
"keys": "↑/↓ wybierz · enter odtwórz · t motyw · esc wyjdź",
|
|
1118
1158
|
"replay": "enter jeszcze raz · esc wstecz",
|
|
1119
1159
|
"evolution": "Ewolucja → {name}",
|
|
1120
1160
|
"evolutionHint": {
|
|
@@ -1793,10 +1833,10 @@
|
|
|
1793
1833
|
"title": "Głos",
|
|
1794
1834
|
"note": "Głos, który czyta słowa, gdy wymowa jest włączona. ElevenLabs jest opcjonalny: każde słowo powstaje raz i zostaje na tym komputerze, więc płacisz raz za nową kartę, a nie za każdą powtórkę.",
|
|
1795
1835
|
"now": "Teraz: {label}",
|
|
1796
|
-
"system": "Głosy
|
|
1797
|
-
"systemNote": "za darmo,
|
|
1836
|
+
"system": "Głosy systemowe",
|
|
1837
|
+
"systemNote": "za darmo, bez internetu",
|
|
1798
1838
|
"elevenNote": "naturalne głosy, twój klucz, płatne od znaku",
|
|
1799
|
-
"systemSet": "Słowa znów czytają głosy
|
|
1839
|
+
"systemSet": "Słowa znów czytają głosy systemowe.",
|
|
1800
1840
|
"keyTitle": "Klucz ElevenLabs",
|
|
1801
1841
|
"keyNote": "Klucz utworzysz na {site}; ElevenLabs rozlicza cię za użycie. Wklej go tutaj: zostaje w folderze Dracosha, dostępny tylko dla ciebie, i nigdy nie trafia do kopii zapasowych ani eksportu. Możesz też zamiast tego ustawić {env} w powłoce.",
|
|
1802
1842
|
"pickTitle": "Wybierz głos",
|
|
@@ -1805,8 +1845,8 @@
|
|
|
1805
1845
|
"noVoices": "Na twoim koncie ElevenLabs nie ma głosów do wyboru. Dodaj jakiś na elevenlabs.io i wróć tutaj.",
|
|
1806
1846
|
"current": "obecny",
|
|
1807
1847
|
"checking": "Czytanie próbki głosem {label}…",
|
|
1808
|
-
"ready": "Słowa czyta {label}. Języki, których ten głos nie zna, zostają przy głosach
|
|
1809
|
-
"readyOn": "Wymowa włączona: słowa czyta {label}. Języki, których ten głos nie zna, zostają przy głosach
|
|
1848
|
+
"ready": "Słowa czyta {label}. Języki, których ten głos nie zna, zostają przy głosach systemowych.",
|
|
1849
|
+
"readyOn": "Wymowa włączona: słowa czyta {label}. Języki, których ten głos nie zna, zostają przy głosach systemowych.",
|
|
1810
1850
|
"failedTitle": "{label} nie działa",
|
|
1811
1851
|
"otherVoice": "Wybierz inny głos",
|
|
1812
1852
|
"sample": "Cześć! Będę czytać twoje słowa na głos.",
|
|
@@ -1817,10 +1857,10 @@
|
|
|
1817
1857
|
"noVoice": "ElevenLabs nie ma już tego głosu: wybierz inny."
|
|
1818
1858
|
},
|
|
1819
1859
|
"errors": {
|
|
1820
|
-
"noKey": "Brak klucza ElevenLabs: dodaj go w /settings → Głos albo ustaw {env}. Na razie słowa czytają głosy
|
|
1821
|
-
"badKey": "ElevenLabs nie przyjął klucza. Wklej nowy w /settings → Głos. Na razie słowa czytają głosy
|
|
1822
|
-
"noCredit": "ElevenLabs: na koncie skończyły się środki. Doładuj konto na stronie ElevenLabs. Na razie słowa czytają głosy
|
|
1823
|
-
"noVoice": "ElevenLabs nie ma już tego głosu: wybierz inny w /settings → Głos. Na razie słowa czytają głosy
|
|
1860
|
+
"noKey": "Brak klucza ElevenLabs: dodaj go w /settings → Głos albo ustaw {env}. Na razie słowa czytają głosy systemowe.",
|
|
1861
|
+
"badKey": "ElevenLabs nie przyjął klucza. Wklej nowy w /settings → Głos. Na razie słowa czytają głosy systemowe.",
|
|
1862
|
+
"noCredit": "ElevenLabs: na koncie skończyły się środki. Doładuj konto na stronie ElevenLabs. Na razie słowa czytają głosy systemowe.",
|
|
1863
|
+
"noVoice": "ElevenLabs nie ma już tego głosu: wybierz inny w /settings → Głos. Na razie słowa czytają głosy systemowe.",
|
|
1824
1864
|
"rateLimit": "ElevenLabs: za dużo zapytań. Odczekaj chwilę i spróbuj ponownie.",
|
|
1825
1865
|
"offline": "Brak połączenia z ElevenLabs. Czy jest internet?",
|
|
1826
1866
|
"timeout": "ElevenLabs zbyt długo nie odpowiada.",
|