Skip to content

chore: add translations - #1359

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

Mythie merged 1 commit into
mainfrom
chore/translations

Conversation

@Mythie

@Mythie Mythie commented Sep 20, 2024 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features

    • Enhanced German and French translations for improved clarity and accuracy across the application.
    • Added new translation entries for better user guidance, including messages related to video support and token display.
  • Bug Fixes

    • Corrected inaccuracies in existing translations and added previously untranslated strings for improved user understanding.
  • Documentation

    • Updated metadata with recent revision dates for translation files, ensuring they reflect the latest changes.

@vercel

vercel Bot commented Sep 20, 2024 •

Copy link
Copy Markdown

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

Name Status Preview Comments Updated (UTC)
prd-app 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm
prd-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm
prd-marketing 🔄 Building (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm
stg-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm
stg-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm
stg-marketing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 8, 2024 10:17pm

@coderabbitai

coderabbitai Bot commented Sep 20, 2024 •

Copy link
Copy Markdown
Contributor

Walkthrough

The pull request includes updates to translation files for both German and French languages, focusing on correcting and adding translated strings. Key changes involve revising the "PO-Revision-Date" in multiple .po files to reflect recent updates, enhancing the completeness and accuracy of translations. New entries have been added for previously untranslated messages, improving the overall localization of the application.

Changes

File Change Summary
packages/lib/translations/de/common.po Updated German translations, added previously untranslated strings, and revised existing translations for clarity.
packages/lib/translations/de/marketing.po Updated "PO-Revision-Date" and added a new translation entry for a previously untranslated message.
packages/lib/translations/de/web.po Updated "PO-Revision-Date" and added a new translation entry.
packages/lib/translations/fr/common.po Updated French translations, revised existing translations for accuracy, and updated "PO-Revision-Date".
packages/lib/translations/fr/marketing.po Updated "PO-Revision-Date" and added a new translation entry for a previously untranslated message.
packages/lib/translations/fr/web.po Updated "PO-Revision-Date" and added a new translation entry.

Possibly related PRs

  • chore: add translations #1327: This PR updates the German translations in the common.po file, including the same phrase "Add a document" translated as "Dokument hinzufügen," which is also modified in the main PR.
  • feat: add french #1355: This PR introduces initial French translations, which aligns with the main PR's focus on enhancing multilingual support, particularly in the context of user interface strings.
  • feat: allow editing pending documents #1346: This PR updates the German translations in common.po, including new entries related to document management, which aligns with the changes made in the main PR regarding document-related phrases.
  • chore: open page data update #1380: This PR updates the German translations in marketing.po, including the removal of the "Part-Time" entry, which is also commented out in the main PR, indicating a connection in translation updates.

Suggested labels

apps: marketing, apps: web

Suggested reviewers

  • Mythie
  • ElTimuro

🐰 In the meadow, translations bloom,
With words that dance and dispel the gloom.
German and French, now clearer and bright,
A hop and a skip, all feels just right!
Let's celebrate with joy and cheer,
For every word brings us all near! 🌼


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 2294525 and e9f2ffa.

📒 Files selected for processing (6)
  • packages/lib/translations/de/common.po (5 hunks)
  • packages/lib/translations/de/marketing.po (3 hunks)
  • packages/lib/translations/de/web.po (2 hunks)
  • packages/lib/translations/fr/common.po (5 hunks)
  • packages/lib/translations/fr/marketing.po (3 hunks)
  • packages/lib/translations/fr/web.po (2 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/de/web.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
  • packages/lib/translations/fr/web.po

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 Sep 20, 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/de/web.po (1)

Line range hint 4-4: TODO comment: Add tests for this function.

It's important to add unit tests for this function to ensure its correctness and prevent future regressions.

Would you like me to generate some unit test cases for this function?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between b62f363 and 054ca47.

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

@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)

Line range hint 4-4: Reminder: Address the TODO comment for missing tests.

Adding unit tests for this function is crucial to ensure its correctness and maintain code quality. This is especially important given the recent change in the function signature.

Would you like assistance in generating unit tests for this function?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 054ca47 and 076e336.

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

@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)

Line range hint 4-4: Address TODO comment: Add tests for this function

The TODO comment indicates that tests are missing for this function. It's important to add unit tests to ensure the function behaves correctly for various inputs.

Would you like assistance in generating unit tests for this function?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between c812ed8 and 4457015.

📒 Files selected for processing (6)
  • packages/lib/translations/de/common.po (4 hunks)
  • packages/lib/translations/de/marketing.po (2 hunks)
  • packages/lib/translations/de/web.po (2 hunks)
  • packages/lib/translations/fr/common.po (4 hunks)
  • packages/lib/translations/fr/marketing.po (2 hunks)
  • packages/lib/translations/fr/web.po (2 hunks)
✅ Files skipped from review due to trivial changes (1)
  • packages/lib/translations/de/marketing.po
🚧 Files skipped from review as they are similar to previous changes (4)
  • packages/lib/translations/de/common.po
  • packages/lib/translations/fr/common.po
  • packages/lib/translations/fr/marketing.po
  • packages/lib/translations/fr/web.po

@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)

Line range hint 4-4: Reminder: Address the TODO comment for tests

The TODO comment indicates that tests are missing for this function. It's important to add tests to ensure the function behaves correctly, especially after the recent parameter change.

Would you like assistance in generating unit tests for this function?

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between d6578cd and 5ea8212.

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

This branch was successfully deployed

4 active deployments
Preview – prd-docs — e9f2ffac Deployed Oct 8, 2024 by vercel[bot]
Preview – stg-docs — e9f2ffac Deployed Oct 8, 2024 by vercel[bot]
Preview – stg-marketing — e9f2ffac Deployed Oct 8, 2024 by vercel[bot]
Preview – stg-app — e9f2ffac Deployed Oct 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