RI-8268 Translate all backend error codes (round 3)#6127
Conversation
🛡️ Jit Security Scan Results✅ No security findings were detected in this PR
Security scan by Jit
|
ec81b1c to
618d0da
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ec81b1c2e9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Code Coverage - Integration Tests
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8ba130f4cf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e63fa65 to
b5ffaae
Compare
8ba130f to
7811f9f
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7811f9f892
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
7811f9f to
260a0b1
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 260a0b11d0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 904c12ac2e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
403254f to
12f1111
Compare
7dc70db to
5c6f079
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5c6f079a24
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Code Coverage - Frontend unit tests
Test suite run success7662 tests passing in 853 suites. Report generated by 🧪jest coverage report action from ab1cafa |
12f1111 to
1a6659f
Compare
5c6f079 to
8dc98e3
Compare
1a6659f to
042c0a2
Compare
8dc98e3 to
b0a0d6b
Compare
ea9045f to
f3efe5b
Compare
Add api.error.code.<n>.{title,message,...} for the remaining backend error codes
(connection, cloud jobs, AI, RDI, import, encryption, misc, generic). Rebuilt on
the api.error.code.* namespace; the per-code error text now lives under api.* while
FE toast chrome stays under notification.*. en/bg parity, 301 keys.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Title-only entries so the heading localizes while the backend message (which carries the sanitized runtime detail) still shows. Closes the SSH range gap. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* feat(ui): localize interpolated backend error messages (RI-8268) * fix(ui): render newlines in the default error toast body (RI-8268) Refs: RI-8268
f3efe5b to
ab1cafa
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit ab1cafa. Configure here.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ab1cafabbf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

What
Round 3 of frontend notification translation, stacked on the baseline (#6126). Fills in i18n coverage for all remaining backend error codes from #6125 — going from 15 to ~80 translated codes.
Data-only. Round 1 wired a fully dynamic lookup (
getTranslatedApiError/getTranslatedApiTitleresolvenotification.error.code.<n>.title/.messageat runtime, with English fallback;removeUnusedKeys: false). So this PR adds keys toen.json+bg.jsononly — no.tsxchanges — and coded errors now render alocalized title + body instead of the backend English.
Per-domain commits:
Conventions kept from rounds 1–2:
.titleonly, so the backend message (with its specifics) still shows:10905/10907(connection),11407/11408/11409(RDI pipeline, like11401), and the generic12_xxxfamily.i18n:extractcanonical order (idempotent).Testing
yarn type-check(additive keys, baseline clean),yarn test(error/notification specs green),yarn i18n:extract(no churn, parity holds).yarn dev:ui, dispatch a raw coded error from the console and confirm localized title+body, plus?lang=bg:Part of RI-8268
Related community requests: #605, #1317, #1883, #2040, #2137, #2181, #2213, #2417, #2550, #2590, #2695, #2715, #2716, #2727, #2828, #2912, #2943, #2945, #3081, #3141, #3142, #3319, #3411, #3601, #3625, #3628, #3663, #3671, #3812, #3815, #4150, #4182, #4408, #4664, #4672, #4744, #5052, #5967
Note
Low Risk
Mostly additive locale JSON plus a small notification display tweak; no auth or API behavior changes.
Overview
Adds localized title and message strings for the remaining backend
api.error.code.*entries inen.jsonandbg.json, so coded API errors can show translated copy via the existing dynamic lookup (with English fallback). Coverage spans connection, cloud/OAuth, jobs, AI, RDI, SSH/tunnel, import, encryption, config, and generic HTTP-style codes; some codes are title-only where the backend still supplies runtime detail.DefaultErrorContentnow renders through a styledErrorTextwithwhite-space: pre-line, so translated bodies that include\n(e.g.{{detail}}lines) break onto separate lines in notifications.Also adds
settings.language.*keys alongside the existing general language settings strings.Reviewed by Cursor Bugbot for commit ab1cafa. Bugbot is set up for automated code reviews on this repo. Configure here.