Repository navigation
feat(decks): 116 more lessons per language, Portuguese phrases, one file per theme - #33
Merged
Merged
Conversation
* English and Spanish: telefone, saúde, emergência, social and compras go from 2-13 items to 16-26, each new phrase with short / complete / polished answers, an A1-B1 level and accepted variants * Spanish for English speakers: all 68 translated in decks/i18n/es.en.toml * Portuguese for English speakers: 25 first words and chunks (emergencies, shopping, health, the phone), each with its polished sentence * compras now climbs A2 and B1 in both languages: two rungs off LADDER_GAPS Refs #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* decks/pt.toml: the same 68 situations (telefone, saúde, emergência, social, compras) with short / complete / polished answers, A1-B1, plus 16 general tips; pt.basics.toml keeps the first words and chunks * the pt-BR deck is no longer first steps only: its test now asks for full phrases and tips instead of forbidding phrases Refs #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* decks/en, decks/es, decks/pt and decks/i18n/es.en: deck.toml holds the header and tips, each theme has its own file of phrases * learn/deck.rs joins them with `themed!` (concat of include_str!); a new theme file is one more name in that list * same decks as before: a dump of every built-in deck (phrases, tiers, meanings, tips) is identical before and after Refs #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s in English * en, es and pt: restaurante and viagem at A2, primeiros contatos at A2 and B1, saúde e social at B1, getting around (rotina e transporte), home and bank (casa e burocracia) and 10 everyday slang lines (gírias e conversa), each with short / complete / polished answers * Spanish for English speakers: all 48 translated in decks/i18n/es.en * every core topic now climbs pre-A1 to B1 in both pt-BR decks: LADDER_GAPS is empty * theme files are named in English (work.toml, health.toml); the topic keys inside stay pt-BR Refs #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #32 (base
release/v0.1.7).Why
Several themes in the panel had almost nothing to practice: for English at B2,
telefone3 items,saúde4,emergência5,social8,compras13. Ticking one of them repeated the same few phrases. Portuguese for English speakers was first words only.What
116 new lessons per language, the same real-life situations in each, every one with a polished answer, a short one where a shorter form is natural, an A1–B1 level, accepted variants and a tip where a false friend or pronunciation trap is likely.
decks/i18n/es.en/.decks/pt/, with 16 general tips, plus 25 more first words and chunks inpt.basics.toml. The pt-BR deck was first-steps only; its test now asks for full phrases instead of forbidding them.LADDER_GAPSis empty.One folder per language, one file per theme (
decks/en/work.toml,decks/es/health.toml,decks/pt/phone.toml,decks/i18n/es.en/…):deck.tomlholds the header and tips, each theme file holds its phrases, andthemed!inlearn/deck.rsjoins them at compile time. File names are English; thetopickeys inside stay pt-BR. The split itself changed nothing: a dump of every built-in deck (phrases, tiers, meanings, tips) was identical before and after.Tests
Run on Windows:
cargo fmt --checkandcargo clippy --all-targets -- -D warningsclean;cargo test: 509 lib + 26 CLI pass. The one failure,command_engine_passes_text_on_stdin_when_not_in_the_template, callsteeand fails the same way onmainon Windows. Not run:--no-default-featuresbuilds,make test-speech, CI.The deck tests cover the new content: tiers grow short → complete → polished, every item has two answers, no duplicates, everything renders in the pixel font, the Spanish overlay is complete, the first-steps files stay words and chunks.
Not checked by a native speaker. The Spanish is neutral Latin American (
curita,departamento,boleto,dale,¿qué onda?), with Spain variants inacceptor the tip. The slang is everyday and mild: nothing vulgar, nothing tied to one city.Closes #30
🤖 Generated with Claude Code