Model-server banner's restart hint is untranslated in Arabic

Open Beginner friendly
#8,059 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript

Research direction

Start in ConnectionBanner.tsx, where the two restart and start-by-hand hints are hard-coded in English beside the translated banner.serverHung and banner.serverStopped strings. Add en and ar translation keys for both hints, and keep the command inside a code element with dir="ltr". Done when the Arabic banner shows no English hint text and the file's hardcodedText baseline is lowered to match.

Written by the indexing model from the issue text.

Description

agent-ui bug

The model-server banner's start/restart hint is still English in the Arabic UI, so an Arabic user sees an English phrase in the middle of an Arabic warning.

🔍 Technical details
  • ConnectionBanner.tsx hard-codes 'If it stays this way, restart it: ' and 'To start it by hand, run ' next to the translated banner.serverHung / banner.serverStopped text.
  • Fix: add en + ar keys for both hints and keep the <code> command dir="ltr"; lower the hardcodedText baseline for the file.
  • Raised in review of #8019, where it predates the change.
Dominant language
Python
Stars
1.6k
Forks
169
Avg merge
12h 19m
Merged PRs (30d)
777

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from amd/gaia

All issues in amd/gaia

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.