Repository navigation
chore: add translations - #1444
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
|
|
Thank you for following the naming conventions for pull request titles! 💚🚀 |
WalkthroughThe pull request introduces updates to various localization files for the Documenso application, specifically enhancing the German, Spanish, and French translations. Key modifications include filling previously empty translation entries, updating existing phrases for clarity, and revising the "PO-Revision-Date" across multiple files. These changes aim to improve the overall localization quality, ensuring that users receive accurate and contextually appropriate messages related to document management and user actions. 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 (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (7)
packages/lib/translations/fr/common.po (1)
1460-1460: Add a period for consistency.The translation "Vous" should include a period to maintain consistency with other similar translations in the file.
-msgstr "Vous" +msgstr "Vous."packages/lib/translations/de/common.po (1)
101-181: Consider improving readability of audit log translations.While the translations are functionally correct, some could be made more concise by removing redundant words. For example:
- "{prefix} hat ein Feld hinzugefügt" could be shortened to "{prefix} fügte ein Feld hinzu"
- Similar pattern could be applied to other audit log messages
This would make the messages more concise while maintaining their meaning.
packages/lib/translations/de/web.po (5)
225-225: Fix typo in German translation.The translation "Kontowauthentifizierung" contains a typo - the extra 'w' should be removed.
-msgstr "Kontowauthentifizierung" +msgstr "Kontoauthentifizierung"
234-234: Use consistent terminology for authentication.For consistency with other translations, use "Kontoauthentifizierung" instead of "Kontowiederauthentifizierung".
-msgstr "Kontowiederauthentifizierung" +msgstr "Kontoauthentifizierung"
586-586: Improve translation naturalness."Jede Quelle" is grammatically correct but "Alle Quellen" would sound more natural in this context.
-msgstr "Jede Quelle" +msgstr "Alle Quellen"
590-590: Improve translation naturalness."Jeder Status" is grammatically correct but "Alle Status" would sound more natural in this context.
-msgstr "Jeder Status" +msgstr "Alle Status"
653-653: Consider using more common terminology.While "Authentifizierungsstufe" is technically correct, "Sicherheitsstufe" is more commonly used in German UIs for this context.
-msgstr "Authentifizierungsstufe" +msgstr "Sicherheitsstufe"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (9)
packages/lib/translations/de/common.po(14 hunks)packages/lib/translations/de/marketing.po(2 hunks)packages/lib/translations/de/web.po(32 hunks)packages/lib/translations/es/common.po(14 hunks)packages/lib/translations/es/marketing.po(2 hunks)packages/lib/translations/es/web.po(32 hunks)packages/lib/translations/fr/common.po(14 hunks)packages/lib/translations/fr/marketing.po(2 hunks)packages/lib/translations/fr/web.po(32 hunks)
✅ Files skipped from review due to trivial changes (1)
- packages/lib/translations/de/marketing.po
🔇 Additional comments (21)
packages/lib/translations/es/marketing.po (2)
11-11: LGTM! Header metadata is properly updated.
The PO-Revision-Date update is correctly formatted and follows the expected pattern.
Line range hint 1-605: Excellent translation quality and consistency!
The Spanish translations demonstrate high quality with:
- Proper preservation of placeholders and HTML tags
- Consistent terminology
- Natural and fluent Spanish language
- Accurate conveyance of marketing messaging
packages/lib/translations/fr/marketing.po (3)
11-11: LGTM: PO-Revision-Date update
The revision date has been properly updated to reflect the latest changes.
Line range hint 1-605: Translations look accurate and well-maintained
The French translations maintain proper formatting, preserve placeholders (e.g., {0}, <0>, etc.), and accurately convey the meaning of the original text. The translations are culturally appropriate and natural-sounding in French.
Some notable examples of good translations:
- "Document signing, finally open source" → "Signature de documents, enfin open source"
- "Because signing should be celebrated" → "Parce que la signature doit être célébrée"
- Technical terms are appropriately preserved (e.g., "API Access" → "Accès API")
Line range hint 1-605: Verify placeholder consistency
The translations contain various placeholders (e.g., {0}, <0>, HTML tags). Let's verify their consistency across the codebase.
✅ Verification successful
Based on the comprehensive output showing the placeholders in both the original English strings and French translations, I can verify that all placeholders are consistently maintained in the French translations. Specifically:
- Numeric placeholders like
{0},{1}are preserved in the same order - HTML tag placeholders like
<0>,<1>are maintained with proper nesting - Named placeholders like
{userName},{teamName}are correctly preserved - Complex plural forms like
{0, plural, one {...} other {...}}maintain their structure - All placeholder combinations in strings like
"{0} <0>({1})</0>"keep their ordering
All placeholders in the French translations match their English counterparts exactly, ensuring proper string interpolation at runtime.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Check for any mismatched placeholders in translation files
# Look for placeholder patterns in the original English strings
echo "Checking English placeholders..."
rg -A 1 'msgid.*(\{[0-9]+\}|<[0-9]+>)' packages/lib/translations/
# Look for placeholder patterns in the French translations
echo "Checking French translations..."
rg 'msgstr.*(\{[0-9]+\}|<[0-9]+>)' packages/lib/translations/fr/
Length of output: 121729
packages/lib/translations/es/common.po (8)
11-11: LGTM: Metadata update is correct.
The PO-Revision-Date has been properly updated to reflect the latest translation changes.
101-101: LGTM: Document action translations are accurate and consistent.
The translations for document actions (added, created, deleted) maintain consistency in verb tense and terminology.
Also applies to: 105-105, 109-109, 113-113
117-181: LGTM: Document audit log translations are well-structured.
The translations for audit log messages follow a consistent pattern and maintain proper Spanish grammar while accurately conveying the technical actions.
193-209: LGTM: User action translations are clear and accurate.
The translations for user actions (approved, CC'd, completed, signed, viewed) maintain proper Spanish verb forms and technical terminology.
259-267: LGTM: Field action translations are properly localized.
The translations for field actions use appropriate Spanish passive voice constructions with "Se" prefix, maintaining consistency across similar actions.
275-283: LGTM: Recipient action translations follow established patterns.
The translations for recipient actions maintain the same passive voice pattern established in field actions, ensuring consistency throughout the interface.
Line range hint 584-647: LGTM: Document status translations are accurate.
The translations for document statuses use appropriate Spanish terms that clearly convey the state of the document.
692-696: LGTM: Email status translations are consistent.
The translations for email statuses maintain consistency with other similar status messages in the application.
packages/lib/translations/de/common.po (2)
11-11: LGTM! Revision date properly updated.
The PO-Revision-Date has been correctly updated to reflect the latest translation changes.
Line range hint 656-1523: LGTM! Translations are accurate and well-formatted.
The translations:
- Correctly preserve all placeholders and HTML tags
- Follow proper German grammar and formatting rules
- Maintain the context and meaning of the original text
packages/lib/translations/es/web.po (4)
Line range hint 225-234: LGTM! Security term translations are accurate
The translations for "Account Authentication" and "Account Re-Authentication" maintain both technical accuracy and natural Spanish phrasing.
653-654: LGTM! Consistent with authentication terminology
The translation "Nivel de Autenticación" is accurate and maintains consistency with other authentication-related terms in the interface.
2385-2386: LGTM! Appropriate handling of technical term
The translation correctly keeps "Passkey" untranslated while properly translating the "Re-Authentication" portion, maintaining technical accuracy.
4104-4105: LGTM! Standard translation used
The translation "Historial de Versiones" uses the standard Spanish terminology for version history.
packages/lib/translations/fr/web.po (2)
Line range hint 1-19: LGTM! Metadata changes look good.
The metadata follows the standard PO file format and the revision date has been properly updated.
Line range hint 20-4819: LGTM! Translation changes are high quality.
The French translations:
- Maintain proper grammar and cultural appropriateness
- Preserve placeholders and HTML tags correctly
- Keep consistent terminology throughout
- Handle special characters and accents properly
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation