Repository navigation
#886 Localisation: Settings, Diagnostics, Appearance and Feedback text - #957
Closed
ivanfenenko wants to merge 2 commits into
Closed
ivanfenenko wants to merge 2 commits into
ivanfenenko wants to merge 2 commits into
Conversation
ivanfenenko
force-pushed
the
feature/886-l10n-settings
branch
from
November 2, 2026 16:14
8a6c1c6 to
40c1111
Compare
ivanfenenko
changed the base branch from
feature/886-l10n-connection
to
feature/886-l10n-sheets
November 2, 2026 16:15
This was referenced Nov 2, 2026
Closed
ivanfenenko
marked this pull request as ready for review
November 3, 2026 15:59
Merged
Collaborator
Author
There was a problem hiding this comment.
Automated review: no finding that 2+ of 3 passes agreed on.
1 finding(s) from a single pass, not posted
android/app/src/main/java/dev/opencode/mobile/ui/settings/AppearanceSettingsScreen.kt:366high: Composable called inside non-composable ifBlank lambda (muse-spark-1.3-contributor)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.157 · 1 pass(es) stopped early
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): Settings, Diagnostic Logs, Appearance, Feature Flags, the Feedback sheet and keyboard shortcut titles now take their text from the string files on both platforms. Part of an unmerged stack: #933 → #952 → this. Not compiled yet; verification happens once for the whole stack.
ui/settings/*(not Servers),ui/feedback/*,ui/keyboard/*.UI/Settings/*(not Servers),UI/Feedback/*,UI/KeyboardShortcuts/OpenCodeKeyboardShortcut.swift.settings.recent_window.hours⇔ Androidsettings_recent_window_hours) undersettings.*,diagnostics.*,appearance.*,feature_flags.*,feedback.*andkeyboard_shortcuts.*. Reusedcommon.cancel,servers.titleandtop_bar.back. One block per prefix:strings.xmlgets one appended block; the catalog stays sorted, so its keys land in per-prefix runs.oneform where today's text never changed for 1 ("1 redacted lines", "Screenshot, 1 areas hidden"), so a later copy pass can fix them.ServersSummary.subtitle,SettingsViewModel.sessionCacheSizeLabel(viaSessionCacheSizeFormatter),DiagnosticLogsUiState.shareError/saveMessage,FeedbackUiState.placeholder/sheetTitleandKeyboardShortcutAction.titleareUiText. The active server name staysUiText.Verbatim.KeyboardShortcutHost.shortcutGrouptakes aUiTextLookup;MainActivitypassesResourcesUiTextLookup(resources)(one-line change outside the area)..unlocalized(...)in scope are gone.OpenCodeText. Component parameters that still takeString(attachment chip, dictation status, cache size) useString(localized:defaultValue:).LocalizedStringResource.Text(verbatim:), so log content is never looked up.On · remote · key), theme and syntax preset names, syntax preset blurbs, diagnostic log area names and log lines, the feedback reference id, the dictation language label.settings.app_lock.subtitle_*(fingerprint/PIN vs Face ID/passcode),feedback.send("Send" vs "Send report") andfeedback.sending("Sending" vs "Sending report"). Keys used on only one platform are still in both files so key parity passes.Checks
node scripts/check-string-keys.mjs: pass, 279 shared keys (280 Android names including the allowlistedapp_name).node scripts/check-hardcoded-text.mjs: total 928 → 627. Zero findings in the files in scope, including every.unlocalizedthere.xmllint --nooutonstrings.xmlandpython3 -m json.toolon the catalog: pass. The catalog diff is insertions only.xcrun swiftc -parseon every changed Swift file: pass.SettingsTextTest; updatedSessionCacheSizeFormatterTest,FeedbackViewModelTest,KeyboardShortcutRulesTest.SettingsTextTests; updatedFeedbackViewModelTests,OpenCodeKeyboardShortcutTests.Evidence
Verified once for the whole stack.
Issue
#886
Risks / Follow-ups
@ComposableerrorNotice/themeBlurb/displayBlurb/lastMinutesLabelhelpers,stringResourceinside sheet slot lambdas, and the enum constructor's@param:StringRes.OpenCodeTextequality in tests,Button(LocalizedStringResource)in the shortcut commands, and theLocalizedStringKeylabel onMiniThemePane.DiagnosticLogsViewModelshare intent subject "OpenCode diagnostic logs" and chooser title "Share diagnostic logs". The chooser title is not shown on Android 10+; moving them needs aNavigation.ktchange.ThemeManager(now.verbatimon iOS).FeedbackKind.label.SessionChatTimelineStyle.title/subtitleandHomeSessionRowStyletitles are now keyed undersettings.timeline_style.*/settings.session_rows.*for Settings. Session Chat still shows the domain English for timeline styles; that slice can reuse these keys. Also unused now: iOSFeedbackKind.placeholder/sentBody,DiagnosticLogExportWindow.labelandHomeSessionLadder.formatWindowHoursLabel. They are left in place because they sit outside this area.settings.servers_summary.saved_active("%1$d saved · %2$s active") anddiagnostics.soft_cap.dropped. A catalog plural with two arguments needs substitutions, whichcheck-string-keys.mjsdoes not read yet.OpenCodeAttachmentPresentation(filename,detail) andOpenCodeDictationCard.statusstill takeString, so their text is resolved when the view renders rather than carried as a localisable value. Unchanged here; a design-system follow-up.gitleaksis not installed locally; the Secret Scan workflow covers it.Need help on this PR? Tag
@codesmith-botwith what you need.