Skip to content

chore: add translations - #1463

Merged
dguyen merged 2 commits into
mainfrom
chore/translations
Nov 12, 2024
Merged

dguyen merged 2 commits into
mainfrom
chore/translations

Conversation

@Mythie

@Mythie Mythie commented Nov 12, 2024 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Introduced Polish translation files for the Documenso application, enhancing accessibility for Polish-speaking users.
    • Added translations for user interface messages related to document management, team interactions, and marketing content.
  • Bug Fixes

    • Improved user feedback through localized error handling messages in Polish.

@vercel

vercel Bot commented Nov 12, 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 12, 2024 9:33am
stg-app ❌ Failed (Inspect) Nov 12, 2024 9:33am
stg-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:33am
stg-marketing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 9:33am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
prd-docs ⬜️ Ignored (Inspect) Visit Preview Nov 12, 2024 9:33am

@coderabbitai

coderabbitai Bot commented Nov 12, 2024 •

Copy link
Copy Markdown
Contributor

Walkthrough

The pull request introduces two new Polish translation files, common.po and marketing.po, for the Documenso application. These files contain a comprehensive set of translations for user interface messages, notifications, and email templates related to document management and user interactions. Each file includes metadata and structured translations, enhancing accessibility for Polish-speaking users. The changes primarily focus on localization, ensuring that users can interact with the application in their native language.

Changes

File Path Change Summary
packages/lib/translations/pl/common.po New file added with comprehensive Polish translations for various user interface messages and notifications.
packages/lib/translations/pl/marketing.po New file added with Polish translations for marketing-related user interface strings and prompts.

Possibly related PRs

  • chore: add translations #1327: This PR adds translations for the German language, which is relevant as it involves similar localization efforts as the Polish translations in the main PR.
  • style: Update common.po #1402: Updates to the German common.po file, which includes changes to user interface elements, similar to the Polish translations added in the main PR.
  • chore: add translations #1406: This PR also updates the German common.po file with new translations, aligning with the localization focus of the main PR.
  • chore: add translations #1433: Involves updates to the German translations, which may relate to the same user interface elements addressed in the Polish translations.
  • chore: add translations #1444: Updates to the German common.po file, enhancing the localization similar to the Polish translations in the main PR.
  • chore: add translations #1451: This PR updates the German translations, which may include similar user interface elements as those translated into Polish in the main PR.
  • chore: add translations #1461: Involves updates to the German common.po file, which is relevant to the localization efforts reflected in the main PR.

🐰 In the fields of code we hop,
New translations help us stop,
Polish words for all to see,
In Documenso, joy and glee!
With every message, clear and bright,
Our users' hearts take flight! 🌟


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.

@github-actions

github-actions Bot commented Nov 12, 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 (3)
packages/lib/translations/pl/common.po (3)

26-27: Maintain consistent quotation style.

The Polish translation uses different quotation marks („") compared to the English text (""). While this follows Polish typography rules, ensure this is the intended style across the application.


33-39: Clean up commented-out translations.

Several translations are marked as commented out (with #~). These should be either removed or documented if they're kept for historical reasons.


171-172: Review translation clarity.

The translation "niepodpisane pole" (unsigned field) might benefit from a more natural phrasing in Polish. Consider alternatives like "cofnięty podpis w polu" or "usunięty podpis z pola" to better convey the action of unsigning.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 5a26610 and 2fa6fb0.

📒 Files selected for processing (2)
  • packages/lib/translations/pl/common.po (1 hunks)
  • packages/lib/translations/pl/marketing.po (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • packages/lib/translations/pl/marketing.po
🔇 Additional comments (2)
packages/lib/translations/pl/common.po (2)

1-20: LGTM: Metadata section is properly configured.

The file metadata is correctly set up with:

  • Proper charset and encoding settings
  • Correct Polish language specification
  • Valid plural forms rule for Polish (nplurals=4)
  • Complete project metadata

1-1738: Overall translation quality is good.

The Polish translations are accurate and maintain the meaning of the original text. The file is well-structured and follows the PO format standards. While there are some minor consistency issues with quotation marks and a few areas where phrasing could be improved, these don't impact functionality.

Key strengths:

  • Proper handling of variables and HTML tags
  • Accurate translation of technical terms
  • Correct implementation of Polish plural forms

This branch had an error being deployed

2 failed and 2 active deployments
Preview – stg-docs — c478a132 Deployed Nov 12, 2024 by vercel[bot]
Preview – stg-marketing — c478a132 Deployed Nov 12, 2024 by vercel[bot]
Preview – prd-openpage-api — c478a132 Deployed Nov 12, 2024 by vercel[bot]
Preview – stg-app — c478a132 Deployed Nov 12, 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.

3 participants