Skip to content

chore: add translations - #1451

Merged
Mythie merged 1 commit into
mainfrom
chore/translations
Nov 8, 2024
Merged

Mythie merged 1 commit into
mainfrom
chore/translations

Conversation

@Mythie

@Mythie Mythie commented Nov 6, 2024 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Enhanced German, Spanish, and French translations for various user interface elements and notifications, improving clarity and user experience.
    • Added new translations for phrases related to document actions and user interactions, including "Approve Document," "Sign Document," "View Document," "Signing Links," and "Bulk Copy."
    • New translations for user notifications and actions, ensuring accurate representation in all supported languages.
  • Bug Fixes

    • Corrected and refined existing translations for consistency and grammatical accuracy across all languages, ensuring effective communication.
  • Chores

    • Updated the revision dates in translation files to reflect the latest changes.

@vercel

vercel Bot commented Nov 6, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
prd-openpage-api ❌ Failed (Inspect) Nov 8, 2024 0:18am
stg-marketing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 0:18am
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
prd-docs ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 0:18am
stg-app ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 0:18am
stg-docs ⬜️ Ignored (Inspect) Visit Preview Nov 8, 2024 0:18am

@coderabbitai

coderabbitai Bot commented Nov 6, 2024 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request includes updates to various translation files for the Documenso application across multiple languages: German, Spanish, and French. The primary change across all files is the modification of the "PO-Revision-Date" to reflect a new revision date. Additionally, several translation strings have been added or updated in the German, Spanish, and French files to enhance clarity and accuracy, ensuring effective communication with users in their respective languages.

Changes

File Path Change Summary
packages/lib/translations/de/common.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; added/updated several translations.
packages/lib/translations/de/marketing.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; no changes to translations.
packages/lib/translations/de/web.po Updated "PO-Revision-Date"; added/updated multiple translation strings for clarity and accuracy.
packages/lib/translations/es/common.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; added/modified several translations.
packages/lib/translations/es/marketing.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; added new translation string.
packages/lib/translations/es/web.po Updated "PO-Revision-Date"; added/updated multiple translation strings for clarity and accuracy.
packages/lib/translations/fr/common.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; added/updated several translations.
packages/lib/translations/fr/marketing.po Updated "PO-Revision-Date" from "2024-11-05 09:34" to "2024-11-08 12:05"; no changes to translations.
packages/lib/translations/fr/web.po Updated "PO-Revision-Date"; added/updated multiple translation strings for clarity and accuracy.

Possibly related PRs

  • chore: add translations #1327: This PR also updates the German translation file common.po, adding new translations and modifying existing ones, which aligns with the changes made in the main PR.
  • feat: add french #1355: This PR introduces initial French translations, which are relevant as the main PR also updates the French translations.
  • chore: add translations #1359: This PR updates the German translations in common.po, which is directly related to the changes made in the main PR for the same file.
  • style: Update common.po #1402: This PR updates the German common.po file, which is relevant to the main PR's modifications in the same file.
  • style: Update web.po #1403: This PR updates the German web.po file, which is related to the changes in the main PR that also involves updates to German translations.
  • feat: add certificate translations #1440: This PR focuses on adding translations for audit logs and certificates, which relates to the overall theme of enhancing localization in the main PR.
  • chore: add translations #1444: This PR updates the German common.po file, which is directly related to the changes made in the main PR for the same file.

Suggested labels

pkg: ee changes

Suggested reviewers

  • dguyen

Poem

In the land of translations, we hop with glee,
Updating our files, as happy as can be.
With dates refreshed and meanings so bright,
Our users will smile, all day and all night!
So here’s to the changes, both big and small,
A joyful leap forward, for one and for all! 🐇✨

Warning

Tool Failures:

Tool Failure Count:


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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@vercel
vercel Bot temporarily deployed to Preview – stg-app November 6, 2024 14:03 Inactive
@github-actions

github-actions Bot commented Nov 6, 2024 •

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions for pull request titles! 💚🚀

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
packages/lib/translations/es/marketing.po (1)

Line range hint 20-605: Overall translations look good with some suggested improvements.

The translations maintain proper formatting, preserve HTML tags, and handle placeholders correctly. However, here are a few suggestions for improvement:

  1. "Because signing should be celebrated" (line 69) → Consider a more natural Spanish expression: "Porque la firma merece ser celebrada"

  2. "Lightning-fast speeds" (line 47) → Consider a more idiomatic Spanish phrase: "velocidades instantáneas" instead of "velocidades ultrarrápidas"

  3. "Up to 10 recipients per document" (line 103) → Consider adding "hasta un máximo de" for clarity: "Hasta un máximo de 10 destinatarios por documento"

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 61ea497 and 19dc943.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (2 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (9 hunks)
  • packages/lib/translations/es/common.po (2 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (9 hunks)
  • packages/lib/translations/fr/common.po (2 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (9 hunks)
✅ Files skipped from review due to trivial changes (3)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/fr/marketing.po
🔇 Additional comments (17)
packages/lib/translations/es/marketing.po (1)

Line range hint 1-19: LGTM! Metadata section is properly formatted.

The file headers and metadata are correctly structured with appropriate charset, encoding, and updated revision date.

packages/lib/translations/es/common.po (2)

11-11: LGTM: Metadata update is valid.

The PO-Revision-Date update follows the correct format and contains a valid timestamp.


1523-1523: No content changes at this line.

This appears to be just a line marker without any actual content changes.

packages/lib/translations/fr/common.po (3)

Line range hint 1-19: LGTM! Metadata headers are properly updated.

The PO-Revision-Date update is consistent with the coordinated update across translation files mentioned in the summary.


Line range hint 21-1522: LGTM! Translations are high quality and consistent.

The French translations demonstrate:

  • Proper grammar and punctuation
  • Consistent formal tone
  • Correct handling of variables and placeholders
  • Appropriate business terminology

1523-1523: ⚠️ Potential issue

Remove unrelated trailing number.

The number "1523" at the end of the file appears to be an artifact unrelated to the translations and should be removed.

Apply this diff to remove the trailing number:

Likely invalid or redundant comment.

packages/lib/translations/es/web.po (4)

Line range hint 1-24: LGTM! Metadata headers are properly formatted.

The PO file headers contain all required metadata and the revision date is correctly updated.


378-378: LGTM! Translation is accurate and natural.

The Spanish translation "Todos los enlaces de firma se han copiado en su portapapeles" accurately conveys the meaning of "All signing links have been copied to your clipboard" while maintaining natural Spanish phrasing.


723-723: LGTM! Translation maintains consistency.

The Spanish translation "Copia masiva" for "Bulk Copy" is concise and aligns with Spanish UI terminology conventions.


3097-3097: LGTM! Translation preserves technical meaning.

The Spanish translation "Enlaces de firma" for "Signing Links" accurately represents the technical concept while being clear to Spanish users.

packages/lib/translations/fr/web.po (2)

11-11: LGTM: Metadata update

The PO-Revision-Date has been correctly updated to reflect this new revision.


378-378: LGTM: New translation addition

The new translation for "All signing links have been copied to your clipboard" has been properly translated to French as "Tous les liens de signature ont été copiés dans votre presse-papiers", maintaining both accuracy and natural language flow.

packages/lib/translations/de/web.po (5)

11-11: LGTM!

The PO-Revision-Date update is a standard metadata change.


378-378: LGTM!

The German translation "Alle Signierlinks wurden in die Zwischenablage kopiert" is accurate and natural.


723-723: LGTM!

The German translation "Massenkopie" is accurate and appropriate for UI space constraints.


991-991: LGTM!

The German translation "Kopieren" is the standard translation used in UIs.


1003-1003: LGTM!

The German translation "Signierlinks kopieren" is accurate and consistent with other UI elements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
packages/lib/translations/es/web.po (1)

4855-4855: Remove extra empty line at end of file

There is an unnecessary empty line at the end of the file.

-
packages/lib/translations/de/web.po (1)

4855-4855: Remove trailing empty line.

The file ends with an unnecessary empty line.

-
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 19dc943 and 396c981.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (2 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (9 hunks)
  • packages/lib/translations/es/common.po (2 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (9 hunks)
  • packages/lib/translations/fr/common.po (2 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (9 hunks)
🚧 Files skipped from review as they are similar to previous changes (7)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
  • packages/lib/translations/fr/web.po
🔇 Additional comments (3)
packages/lib/translations/es/web.po (1)

378-378: LGTM! Translations are accurate and maintain consistency

The Spanish translations for copy-related actions and messages are accurate, natural, and maintain consistency with the rest of the interface. The grammar and word choices are appropriate for the target language.

Also applies to: 723-723, 991-991, 1003-1003, 4572-4572

packages/lib/translations/de/web.po (2)

11-11: LGTM! Metadata update looks good.

The PO-Revision-Date has been updated to reflect the latest translation changes.


378-378: LGTM! New translations added.

The following translations have been added for previously empty strings:

  • "All signing links have been copied to your clipboard."
  • "Bulk Copy"
  • "Copied"
  • "Copy"
  • "Copy Signing Links"
  • "Signing Links"
  • "You can copy and share these links to recipients so they can action the document."

The translations are accurate and maintain consistency with the existing German translations.

Also applies to: 723-723, 976-976, 991-991, 1003-1003, 3097-3097, 4572-4572

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
packages/lib/translations/es/web.po (1)

4855-4855: Remove extra newline at end of file

There is an unnecessary empty line at the end of the file.

-
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between ebc9ad6 and adfd38c.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (2 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (9 hunks)
  • packages/lib/translations/es/common.po (2 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (9 hunks)
  • packages/lib/translations/fr/common.po (2 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (9 hunks)
🚧 Files skipped from review as they are similar to previous changes (6)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
🔇 Additional comments (7)
packages/lib/translations/es/web.po (2)

11-11: LGTM! Revision date updated

The PO-Revision-Date has been properly updated to reflect the latest changes.


378-378: LGTM! Copy-related translations are accurate

The Spanish translations for copy-related actions and messages are grammatically correct and maintain consistent terminology throughout the interface. The translations appropriately convey the meaning of the original text while using natural Spanish phrases.

Also applies to: 723-723, 976-976, 991-991, 1003-1003, 3097-3097, 4572-4572

packages/lib/translations/fr/web.po (4)

11-11: LGTM!

The PO-Revision-Date metadata update is correct.


378-378: LGTM!

The translation "Tous les liens de signature ont été copiés dans votre presse-papiers" is accurate and natural, using correct French terminology.


723-723: LGTM!

The translation "Copie groupée" is an appropriate and idiomatic French term for "Bulk Copy".


991-991: LGTM!

The translations for copy-related actions are consistent and follow French UI conventions:

  • "Copy" → "Copier"
  • "Copy Signing Links" → "Copier les liens de signature"

Also applies to: 1003-1003

packages/lib/translations/de/web.po (1)

378-378: LGTM! The translations are accurate and consistent.

The German translations are well-crafted, maintain a consistent formal tone, and use appropriate terminology. The compound words like "Signierlinks" follow proper German word formation rules.

Also applies to: 723-723, 976-976, 991-991, 1003-1003, 4572-4572

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
packages/lib/translations/de/web.po (1)

731-731: Consider a more descriptive translation for "Bulk Copy".

While "Massenkopie" is technically correct, consider using "Mehrfachkopie" or "Alle kopieren" which might be more intuitive for German users.

-msgstr "Massenkopie"
+msgstr "Mehrfachkopie"
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 2370287 and e243c88.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (10 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (12 hunks)
  • packages/lib/translations/es/common.po (10 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (12 hunks)
  • packages/lib/translations/fr/common.po (9 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (11 hunks)
🚧 Files skipped from review as they are similar to previous changes (8)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/es/web.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
  • packages/lib/translations/fr/web.po
🔇 Additional comments (2)
packages/lib/translations/de/web.po (2)

386-386: LGTM! Consistent translation of "signing links".

The translation "Signierlinks" is used consistently across multiple occurrences, maintaining good terminology consistency throughout the interface.

Also applies to: 1011-1011, 3105-3105


4580-4580: LGTM! Natural translation of the longer text.

The translation "Sie können diese Links kopieren und mit den Empfängern teilen, damit sie das Dokument bearbeiten können" flows naturally in German while accurately conveying the original meaning.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
packages/lib/translations/es/web.po (1)

4580-4580: Verify subject-verb agreement in Spanish translation

The translation "Puede copiar y compartir..." uses singular form ("puede") while in English it's more general. Consider using plural "Pueden" to match the more inclusive tone of the English text.

-msgstr "Puede copiar y compartir estos enlaces con los destinatarios para que puedan gestionar el documento."
+msgstr "Pueden copiar y compartir estos enlaces con los destinatarios para que puedan gestionar el documento."
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between e243c88 and fac60be.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (10 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (12 hunks)
  • packages/lib/translations/es/common.po (10 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (12 hunks)
  • packages/lib/translations/fr/common.po (9 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (11 hunks)
🚧 Files skipped from review as they are similar to previous changes (6)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
🔇 Additional comments (11)
packages/lib/translations/es/web.po (3)

81-81: Verify removal of obsolete translations

The removal of these translations appears correct as they are being replaced by more specific translations using the recipientActionVerb variable for better context.

Also applies to: 93-93


109-109: LGTM: Proper handling of dynamic verb translations

The new translations using {recipientActionVerb} are correctly implemented and maintain proper Spanish grammar structure while accommodating the dynamic verb.

Also applies to: 113-113


386-386: Consistent terminology in clipboard and copy-related translations

The translations maintain consistency in terminology:

  • "clipboard" -> "portapapeles"
  • "copy" -> "copiar"/"copia"
  • "signing links" -> "enlaces de firma"

The translations are accurate and natural-sounding in Spanish.

Also applies to: 731-731, 984-984, 999-999, 1011-1011, 3105-3105

packages/lib/translations/fr/web.po (3)

11-11: LGTM!

The revision date update is standard metadata maintenance.


386-386: LGTM! The signing links translations are accurate and consistent.

The translations for "All signing links have been copied", "Bulk Copy", and "Copy Signing Links" are:

  • Grammatically correct
  • Use natural French expressions
  • Maintain consistent terminology with related UI elements

Also applies to: 731-731, 1011-1011


93-93: Skipping review of obsolete translations.

These lines are marked as obsolete/fuzzy with #~ prefix and are not actively used in the application.

Also applies to: 109-109, 113-113

packages/lib/translations/de/web.po (5)

11-11: LGTM: Revision date updated correctly

The PO-Revision-Date has been properly updated to reflect the latest changes.


386-386: LGTM: Clear and accurate translation

The German translation "Alle Signierlinks wurden in die Zwischenablage kopiert." accurately conveys the meaning of "All signing links have been copied to your clipboard" while maintaining natural German phrasing.


731-731: LGTM: Appropriate translation choice

"Massenkopie" is an appropriate translation for "Bulk Copy", maintaining both brevity and clarity in German.


3105-3105: LGTM: Consistent terminology used

The translation "Signierlinks" for "Signing Links" maintains consistency with other signing-related terms in the interface.


4580-4580: LGTM: Natural and accurate translation

The translation "Sie können diese Links kopieren und mit den Empfängern teilen, damit sie das Dokument bearbeiten können." naturally conveys the sharing functionality while maintaining the original meaning.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
packages/lib/translations/de/web.po (2)

731-731: Ensure consistent capitalization in button/action labels.

For better UI consistency in German, consider standardizing the capitalization of action verbs in buttons/labels:

  • "Massenkopie" → "Massenkopieren"
  • "Kopiert" → "Kopieren"
  • "Kopieren" (already correct)
  • "Signierlinks kopieren" → "Signierlinks Kopieren"
  • "Signierlinks" → "Signierlinks"

Also applies to: 984-984, 999-999, 1011-1011, 3105-3105


4580-4580: Consider revising the translation for better clarity.

The current translation:
"Sie können diese Links kopieren und mit den Empfängern teilen, damit sie das Dokument bearbeiten können."

Could be improved to better reflect the original meaning of "action the document":

-"Sie können diese Links kopieren und mit den Empfängern teilen, damit sie das Dokument bearbeiten können."
+"Sie können diese Links kopieren und mit den Empfängern teilen, damit sie die erforderlichen Aktionen am Dokument durchführen können."
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between fac60be and 2de3c79.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (10 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (12 hunks)
  • packages/lib/translations/es/common.po (10 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (12 hunks)
  • packages/lib/translations/fr/common.po (9 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (11 hunks)
🚧 Files skipped from review as they are similar to previous changes (8)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/es/web.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
  • packages/lib/translations/fr/web.po
🔇 Additional comments (1)
packages/lib/translations/de/web.po (1)

Line range hint 1-4863: LGTM! The German translations are well-done and maintain consistency.

The translations demonstrate high quality with:

  • Proper formal German language usage
  • Consistent terminology across the UI
  • Correct preservation of variables and HTML tags
  • Appropriate technical term translations

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (2)
packages/lib/translations/fr/web.po (2)

731-731: Consider using a more common French UI term for "Bulk Copy"

The current translation "Copie groupée" is accurate but consider using "Copie en masse" which is more commonly used in French user interfaces.

-msgstr "Copie groupée"
+msgstr "Copie en masse"

Line range hint 1-4863: Consider standardizing email capitalization

There are inconsistencies in how "email" is capitalized throughout the file - sometimes it appears as "e-mail" and other times as "email". Consider standardizing to one form, preferably "e-mail" which is more common in French.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 2de3c79 and 81f33a3.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (10 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (12 hunks)
  • packages/lib/translations/es/common.po (10 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (12 hunks)
  • packages/lib/translations/fr/common.po (9 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (11 hunks)
🚧 Files skipped from review as they are similar to previous changes (5)
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
🔇 Additional comments (13)
packages/lib/translations/de/common.po (2)

Line range hint 1-19: LGTM! Metadata changes look good.

The PO-Revision-Date has been correctly updated to reflect the latest revision.


31-31: LGTM! Translation changes are accurate and consistent.

The new and updated translations:

  1. Use correct German terminology
  2. Maintain consistent style across similar phrases
  3. Use proper German quotation marks
  4. Follow natural German language patterns

Also applies to: 421-421, 1195-1195, 1448-1448

packages/lib/translations/es/web.po (4)

11-11: LGTM: Revision date updated correctly

The PO-Revision-Date has been properly updated to "2024-11-07 16:03".


386-386: LGTM: New translation for bulk copy notification

The Spanish translation "Todos los enlaces de firma se han copiado en su portapapeles." for the bulk copy notification is accurate and natural.


731-731: LGTM: New translation for bulk copy action

The Spanish translation "Copia masiva" for "Bulk Copy" is appropriate and consistent with terminology.


Line range hint 81-93: Verify removed translations

These translations marked with ~msgstr have been removed. Please verify that they are no longer needed in the codebase.

✅ Verification successful

Let me analyze the removed translations and their current usage in the codebase.


Let me search for the exact translation string format.


Based on the search results, I can now provide a final response:

Removed translations can be safely deleted

The removed translations "{0} document" and "{0} the document to complete the process" have been properly replaced. The old "{0} document" translation is marked as removed (#~) in all language files, and the string "the document to complete the process" is now directly used through the <Trans> component in the codebase with proper context.

  • Found in apps/web/src/app/embed/sign/[[...url]]/client.tsx: Using <Trans>Sign the document to complete the process.</Trans>
  • Found in apps/web/src/app/embed/direct/[[...url]]/client.tsx: Using <Trans>Sign the document to complete the process.</Trans>
  • Found in apps/web/src/app/(recipient)/d/[token]/direct-template.tsx: Using dynamic message with recipientActionVerb
🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for any remaining usages of the removed strings
rg -l "document" 
rg -l "the document to complete the process"

Length of output: 25449


Script:

#!/bin/bash
# Search for specific usage of the removed translations in source files
rg -A 2 -B 2 "document to complete the process" "apps/web/src/app/embed/sign/[[...url]]/client.tsx" "apps/web/src/app/embed/direct/[[...url]]/client.tsx" "apps/web/src/app/(recipient)/d/[token]/direct-template.tsx"

# Search for the specific translation key in all translation files
rg -A 1 -B 1 '{0} document$' packages/lib/translations/*/web.po

Length of output: 2001


Script:

#!/bin/bash
# Search for the specific translation key in all translation files with proper escaping
rg -A 1 -B 1 '"\{0\} document"' packages/lib/translations/*/web.po

# Check if the removed translations are still being used in their new format
rg -A 2 -B 2 '"msgid.*\{0\} document"' packages/lib/translations/*/web.po

Length of output: 1479

packages/lib/translations/fr/web.po (2)

1011-1011: LGTM! Translations are accurate and consistent

The translations for "Signing Links" and related terms are accurate and maintain consistency throughout the file:

  • "Copier les liens de signature"
  • "Liens de signature"

Also applies to: 3105-3105


386-386: LGTM! Translation is accurate and natural

The translation "Tous les liens de signature ont été copiés dans votre presse-papiers" accurately conveys the meaning while maintaining natural French phrasing.

packages/lib/translations/de/web.po (5)

Line range hint 1-19: LGTM! Header metadata updated correctly.

The file header has been properly updated with the new revision date while maintaining all required metadata fields.


386-386: LGTM! Accurate translation for clipboard message.

The German translation "Alle Signierlinks wurden in die Zwischenablage kopiert" is accurate and natural for "All signing links have been copied to your clipboard".


731-731: LGTM! Appropriate translation for bulk action.

The German translation "Massenkopie" is an appropriate and concise translation for "Bulk Copy".


3105-3105: LGTM! Consistent translation for signing links.

The German translation "Signierlinks" maintains consistency with other translations in the file and is appropriate for "Signing Links".


4580-4580: LGTM! Natural translation for document sharing message.

The German translation "Sie können diese Links kopieren und mit den Empfängern teilen, damit sie das Dokument bearbeiten können" is a natural and accurate translation that maintains the meaning of the original text.

Comment thread packages/lib/translations/de/common.po Outdated
#: packages/email/templates/document-invite.tsx:91
msgid "{inviterName} has invited you to {action} the document {documentName}."
msgstr ""
msgstr "{inviterName} hat dich eingeladen, {action} das Dokument {documentName} zu überprüfen."

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix inconsistent translation.

The current translation adds "zu überprüfen" (to review) which is not present in the original text and could cause issues when the {action} variable contains different actions (sign, approve, view).

Suggested fix:

-msgstr "{inviterName} hat dich eingeladen, {action} das Dokument {documentName} zu überprüfen."
+msgstr "{inviterName} hat dich eingeladen, {action} das Dokument {documentName}."
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
msgstr "{inviterName} hat dich eingeladen, {action} das Dokument {documentName} zu überprüfen."
msgstr "{inviterName} hat dich eingeladen, {action} das Dokument {documentName}."

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
packages/lib/translations/fr/web.po (1)

93-93: Consider improving consistency of placeholder translations

The translations for placeholders {recipientActionVerb} are left in English. While this might be intentional for technical reasons, consider translating them if they are meant to be displayed to users.

Also applies to: 109-109, 113-113

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 17301f4 and 063692a.

📒 Files selected for processing (9)
  • packages/lib/translations/de/common.po (10 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (12 hunks)
  • packages/lib/translations/es/common.po (10 hunks)
  • packages/lib/translations/es/marketing.po (2 hunks)
  • packages/lib/translations/es/web.po (12 hunks)
  • packages/lib/translations/fr/common.po (9 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (11 hunks)
🚧 Files skipped from review as they are similar to previous changes (8)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/de/marketing.po
  • packages/lib/translations/de/web.po
  • packages/lib/translations/es/common.po
  • packages/lib/translations/es/marketing.po
  • packages/lib/translations/es/web.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
🔇 Additional comments (4)
packages/lib/translations/fr/web.po (4)

11-11: LGTM: Metadata update

The PO-Revision-Date has been correctly updated to reflect the latest revision.


386-386: LGTM: Translation for signing links copy message

The translation "Tous les liens de signature ont été copiés dans votre presse-papiers." is accurate and maintains the meaning of the original text while using natural French phrasing.


731-731: LGTM: Translation for bulk copy action

The translation "Copie groupée" is an appropriate and concise French equivalent for "Bulk Copy".


3105-3105: LGTM: Translation for signing links menu item

The translation "Liens de signature" is accurate and consistent with other related translations in the file.

This branch had an error being deployed

1 failed, 1 active, and 1 inactive deployments
Preview – prd-openpage-api — b6e2b823 Deployed Nov 8, 2024 by vercel[bot]
Preview – stg-marketing — b6e2b823 Deployed Nov 8, 2024 by vercel[bot]
Preview – stg-app — b6e2b823 Deployed Nov 8, 2024 by vercel[bot]
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.

2 participants