Skip to content

feat(i18n): move the sessions page into dictionaries - #66

Merged
fylorn merged 1 commit into
devfrom
i18n/sessions
Sep 20, 2026
Merged

fylorn merged 1 commit into
devfrom
i18n/sessions

Conversation

@fylorn

@fylorn fylorn commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

The last file on the pending list in src/i18n.test.ts. It waited for the
subscription-session change (#65), which added the turns served by a
subscription and the wording that goes with them; translating before that
landed would have meant translating text that was about to be rewritten.

The cost cell says the same things as the overview — estimated, unpriced, no
usage, subscription — so it uses the same wording. The unit differs: the
overview counts requests, this page counts turns. In English the qualifiers
drop the unit (+3 unpriced, +1 no usage, 2 on subscription) because the
turn count is already in its own column, and because the cost column has about
340px at the default window width: with the unit spelled out the table came to
915px against 864px of room and pushed a scrollbar onto the page.

Checked against a mock with all four shapes of session — measured with
estimated, unpriced and no-usage turns beside subscription ones; a session
where no turn could be priced; one served entirely by a subscription; and a
one-turn session for the singular. At the default window width the table
measures 864px in both languages, and no row wraps. The Chinese text is
unchanged, word for word.

The pending list is now empty. It stays as a guard: a new file with Chinese in
it fails the test.

🤖 Generated with Claude Code

The last file on the pending list. It waited for the subscription-session
change (#65), which added the turns served by a subscription and the
wording that goes with them; translating before that landed would have
meant translating text that was about to be rewritten.

The cost cell says the same things as the overview — estimated, unpriced,
no usage, subscription — so it uses the same wording, differing only in
the unit: the overview counts requests, this page counts turns.

The pending list is now empty. It stays as a guard: a new file with
Chinese in it fails the test.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 1a3fa59 into dev Sep 20, 2026
2 checks passed
@fylorn
fylorn deleted the i18n/sessions branch September 20, 2026 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant