Repository navigation
feat(web): translate the admin user, access and session pages - #3905
Conversation
|
Important Review skippedToo many files! This PR contains 709 files, which is 409 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 300 files.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The Evidence section names desktop only, but the translated Users, access and session text also appears at phone width. Please add before-and-after mobile-web captures of the affected admin screens, including a translated view, or show why mobile is unaffected, as CONTRIBUTING.md requires. |
bda80f9 to
6a89181
Compare
a1ef24e to
4bb2133
Compare
|
Added phone-width captures to the evidence page: Users and Access groups in English (before and after), Spanish and Arabic. |
6a89181 to
fbe8143
Compare
c1a4c86 to
c4a9eaa
Compare
62f49d4 to
68f9b9d
Compare
Extracts admin users, access groups, invitations, sign-in, activity and API keys to the shared catalog with English unchanged. Activity search and sort keys stay English. The API key scopes main added are converted. Co-Authored-By: Claude Opus 5.5 <[email protected]>
c4a9eaa to
a4c61ff
Compare
Problem
Related issue: #3188
Validation tasks: none (English output is unchanged apart from plural fixes in the Devices summary)
Stacked on #3904; the full stack order is in #3723.
The admin user, access and session pages are hardcoded English, so an administrator using a translated interface still manages accounts, groups, devices and API keys in English. This converts them to catalog messages.
Approach
The Users list and Create User form, every user detail tab (Overview, Profiles, Access, Sign-in, Activity, Downloads, Preferences), the four user dialogs, access groups and the policy pages, Devices, API keys, playback history and Activity, plus the playback-session controls and the login-session panel, now come from the catalog. Admin Activity search and sort keys stay English. The API key scopes
mainadded during review are converted; their keys are in the silo-translations release.English is unchanged apart from plural fixes in the Devices summary counts, which printed a plural for one ("1 USERS" → "1 USER" and its siblings).
Validation
mainon every converted screen apart from those plural fixes.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3905/
Surface and build: web admin, desktop and phone width; English on
mainand on a build of the whole stack, and Spanish, Arabic, German and Japanese on that build. Phone captures show English (before and after), Spanish and Arabic.Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Translate admin user, access, and session pages with react-intl
useT/useAppLanguage/useAdminMessageshooks in hooks.ts.MessageKeyvalues instead of English label strings.LoginSessionRow, and AdminSessionActions, including toast, dialog, and accessible-label text.catalogPartsplugin in vite.config.ts that splits locale catalogs into app andweb.admin-prefixed parts, plus anAccept-Languageheader in client.ts.useAdminMessagesthrows while the admin catalog is loading or after a load failure, so admin pages now wait on AdminLayout rendering nothing until admin messages are ready;quotaPeriodsreplaces the exported label record with aquotaPeriodWindowLabel()function.Macroscope summarized c4a9eaa.