Repository navigation
OpenConceptLab/ocl_issues#3038 | Add common.checking_auth to the es and zh translations - #104
Conversation
…he es and zh translations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
snyaggarwal
left a comment
There was a problem hiding this comment.
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": "正在验证身份...", |
There was a problem hiding this comment.
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.
Closes OpenConceptLab/ocl_issues#3038
The sign-in check in
CheckAuth.jsxusescommon.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):
No other changes.
🤖 Generated with Claude Code