Repository navigation
#886 Localisation: Session Chat sheets and Session Context text - #956
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-sheets
branch
from
November 2, 2026 16:14
dc71533 to
c89f039
Compare
ivanfenenko
changed the base branch from
feature/886-l10n-connection
to
feature/886-l10n-sessionchat
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 sheets and Session Context text now come from the string files on both platforms. Part of an unmerged stack: #933 → #952 → this pull request (base
feature/886-l10n-connection).Not compiled yet. Verification (builds, unit tests, pseudo-locales) happens once for the whole stack.
/btwanswer, Session todos, Skills, Timeline Style picker, model / agent mode / variant picker, tool detail, tool result inspector, shell output, Background work.OpenCodeActivitySheet, a design-system component).session_chat_sheet.mcp.headline⇔ Androidsession_chat_sheet_mcp_headline), undersession_chat_sheet.*andsession_context.*. Added as one block in each string file. No newcommon.*keys./btw(a command name).SessionContextUiState.errorMessageandSessionContextStatItem.labelareUiText. A server error message staysUiText.Verbatim; when there is none, a resource fallback is used.SessionChatToolDetailTargetgainslocalizedTitle: UiText?, used for "Provider response".titlekeeps the failure text.OpenCodeTextkeys. Error fallbacks useString(localized:).SessionChatToolDetailTarget.localizedTitle: OpenCodeText?mirrors Android.SessionChatTimelineStyle.title/subtitle(domain, shared with Settings) are untouched.labelandheadlineproperties (and their tests) are untouched.Text("\(…)"), which looked them up as catalog keys. They are nowText(verbatim:).Checks
node scripts/check-string-keys.mjs: pass. 232 shared keys (233 Android names including the allowlistedapp_name).node scripts/check-hardcoded-text.mjs: total 928 → 779. Zero findings left in the files in scope, including every.unlocalizedthere.xmllint --nooutonstrings.xmlandpython3 -m json.toolon the catalog: pass. The catalog round-trips byte for byte in Xcode's JSON format.xcrun swiftc -parseon every changed Swift file: pass.SessionContextViewModelTest(verbatim error, resource fallback, stat labels),SessionFailureDetailTargetTest("Provider response" throughlocalizedTitle),SessionChatTimelineStylePickerSheetTest(picker names and tags).SessionContextViewModelTests(stat label keys),SessionFailureDetailTargetTests, and newSessionChatTodosSheetTests(pattern splitting and the catalog lookup).Evidence
Verified once for the whole stack.
Issue
#886
Risks / Follow-ups
oneform of these plurals still says "matches", "files" and "lines". Fixing the grammar is a one-value change per key.SessionChatShellPresentation/SessionChatShellsCopy(timeline / region).ToolResultPresentationtitles, eyebrows and count labels.OpenCodeActivityCard.stepsLabel.SessionChatShellOutputSheet.ktandSessionChatBackgroundWorkSheet.ktwere edited for the sheet labels only, to match the iOS sheets in scope.OpenCodeActivitySectionLabel(text:)on iOS takes aString, so "Steps", "Subagents" and "Shells" resolve withString(localized:)when drawn.@get:StringResextension properties in the picker sheet.stringResource(id)with no arguments to get the raw todos pattern.Bundle.main.localizedStringfor the same pattern.LocalizedStringResourcestored instatic letonSessionChatBackgroundWorkSheetModifier.title, which the component gallery passes toText(_:).Need help on this PR? Tag
@codesmith-botwith what you need.