Skip to content

Translations#1323

Open
david-roper wants to merge 4 commits intoDouglasNeuroInformatics:mainfrom
david-roper:translations
Open

Translations#1323
david-roper wants to merge 4 commits intoDouglasNeuroInformatics:mainfrom
david-roper:translations

Conversation

@david-roper
Copy link
Copy Markdown
Collaborator

@david-roper david-roper commented Mar 27, 2026

Using antigravity to look through web repository finding translations to add or fix

Summary by CodeRabbit

  • Localization
    • Enhanced French translations throughout the application with improved terminology consistency
    • Corrected grammar and French wording for better clarity across the user interface
    • Updated translation terms for improved consistency in assignments, instruments, and session management

@david-roper david-roper requested a review from joshunrau as a code owner March 27, 2026 19:06
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 27, 2026

Walkthrough

This PR updates French localization across the web application, changing terminology (e.g., "Devoir" to "Assignation", "Effacer" to "Supprimer", "Genre" to "Type"), correcting grammar (e.g., "la bouton" to "le bouton"), and refining phrasing in component files and translation JSON files. No functional logic or control flow is modified.

Changes

Cohort / File(s) Summary
Component UI Text Updates
apps/web/src/components/InstrumentShowcase/InstrumentKindDropdown.tsx, apps/web/src/components/StartSessionForm/StartSessionForm.tsx, apps/web/src/providers/WalkthroughProvider.tsx
Updated French UI strings, validation error messages, and walkthrough copy; changed terminology like "Genre" → "Type", corrected grammar ("la bouton" → "le bouton"), and refined phrasing ("Commencer" → "Démarrer").
Admin & Route UI Updates
apps/web/src/routes/_app/admin/users/index.tsx, apps/web/src/routes/_app/dashboard.tsx, apps/web/src/routes/_app/group/manage.tsx, apps/web/src/routes/_app/upload/$instrumentId.tsx, apps/web/src/routes/_app/upload/index.tsx
Updated French labels, modal titles, error messages, and field labels; changed "Effacer" → "Supprimer", "Devoir" → "Assignation", "Genre" → "Type", and refined label phrasing for consistency.
Translation JSON Files
apps/web/src/translations/common.json, apps/web/src/translations/core.json, apps/web/src/translations/datahub.json, apps/web/src/translations/group.json, apps/web/src/translations/instruments.json, apps/web/src/translations/layout.json, apps/web/src/translations/session.json
Updated French translation entries across multiple scopes; standardized terminology ("Devoir" → "Assignation", "Téléchargement" → "Téléversement"), corrected capitalization, and refined phrasing for consistency.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • joshunrau
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Translations' accurately describes the pull request's main objective of updating French translation strings across multiple files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
apps/web/src/routes/_app/dashboard.tsx (1)

255-255: Minor inconsistency: "sujets" vs "clients" terminology.

This file uses "sujets" (Line 255: "Nombre total de sujets") while WalkthroughProvider.tsx uses "clients" for the same concept (e.g., "Recherche de client"). Consider standardizing terminology across the application.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/web/src/routes/_app/dashboard.tsx` at line 255, Minor inconsistency: the
dashboard label uses "sujets" while WalkthroughProvider.tsx and other UI use
"clients"; update the dashboard string (the French label currently 'Nombre total
de sujets' in dashboard.tsx) to match the established terminology 'clients'
(e.g., change to 'Nombre total de clients'), and scan for other French labels
using "sujets" to align them with WalkthroughProvider.tsx so terminology is
consistent across components.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@apps/web/src/routes/_app/dashboard.tsx`:
- Line 255: Minor inconsistency: the dashboard label uses "sujets" while
WalkthroughProvider.tsx and other UI use "clients"; update the dashboard string
(the French label currently 'Nombre total de sujets' in dashboard.tsx) to match
the established terminology 'clients' (e.g., change to 'Nombre total de
clients'), and scan for other French labels using "sujets" to align them with
WalkthroughProvider.tsx so terminology is consistent across components.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 8cae7364-1411-4593-9882-c4d1d6128e5e

📥 Commits

Reviewing files that changed from the base of the PR and between 7b90b70 and f0579d6.

📒 Files selected for processing (15)
  • apps/web/src/components/InstrumentShowcase/InstrumentKindDropdown.tsx
  • apps/web/src/components/StartSessionForm/StartSessionForm.tsx
  • apps/web/src/providers/WalkthroughProvider.tsx
  • apps/web/src/routes/_app/admin/users/index.tsx
  • apps/web/src/routes/_app/dashboard.tsx
  • apps/web/src/routes/_app/group/manage.tsx
  • apps/web/src/routes/_app/upload/$instrumentId.tsx
  • apps/web/src/routes/_app/upload/index.tsx
  • apps/web/src/translations/common.json
  • apps/web/src/translations/core.json
  • apps/web/src/translations/datahub.json
  • apps/web/src/translations/group.json
  • apps/web/src/translations/instruments.json
  • apps/web/src/translations/layout.json
  • apps/web/src/translations/session.json

@david-roper
Copy link
Copy Markdown
Collaborator Author

Model used: gemini 3.1 pro

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.

1 participant