Repository navigation
Conversation
5 of 10 tasks
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Oct 12, 2026
smwbev
added a commit
to smwbev/orca
that referenced
this pull request
Oct 12, 2026
The Korean pair for the "commits ahead" tooltip was copied from compareBaseCommitsAheadOne/Other, which keep the English "commit" and "commits". Both sentences now say 커밋 with the 개 counter, the form stablyai#27907 uses for its Korean count sentences, so the tooltip no longer carries an English plural. The locale test also requires ja, ko and zh to use one sentence for both counts. It fails on the previous Korean pair.
This was referenced Oct 13, 2026
Contributor
|
Thanks for this! Your fix is included in #28185 (with you as co-author), which lands the four sentence-structure PRs together. A few strings were adjusted to match the English source exactly, and the tests that pinned the old fragment text were removed; details there. |
OrcaWin
added a commit
that referenced
this pull request
Oct 28, 2026
…7974) * fix(i18n): select whole count sentences at twelve more call sites Twelve strings were a noun plus a plural ending passed as an interpolation value, so every non-English locale got a Latin "s" glued to its own noun whenever the count was not one. Each call site now chooses between two whole sentences with a single {{count}}, the same Singular/Plural pattern #27907 uses for three Settings strings. ja, ko and zh drop the stray ending. es and fr keep what they rendered for one and get grammatical plural sentences. The "commits ahead" tooltip in the compare summary takes the wording the catalogs already have for the identical sentence, because three translations treated the ending as an object. Legacy keys stay in the catalogs. Fixes #27973 * fix(i18n): name commits in Korean in the compare-summary tooltip The Korean pair for the "commits ahead" tooltip was copied from compareBaseCommitsAheadOne/Other, which keep the English "commit" and "commits". Both sentences now say 커밋 with the 개 counter, the form #27907 uses for its Korean count sentences, so the tooltip no longer carries an English plural. The locale test also requires ja, ko and zh to use one sentence for both counts. It fails on the previous Korean pair. * fix(i18n): take the Korean count sentences from the audit review Eleven of the twelve Korean pairs still put the number before the noun with no counter ("3 라벨"), the order left over from dropping the English plural ending. They now read noun, number, counter ("라벨 3개", "멤버 3명"), the wording abruption supplied in review of #27974. The "commits ahead" pair already had that form and is unchanged. Three sentences are also reworded to follow the English: a failed discard no longer says the files could not be deleted, the group toast says how many of the contained projects remained, and "restricted key" is spelled out as an API key with restricted access. The 22 values are recorded in locale-ko-key-overrides.json, next to the other reviewed Korean strings. * chore(i18n): credit the Korean count sentences to their reviewer The Korean wording applied in f6bbcaf was supplied by abruption as a patch in review of #27974 and went in byte for byte. That commit could not carry a co-author trailer, so this empty one does. Co-authored-by: YEONGUK LEE <[email protected]> * fix(i18n): drop the twelve keys the count sentences replaced No call site reads the twelve noun-plus-ending keys any more, so they leave the six catalogs, as #28185 did for the keys it replaced. With them go the three Korean override entries for those keys and the one value ko-ui-semantic-mistranslations.test.ts pinned for the old sshImportSynced text; the sentence it guarded is now the sshImportSyncedSingular/Plural pair, covered by count-sentence-locales.test.ts. en-runtime-required.json is regenerated. * fix(i18n): give remote drop uploads their own count keys; drop low-value tests - Remote terminal drop uploads used the runtime keys with a different fallback ('to remote…'); split them into uploadingFileToRemote{Singular,Plural} with translations in all catalogs. - Remove mock-translate tests and the catalog-pinning count-sentence test; verify:localization-* already enforces key and placeholder parity. - Trim the 'why whole sentences' comments. - Regenerate en-runtime-required.json. * fix(i18n): natural zh/ja count strings and es host-import wording --------- Co-authored-by: YEONGUK LEE <[email protected]> Co-authored-by: OrcaWin <[email protected]>
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.
ELI5
Korean connection/import counts append an English s to translated nouns when more than one server, Jira site or Linear workspace is reported. Select complete singular/plural sentences with one count placeholder, following the existing project-runtime count pattern, so Korean word order and English plural behavior remain correct. Preserve the existing import/connection logic and legacy keys; migrate other shipped locales mechanically to avoid falling back to English.
What Changed
Add 6 complete translation keys and update the corresponding settings call sites, English/Korean catalogs, Korean overrides and generated runtime catalog. Mechanically migrate the existing Spanish/French/Japanese/Chinese wording and add component regressions.
Korean connection/import counts append an English s to translated nouns when more than one server, Jira site or Linear workspace is reported. Select complete singular/plural sentences with one count placeholder, following the existing project-runtime count pattern, so Korean word order and English plural behavior remain correct. Preserve the existing import/connection logic and legacy keys; migrate other shipped locales mechanically to avoid falling back to English.
All 6 changed keys and before/after copy
auto.components.settings.SshPane.syncedServerSingularauto.components.settings.SshPane.syncedServerPluralauto.components.settings.task.tracker.integration.cards.connectedSiteSingularauto.components.settings.task.tracker.integration.cards.connectedSitePluralauto.components.settings.task.tracker.integration.cards.connectedWorkspaceSingularauto.components.settings.task.tracker.integration.cards.connectedWorkspacePluralWhy
The source actions and English text establish the intended meaning. Key-specific overrides keep the corrected Korean copy during translation regeneration. This confines the change to this menu's copy and search text, without changing settings behavior. Existing non-Korean wording is mechanically retained.
Linked Issue
Fixes #27906
Tracked in #27820. This resolves only the scoped sub-issue, not the entire translation tracker. No duplicate changes from #27803.
Visual Proof
Before — Settings section 1
After — Settings section 1
Isolated component fixtures served from Orca Vite Dev and rendered in headless Chromium. The real Jira/Linear cards and SSH import/toast components are exercised with test APIs; these images are not authenticated account or real SSH-import evidence. Screenshots are explicit isolated component fixtures, not authenticated Jira/Linear accounts or real SSH config import. No credentials, connections or user SSH files were used. SSH zero-import existing already-in-sync branch and Jira zero/disconnected branch remain unchanged; Linear zero-workspace connected state uses plural. es/fr/ja/zh new keys mechanically preserve legacy value0→count and value1→original suffix. Their existing wording/ASCII suffix is not independently retranslated. All legacy catalog keys retained.
Testing
oxfmt --checkfor the two JSON files, andgit diff --checkpassed.AI Disclosure
Claude Opus 5.5 performed the initial independent audit; Antigravity CLI using Gemini 3.8 Flash High independently proposed translations. Codex verified the source/context, expanded grouped findings into actual keys, applied this patch, ran checks, captured Orca Dev, and prepared the issue/PR. Recommendations were checked against the current source before applying. The user authorized publication.
Review
Self-review: translations were compared with the source and actual actions. Product names, executable names, paths, technical identifiers, and variables remain meaningful. Both catalogs are consistent. Windows/Linux and SSH-specific conditional states were not independently exercised live in this PR; this shared-locale change does not change execution hosts, networking, permissions, agent/integration/Git-provider behavior, or shortcuts. This changes only how help/count text is composed. No execution, authentication, permission, Git mutation or setting behavior changes. The attached screens establish the rendered states only, not every conditional state.
Agent skill upstream boundary
Notes
X/Twitter: @abruptWave
Checklist
pnpm lint,pnpm typecheck,pnpm test, andpnpm build; targeted checks passed, broader checks left to CI.