Repository navigation
Conversation
There was a problem hiding this comment.
The change works: with the PR, choosing Russian translates the parts of Preferences that are still English on the base (tab layout cards, permission descriptions and more). I checked the app and UI Russian catalogs against en.ts with a script: no keys are missing, placeholders match, and the Russian plural forms are in place. The i18n unit tests (31) and typecheck:tsc pass, and the new e2e test passed repeatedly in Chromium.
Public API: unchanged (only translation strings and tests).
The only thing worth changing is the new e2e test (inline comment).
Related: #53384
There was a problem hiding this comment.
My earlier point is addressed: the e2e test with its fixed-path screenshots has been removed. The new compaction usage label keeps both placeholders, which matches the only place it is used. The i18n unit tests still pass (31). Public API: unchanged (translation strings only). Nothing else to flag.
|
The review feedback is addressed, and both checks pass on @Hona @Brendonovich, could one of you review this when you have a chance? The changes are limited to the app/UI Russian catalogs and their unit tests. |
There was a problem hiding this comment.
The remaining catalog changes look right. I checked them against the latest dev: the 18 added keys exist in en.ts, are missing from Russian on dev, keep the English placeholders, and do not duplicate anything. The #53384 reproduction prints в/из on the base and Вход: … · выход: … with this PR. The i18n tests (50) and the app typecheck:tsc pass. Public API: unchanged (translation strings and tests only).
One thing to change before merge: the Russian coverage check in language.test.ts (expect([...source.keys()].filter((key) => !translated.has(key))).toEqual([])) fails whenever an English key has no Russian translation. packages/app/AGENTS.md says feature work should add English strings only and leave other languages missing, so English shows instead. As written, every future PR that adds English copy would break this test until someone translates it into Russian. Please drop the missing-key assertion, or limit it to keys that have a Russian value, and keep the placeholder and plural checks.
|
Addressed the English-fallback review point in 1a0036f. The catalog test now checks placeholders only when a Russian translation exists; it no longer requires every English key to be translated. Russian few/many placeholder checks and the plural-form cases remain. Validation: 64 targeted i18n tests pass, app typecheck:tsc and Prettier pass. An extra English-only key passes the check; adding a Russian value with an incorrect placeholder still fails it. Both upstream checks pass for this exact head. |
There was a problem hiding this comment.
My earlier point is addressed: the catalog test no longer requires a Russian translation for every English key, so it is in line with packages/app/AGENTS.md. It still checks placeholders and plural forms for every key that has a Russian value. The i18n tests pass (50). Public API: unchanged (translation strings and tests only). Nothing else to flag.


Issue for this PR
Refs #50164 and #53384; follows up on #50165.
Type of change
What does this PR do?
Current
devstill leaves project browsing, folder selection and provider-removal confirmations in English when Russian is selected. Add the 18 missing app catalog keys and the Russian few/many forms for the provider-disconnection warning. Keep the current upstream app and shared UI translations.Catalog tests check English-key coverage and interpolation placeholders across app, native desktop and shared UI strings. Russian plural cases cover zero, one, few, many, teens, 21/22/25 and fractions for connection counts and the disconnection warning.
The branch includes current
devthrougheeeeaa0db3c18567bccbd2fca68b9cc6fe6227ee. The remaining PR diff is two files, +89/-4; no workflow, dependency or runtime behavior changes.How did you verify your code works?
In an isolated Linux container on Bun 1.4.4:
typecheck:tscpassed.git diff --checkpassed.Screenshots / recordings
Catalog and test changes only; no layout changes.
Checklist
Added by the opencode bot (AI-generated).
Fixes #53384
Related: #53384