Skip to content

Add Vietnamese i18n and improve error handling for accounts#497

Open
hieuck wants to merge 6 commits into
CJackHwang:devfrom
hieuck:feat/failed-accounts-card-i18n-vi
Open

Add Vietnamese i18n and improve error handling for accounts#497
hieuck wants to merge 6 commits into
CJackHwang:devfrom
hieuck:feat/failed-accounts-card-i18n-vi

Conversation

@hieuck
Copy link
Copy Markdown

@hieuck hieuck commented May 12, 2026

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

CJackHwang and others added 5 commits May 10, 2026 18:46
Fix tool detection when unclosed backtick precedes tool call
[codex] fix WebUI static root path guard
- pool_core: Status() now includes failed/failed_accounts counts
  by querying AccountTestStatus for each account in the pool
- store: add accTestMsg map, UpdateAccountTestStatusWithMessage(),
  AccountTestMessage() to persist error message alongside test status
- shared/deps: extend ConfigStore interface with the two new methods
- handler_accounts_crud: listAccounts returns error_message field
  when test_status == failed
- handler_accounts_testing: testAccount saves error message on failure
  via UpdateAccountTestStatusWithMessage
- QueueCards: add 4th card 'Unavailable' (red when > 0, neutral when 0)
  using queueStatus.failed from the updated pool Status()
- AccountsTable: show error_message badge under failed account rows
- LanguageToggle: fix crash - render labelMap[nextLang] not undefined label
- i18n/vi: add Vietnamese locale (vi.json), wire into I18nProvider
  and getBrowserLang auto-detection
- locales en/zh/vi: add failedPool and failedPoolHint keys
- start.bat: one-click dev server launcher with auto Go install
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

@hieuck is attempting to deploy a commit to the cjack's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58d0ab622f

ℹ️ 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".

Comment thread webui/src/i18n.jsx
Addresses Codex review on PR CJackHwang#497: navigator.language?.toLowerCase()
can return undefined in embedded browsers or test harnesses with
incomplete navigator stubs. Add an explicit falsy check before
calling startsWith() to restore null-safe behavior.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ds2api Ready Ready Preview, Comment May 12, 2026 4:50am

@CJackHwang CJackHwang changed the base branch from main to dev May 12, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants