Repository navigation
#886 Localisation: Session Chat screen and timeline text - #955
Closed
ivanfenenko wants to merge 1 commit into
Closed
ivanfenenko wants to merge 1 commit into
ivanfenenko wants to merge 1 commit into
Conversation
ivanfenenko
force-pushed
the
feature/886-l10n-sessionchat
branch
from
November 2, 2026 16:14
9d6dd70 to
fdb3f86
Compare
ivanfenenko
changed the base branch from
feature/886-l10n-connection
to
feature/886-l10n-files
November 2, 2026 16:15
ivanfenenko
marked this pull request as ready for review
November 3, 2026 15:59
Merged
Collaborator
Author
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.
Summary
Stage 2 extraction slice for #886 (Localisation): Session Chat screen and timeline text now comes from the string files on both platforms. Part of an unmerged stack: #933 → #952 → this pull request. Not compiled yet: verification happens once for the whole stack.
session_chat.*andtimeline.*, in one block per file. Reusedcommon.cancel. No newcommon.*keys. Placeholders are positional and counts use plurals. Server content stays an argument (session titles, agent names, server error text, the retry link label).SessionChatBackgroundWorkPillnow holdslabelTextandaccessibilityTextasUiText.labelandaccessibilityLabelremain as@Composablegetters, so the background work sheet (another slice) still compiles unchanged.forkErrorMessageand the slash suggestionbadgeareUiText; server errors useUiText.verbatim.SessionChatActivityPillCopyandSessionChatNavigationCopyreturnUiText;layout()takes aUiTextLookup. The file suggestion subtitle ("File") is now added by the view.OpenCodeText(LocalizedStringResource(key, defaultValue:)). Pill copy, background work, navigation pill, tool-result file counts and the fork empty-title error useString(localized:defaultValue:), because those components takeString. The retry link label is now.verbatim(server content).ClientSlashActionin the domain is unchanged.Checks
node scripts/check-string-keys.mjs: pass (235 shared keys).xmllint --nooutonstrings.xmlandpython3 -m json.toolon the catalog: pass. Key order and formatting in the catalog match what Xcode writes.xcrun swiftc -parseon every changed Swift file: pass.node scripts/check-hardcoded-text.mjs: total 928 → 820. What is left in the files in scope is listed under Risks.EnglishStrings. New test-only helpers are inBackgroundWorkPillText.kt. A new pill-text test was added on each platform.Evidence
Verified once for the whole stack.
Issue
#886
Risks / Follow-ups
@Composableproperty getters onSessionChatBackgroundWorkPill.SessionChatActivityPillCopy.layout(item, lookup)callers.forkErrorMessage: UiText?flowing throughSessionChatViewModel.SessionChatMessageActionsGestureModifier.accessibilityLabelis now aLocalizedStringResource.Text(LocalizedStringResource)in the retry card and the fallback bubble.SessionChatTimelineBlockson both platforms): tool card titles (Shell, Patch, Plan, LSP…), step labels and Explored counts. These buildStringfields used in many files and about 100 test assertions. Converting them needsUiTextin the block models; that should be its own slice. The same applies toSessionChatActivityCard,SessionChatNoticeCopy,SessionCompactChromeandSessionMessageSyncChrome. On iOS this includesSessionChatToolGroupView's title/subtitle.SessionError.Http.messageinto the send failure. It needs the failure path to carryUiText..unlocalizedinSessionChatViewwhose text comes from other areas:SessionInfo"\(completed)/\(total)"label is numbers only; the check flags it by mistake.ToolResultPresentation.ktfile counts: thetimeline.tool_result.files_*keys exist but are only used on iOS so far.gitleaksis not installed locally; the Secret Scan workflow covers it.Need help on this PR? Tag
@codesmith-botwith what you need.