Modern words by default, classic as a setting #78

Merged
littlefox merged 2 commits from issue-54-modern-words into main 2026-10-17 20:36:24 +00:00
Owner

Closes #54 (D-030)

  • app/src/words.rs: modern sv/en for strings with classic terms; i18n::WORDS chooses.
  • User area words = modern | classic; unset → classic for elisp users, modern otherwise. Settings page choice, applied at once.
  • Specs updated to modern labels; new words.spec.ts; unit tests for the table and the default.

e2e 36/36 locally (after two label fixes).

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #54 (D-030) - app/src/words.rs: modern sv/en for strings with classic terms; i18n::WORDS chooses. - User area `words` = modern | classic; unset → classic for elisp users, modern otherwise. Settings page choice, applied at once. - Specs updated to modern labels; new words.spec.ts; unit tests for the table and the default. e2e 36/36 locally (after two label fixes). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Modern words by default, LysKOM's classic words as a setting (D-030)
Some checks are pending
ci / check (push) Has started running
ci / e2e (push) Has started running
ci / desktop (push) Has started running
7756ef7fea
The UI said möte, kommentar, markera and snabbkommentar (conference,
comment, mark, fast reply), which newcomers don't recognise. Now it
says kanal/channel, svar/reply, spara/save, reaktion/reaction,
chattmeddelande/chat message and "Allt läst"/"All caught up".

- app/src/words.rs: modern Swedish and English for every string with a
  classic term; the tr keys and English table stay as the classic
  vocabulary. i18n::WORDS picks one.
- Our user-area block gets `words` = modern | classic, chosen on the
  settings page and applied at once. Unset means classic for users
  with an `elisp` block (Emacs client veterans), modern otherwise.
- Specs use the modern labels; words.spec.ts switches to classic,
  checks it survives a new login, and switches back. Unit tests check
  the modern table against the keys and the elisp default.

Refs #54

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
words.spec.ts: classic words as a saved setting
All checks were successful
ci / check (push) Successful in 7m52s
ci / desktop (push) Successful in 9m12s
ci / e2e (push) Successful in 9m49s
edacb8af0c
The file was lost when the first attempt's shell was killed; this is
the test the previous commit describes.

Refs #54

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-18 14:33:48 +00:00
Sign in to join this conversation.
No description provided.