Repository navigation
feat: add french - #1355
feat: add french#1355
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe changes in this pull request introduce support for the French language within the application. This includes updating language codes and details in the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Co-authored-by: Crowdin Bot <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (4)
- packages/lib/translations/fr/common.po (1 hunks)
- packages/lib/translations/fr/marketing.po (1 hunks)
- packages/lib/translations/fr/web.js (1 hunks)
- packages/lib/translations/fr/web.po (39 hunks)
Files skipped from review as they are similar to previous changes (3)
- packages/lib/translations/fr/common.po
- packages/lib/translations/fr/marketing.po
- packages/lib/translations/fr/web.js
Additional comments not posted (7)
packages/lib/translations/fr/web.po (7)
11-11: LGTM!The revision date has been updated correctly.
591-591: LGTM!The French translation "Avatar mis à jour" looks good for "Avatar Updated".
612-612: Looks good!The French translation "Code de sauvegarde" accurately conveys "Backup Code".
622-622: Translation approved.The French translation "Bannière mise à jour" looks good for "Banner Updated".
581-581: Translation approved, verify line reference.The French translation "Authentification requise" accurately translates "Authentication required". However, ensure the line reference change from 57 to 52 is valid.
Verify the line reference:
#!/bin/bash rg -F $'Authentication required' -g '*.tsx' -A 5 -B 5
599-599: Translation approved, but check line reference.The French translation "Retour" is correct for "Back". However, please verify that the line reference change from 497 to 509 is accurate.
Verify the new line reference:
#!/bin/bash rg -F $'Back' -g '*.tsx' -A 5 -B 5
624-624: Translation looks good, verify line reference.The French translation "Détails de base" accurately translates "Basic details". However, please verify that the line reference change from 460 to 472 is valid.
Verify the new line reference:
#!/bin/bash rg -F $'Basic details' -g '*.tsx' -A 5 -B 5
| msgstr "Permet d'authentifier en utilisant des biométries, des gestionnaires de mots de passe, des clés matérielles, etc." | ||
|
|
||
| #: apps/web/src/components/forms/v2/signup.tsx:411 | ||
| #: apps/web/src/components/forms/v2/signup.tsx:423 |
There was a problem hiding this comment.
Tip
Codebase Verification
Translation is correct, but line reference needs updating
The French translation for "Already have an account? <0>Sign in instead</0>" is accurate and preserves the HTML tags. However, the line reference (423) in the .po file doesn't match the actual location in the code.
The text is found in the file apps/web/src/components/forms/v2/signup.tsx, but not at line 423. It's part of a larger component using the <Trans> tag for internationalization.
Action items:
- Update the line reference in the .po file to match the current location in the signup.tsx file.
- Consider using a more robust method for tracking translations that doesn't rely on exact line numbers, as these can change frequently during development.
Analysis chain
Translation looks good, but verify the line reference change.
The French translation accurately conveys the meaning and preserves the HTML tags. However, the line reference has changed from 411 to 423.
Verify that the line reference change is valid:
Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Check if the English text exists at the new line number
rg -F $'Already have an account\? <0>Sign in instead</0>' -g '*.tsx' -A 5 -B 5
Length of output: 1097
Script:
#!/bin/bash
# Search for a partial match of the text
rg -i "already have an account" --type tsx
# Search with a more flexible pattern
rg -i "account.*sign in" --type tsx
# List all .tsx files in the apps/web/src/components/forms/v2/ directory
fd . apps/web/src/components/forms/v2/ -e tsx
# Check the content of the signup.tsx file
cat apps/web/src/components/forms/v2/signup.tsx
Length of output: 18458
Description
Add initial French translations
Summary by CodeRabbit
New Features
Bug Fixes
Chores