UI: localize Overview and login gate labels#61054
Conversation
Greptile SummaryThis PR moves hardcoded English labels from the Overview screen into locale keys and wires
Confidence Score: 4/5Safe to merge after fixing the one missed hardcoded string in the auth-failed branch. One P1 finding: the auth-failed docs link title and text remain hardcoded in English despite the matching locale keys being added in this PR and correctly used in the parallel auth-required branch, directly contradicting the PR's stated goal. ui/src/ui/views/overview.ts — auth-failed branch (lines 143–146)
|
|
Good catch — fixed the remaining hardcoded auth-failed docs link in |
2d493f6 to
cc03a43
Compare
Signed-off-by: sallyom <[email protected]>
Signed-off-by: sallyom <[email protected]>
cc03a43 to
c75904a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c75904ade4
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| showToken: "Show token", | ||
| hideToken: "Hide token", | ||
| toggleTokenVisibility: "Toggle token visibility", | ||
| showPassword: "Show password", | ||
| hidePassword: "Hide password", |
There was a problem hiding this comment.
Regenerate all locale outputs after adding new i18n keys
These new overview keys are only added in en.ts (and manually in pt-BR.ts), but the repo’s locale pipeline expects every shipped locale plus .i18n metadata to stay in sync with English (scripts/control-ui-i18n.ts, enforced in .github/workflows/ci.yml via pnpm ui:i18n:check). As committed, locales like de/es/fr/... are missing these keys, so the i18n drift check will fail and non-pt locales will fall back to English for the new Overview labels.
Useful? React with 👍 / 👎.
64d01e5 to
c75904a
Compare
Signed-off-by: sallyom <[email protected]>
Signed-off-by: sallyom <[email protected]>
|
Combined #61062 into this PR because the i18n sync is shared. |
|
Merged via squash.
Thanks @rubensfox20! |
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Merged via squash. Prepared head SHA: 807c79c Co-authored-by: rubensfox20 <[email protected]> Co-authored-by: sallyom <[email protected]> Reviewed-by: @sallyom
Summary
overview.tsto read them throught(...).Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause (if applicable)
ui/src/ui/views/overview.tsinstead of going through locale files.Regression Test Plan (if applicable)
ui/src/i18n/test/translate.test.tsui/src/i18n/test/translate.test.tsUser-visible / Behavior Changes
Diagram (if applicable)
N/A
Security Impact (required)
Yes/No): NoYes/No): NoYes/No): NoYes/No): NoYes/No): NoYes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Validation:
Human Verification (required)
Review Conversations
Compatibility / Migration
Yes/No): YesYes/No): NoYes/No): NoRisks and Mitigations