Skip to content

OpenConceptLab/ocl_issues#3038 | Add common.checking_auth to the es and zh translations - #104

Merged
snyaggarwal merged 1 commit into
mainfrom
issues#3038
Nov 17, 2026
Merged

snyaggarwal merged 1 commit into
mainfrom
issues#3038

Conversation

@snyaggarwal

Copy link
Copy Markdown
Contributor

Closes OpenConceptLab/ocl_issues#3038

The sign-in check in CheckAuth.jsx uses common.checking_auth, which the Spanish and Chinese catalogs lacked, so those languages fell back to English.

Adds the key to both, using the strings from the TBv2 fix (OpenConceptLab/oclweb2#63):

  • es: "Verificando la autenticación..."
  • zh: "正在验证身份..."

No other changes.

🤖 Generated with Claude Code

…he es and zh translations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@snyaggarwal snyaggarwal left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verdict: looks good to merge.

It does what OpenConceptLab/ocl_issues#3038 asks: common.checking_auth is now in both the es and zh common objects, at the right nesting level, which is where CheckAuth.jsx reads t('common.checking_auth'). Both files still parse as valid JSON. The strings match the TBv2 fix (OpenConceptLab/oclweb2#63), and the ASCII ... matches the other loading strings in these catalogs (signing_in, uploading). Nothing else changed.

No correctness problems found. There is one follow-up note, inline below. It doesn't block this PR.

"uid": "UID",
"undo": "撤销",
"unretire": "重新激活",
"checking_auth": "正在验证身份...",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Follow-up (non-blocking): this adds the one missing key, but nothing checks that each locale has the same keys as en. Right now es is missing 423 en keys and zh is missing 352, some of them right next to this one (common.loading, common.delete.*). All of them fall back to English with no warning, because of fallbackLng: 'en' in src/i18n/config.js, which is how this key went missing.

A small node:test under src/i18n/__tests__ that lists the en keys missing from each locale would catch these. It could start as a report or with an allowlist. That belongs in its own ticket, since this one limits the change to the one key.

@snyaggarwal
snyaggarwal merged commit 68357e0 into main Nov 17, 2026
2 checks passed
@snyaggarwal
snyaggarwal deleted the issues#3038 branch November 17, 2026 04:22
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.

TBv3: the es and zh translations lack common.checking_auth

1 participant