feat(app): extract the chat slice into i18n, en+ru (CLEAN-39) - #34
Merged
maksymhryzodub-prog merged 1 commit intoAug 19, 2026
Merged
Conversation
The history list, session detail, card and transcript bubble had no i18n
block at all. Adds one and moves every string out — including the ones
the scan could not see: the Sync/Syncing toggle, Show/Hide on a summary
marker, the 👍/👎 aria-labels, and the "Conversation" title fallback.
Two plural sets ("{count} message(s)", the free-slot counter's sibling)
go through the plural rules added in CLEAN-38, so ru gets its four
branches: нет сообщений | {count} сообщение | {count} сообщения |
{count} сообщений.
relative_time.* moves from the agent slice to common rather than being
duplicated: both slices render "5m ago" and the copy is generic. Key
paths are unchanged — vue-i18n merges slices into one global scope — so
the agent components needed no edit, and the sync script adopted the
already-translated keys into their new home instead of re-translating.
Timestamps now format against the active locale: fmt() reads `locale`
from useI18n, which is the one thing that composable is still for here —
the locale itself, never copy.
Verified: nuxt typecheck and nuxt build clean, i18n:check green over 6
slice/locale pairs, re-scan finds nothing hardcoded left in the slice.
Remaining across app: template (4 strings, CLEAN-40).
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
maksymhryzodub-prog
force-pushed
the
feat/CLEAN-39-i18n-chat-slice
branch
from
August 19, 2026 21:07
53104df to
b491d78
Compare
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.
Implements CLEAN-39 (subtask of CLEAN-33): https://dreamvention.atlassian.net/browse/CLEAN-39
Fourth in the stack —
main← #30 ← #31 ← #33 ← this.The history list, session detail, card and transcript bubble had no
i18nblock at all. Adds one and moves every string out, including several the scan could not see: the Sync/Syncing toggle, Show/Hide on a summary marker, the 👍/👎 aria-labels, and the"Conversation"title fallback built in script.Notable
relative_time.*moved tocommoninstead of being duplicated. Both the agent card and the chat card render "5m ago", and the copy is generic. Key paths are unchanged — vue-i18n merges slices into one global scope — so the agent components needed no edit at all, and the sync script adopted the already-translated keys into their new home rather than paying to re-translate them. That is the adopt rule doing exactly what it was written for.Two plural sets ride the
pluralRules.ruadded in CLEAN-38:Timestamps follow the chosen locale.
fmt()now passeslocaleintotoLocaleString, read fromuseI18n— the locale itself, never copy, which is the one thing that composable is still for in this codebase.Verification
nuxt typecheckandnuxt buildclean.i18n:checkgreen across 6 slice/locale pairs.app:template(4 strings) — CLEAN-40, the last one.🤖 Generated with Claude Code