Repository navigation
feat(i18n): move the sessions page into dictionaries - #66
Merged
Merged
Conversation
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>
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.
The last file on the pending list in
src/i18n.test.ts. It waited for thesubscription-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 theturn 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