Repository navigation
#886 Localisation: one wording on both platforms, count grammar - #960
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-wording
branch
from
November 2, 2026 23:16
0845966 to
b0ea189
Compare
ivanfenenko
changed the base branch from
feature/886-l10n-settings
to
feature/886-l10n-components
November 2, 2026 23:16
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 follow-up for #886 (Localisation): every shared key now says the same thing on Android and iOS, both apps use one key where they used two for the same text, and count strings use correct singular forms. Part of an unmerged stack (base
feature/886-l10n-settings, #957). Not compiled yet; verification happens once for the whole stack.Only existing keys, their values and their call sites change. No new keys.
One wording per key
Every row can be overridden by changing one value per platform.
feedback.sendfeedback.sendinghome.fork_result.messagehome.fork_result.staysession_chat.fork_result.message_ready/message_forked_asmessage_readyon both)session_chat.fork_result.stay_here/staystay_hereon both)settings.app_lock.subtitle_availablesettings.app_lock.subtitle_unavailablefile_viewer.loading/file_viewer.openingfile_viewer.loading_image/file_viewer.opening_imagefiles.more_options/file_viewer.optionsfiles.more_optionson both, as on every other overflow button)files.error.check_server_connection/check_connectionsession_chat.activity.collapsed.*(collapsed activity pill, spoken label)feedback.hide_parts.image_hidden/image_label(screenshot spoken label)feedback.log_preview.empty_message/emptyterminal.error.fallbackThe collapsed activity pill opens or closes the stack on both platforms, so the spoken label is now the primary item's state followed by "Show/Hide N activities". iOS used to read the primary's own tap action (for example "Open") when only one item was collapsed, which is not what a tap does there.
Count grammar
oneforms fixed on both platforms: "1 match", "1 file", "1 line" (tool result sheet), "1 redacted line in the kept window", "Last 1 minute", "Last 1 minute · gzipped on upload…", "Nothing was logged in the last 1 minute.", "Screenshot, 1 area hidden".session_chat.activity.collapsed.show_count/hide_count: "Show/Hide 1 activity".show_countno longer carries the label; it is joined with the existingsession_chat.activity.status_actionpattern, so no catalog plural has two arguments.add_project.truncation_hint("Showing the first N folders…") andworktree.name_long("Use at most N characters"). English never shows 1 here, but translations need the plural forms.Keys deleted (unused on both platforms)
session_chat.fork_result.message_forked_as,session_chat.fork_result.stay,file_viewer.options,file_viewer.opening,file_viewer.opening_image,files.error.check_connection,terminal.error.fallback,session_chat.activity.collapsed.show_activity,…hide_activity,…count_show_activity,…count_hide_activity,feedback.hide_parts.image_label,feedback.log_preview.empty.Checks
node scripts/check-string-keys.mjs: pass (708 shared keys).xmllint --nooutonstrings.xmlandpython3 -m json.toolon the catalog: pass. The catalog is written in Xcode's format (a load/dump round trip of the unchanged file was byte-identical).xcrun swiftc -parseon every changed Swift file: pass.\nescaping), and that every AndroidR.string/R.pluralsreference matches an existing resource of that type.SessionChatPillSlotsTest: new collapsed pill labels.SettingsTextTest: new singular cases for "Last 1 minute" and "1 redacted line".SessionChatPillSlotsTests: new collapsed pill labels plus a one-item case.SettingsTextTests: "Last 1 minute".Evidence
Verified once for the whole stack. Changes are wording and accessibility labels.
Issue
#886
Risks / Follow-ups
UiText.pluralforworktree_name_longandadd_project_truncation_hint(wereUiText.resource; theR.string→R.pluralsmove breaks any reference I missed).FeedbackSheethide-parts label and empty log preview now callpluralStringResource.collapsedAccessibilityLabelnow calls the privatestatus(_:)and composes throughsession_chat.activity.status_action.show_count,hide_count,truncation_hintandname_long(were plain strings).home.session_error.generic,worktree.unknown_error,add_project.error.add_failed,home.error.load_projects,session_chat.fork_dialog.error_failed): iOS always haslocalizedDescription.OpenCodeFloatingPillstill builds "N activities" / "Activity" in code.gitleaksis not installed locally; the Secret Scan workflow covers it.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.