Skip to content

Conversation

imolorhe
Copy link
Collaborator

@imolorhe imolorhe commented Mar 20, 2025

Summary by Sourcery

Update translations for Russian and Ukrainian languages.

Chores:

  • Update translations for Russian language.
  • Update translations for Ukrainian language.

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the Russian text to ensure accurate terminology in the user interface.
    • Updated several Ukrainian phrases for improved clarity and accessibility for Ukrainian-speaking users.

Copy link

sourcery-ai bot commented Mar 20, 2025

Reviewer's Guide by Sourcery

This pull request updates the Russian and Ukrainian localization files with the latest translations from Crowdin.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated localization files for Russian and Ukrainian languages.
  • Updated the Russian localization file.
  • Updated the Ukrainian localization file.
packages/altair-app/src/assets/i18n/ru-RU.json
packages/altair-app/src/assets/i18n/uk-UA.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Mar 20, 2025

Walkthrough

This pull request updates the localization files for the Altair application. The Russian file now correctly translates the "Plugins" label to "Плагины", while the Ukrainian file receives multiple updated translations for various keys. These changes improve the accuracy of the user interface texts for Russian- and Ukrainian-speaking users.

Changes

Files Summary
packages/altair-app/.../i18n/ru-RU.json Updated the "PLUGINS_TEXT" key from "Plugins" to "Плагины" for correct Russian localization.
packages/altair-app/.../i18n/uk-UA.json Updated several keys including "SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER", "REQUEST_HANDLERS_TEXT", "REQUEST_HANDLERS_SUBTEXT", "REQUEST_HANDLER_GRAPHQL_SSE", "DEFAULT_REQUEST_HANDLER_TITLE", "REQUEST_HANDLER_PARAMS_TEXT", and "PLUGINS_TEXT" with accurate Ukrainian translations.

Poem

I'm a rabbit, hopping with glee,
Localization magic now sets texts free.
"Плагины" and "Плагіни" sing in rhyme,
Making our app truly sublime.
A little hop, a joyful cheer—
Translated words bring holiday cheer!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 14f7f22 and fee284c.

📒 Files selected for processing (2)
  • packages/altair-app/src/assets/i18n/ru-RU.json (1 hunks)
  • packages/altair-app/src/assets/i18n/uk-UA.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (11)
  • GitHub Check: docker / docker
  • GitHub Check: electron / electron (ubuntu-latest)
  • GitHub Check: electron / electron (windows-latest)
  • GitHub Check: tests / e2e-test (macos-latest)
  • GitHub Check: electron / electron (macos-latest)
  • GitHub Check: tests / e2e-test (ubuntu-latest)
  • GitHub Check: sites / Deploy sites
  • GitHub Check: tests / test (ubuntu-latest)
  • GitHub Check: tests / api-e2e-test
  • GitHub Check: tests / test (macos-latest)
  • GitHub Check: build_and_preview
🔇 Additional comments (4)
packages/altair-app/src/assets/i18n/ru-RU.json (1)

185-185: Update PLUGINS_TEXT Translation in Russian
The key "PLUGINS_TEXT" is now updated to "Плагины", which correctly reflects the intended Russian terminology. This change is consistent with the localization objectives and improves overall language accuracy.

packages/altair-app/src/assets/i18n/uk-UA.json (3)

73-75: Localization Updates for Subscription and Request Handler Descriptions
The translations for "SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER", "REQUEST_HANDLERS_TEXT", and "REQUEST_HANDLERS_SUBTEXT" are updated to clear and accurate Ukrainian expressions. These modifications enhance clarity for Ukrainian-speaking users.


81-83: Refined Translations for GraphQL SSE and Request Handler Titles
The revised strings for "REQUEST_HANDLER_GRAPHQL_SSE", "DEFAULT_REQUEST_HANDLER_TITLE", and "REQUEST_HANDLER_PARAMS_TEXT" accurately reflect the intended terminologies. This maintains consistency across the app’s localization.


185-185: Update PLUGINS_TEXT Translation in Ukrainian
The key "PLUGINS_TEXT" now reads "Плагіни", ensuring consistency with the corresponding Russian localization and improving user interface clarity in Ukrainian.


🪧 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 generate docstrings to generate docstrings for this 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.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Hello @imolorhe, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the translation files for the Altair app, specifically for Russian (ru-RU) and Ukrainian (uk-UA). The changes involve correcting and updating translations for various UI elements and features within the application, such as plugin names and request handler descriptions.

Highlights

  • Translation Update: The PR updates the Russian translation file (ru-RU.json) by translating 'Plugins' to 'Плагины'.
  • Translation Update: The PR updates the Ukrainian translation file (uk-UA.json) by translating 'Use default request handler for subscription' to 'Використовувати обробник запитів за умовчанням для підписки', 'Request Handlers' to 'Обробники запитів', 'Choose the request handler you want to use for sending requests' to 'Оберіть обробника запиту, який ви хочете використовувати для відправки запитів', 'Graphql over SSE' to 'Graphql через SSE', 'Default Request Handler' to 'Обробник запитів за замовчуванням', and 'Plugins' to 'Плагіни'.

Changelog

  • packages/altair-app/src/assets/i18n/ru-RU.json
    • Updated the translation of 'Plugins' to 'Плагины' on line 185.
  • packages/altair-app/src/assets/i18n/uk-UA.json
    • Updated the translation of 'Use default request handler for subscription' to 'Використовувати обробник запитів за умовчанням для підписки' on line 73.
    • Updated the translation of 'Request Handlers' to 'Обробники запитів' on line 74.
    • Updated the translation of 'Choose the request handler you want to use for sending requests' to 'Оберіть обробника запиту, який ви хочете використовувати для відправки запитів' on line 75.
    • Updated the translation of 'Graphql over SSE' to 'Graphql через SSE' on line 81.
    • Updated the translation of 'Default Request Handler' to 'Обробник запитів за замовчуванням' on line 82.
    • Updated the translation of 'Plugins' to 'Плагіни' on line 185.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


Did you know?

Russian is the most geographically widespread language of Eurasia and the most widely spoken of the Slavic languages.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @imolorhe - I've reviewed your changes - here's some feedback:

Overall Comments:

  • It would be useful to include the Crowdin project URL or a link to the specific translation task for context.
  • Consider adding a script to automatically update these translation files to avoid manual PRs in the future.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request updates translations for the Russian and Ukrainian languages in the Altair app. The changes seem straightforward and necessary for localization.

Merge Readiness

The pull request appears to be ready for merging, as it consists of simple translation updates. However, since I am unable to directly approve the pull request, it is recommended that another reviewer verify the accuracy of the translations before merging. There are no critical or high severity issues, so merging can proceed after verification.

"SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER": "Use default request handler for subscription",
"REQUEST_HANDLERS_TEXT": "Request Handlers",
"REQUEST_HANDLERS_SUBTEXT": "Choose the request handler you want to use for sending requests",
"SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER": "Використовувати обробник запитів за умовчанням для підписки",

Choose a reason for hiding this comment

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

medium

Consider using a more concise translation if possible, while still maintaining clarity. For example, "Використовувати обробник за замовчуванням" might be sufficient.

  "SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER": "Використовувати обробник за замовчуванням",

"REQUEST_HANDLERS_SUBTEXT": "Choose the request handler you want to use for sending requests",
"SUBSCRIPTION_USE_DEFAULT_REQUEST_HANDLER": "Використовувати обробник запитів за умовчанням для підписки",
"REQUEST_HANDLERS_TEXT": "Обробники запитів",
"REQUEST_HANDLERS_SUBTEXT": "Оберіть обробника запиту, який ви хочете використовувати для відправки запитів",

Choose a reason for hiding this comment

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

medium

Consider rephrasing to ensure the translation accurately reflects the intent of the original text. "Виберіть обробник запитів, який ви хочете використовувати для надсилання запитів" might be more accurate.

  "REQUEST_HANDLERS_SUBTEXT": "Виберіть обробник запитів, який ви хочете використовувати для надсилання запитів",

"DEFAULT_REQUEST_HANDLER_TITLE": "Default Request Handler",
"REQUEST_HANDLER_PARAMS_TEXT": "Parameters (in JSON)",
"REQUEST_HANDLER_GRAPHQL_SSE": "Graphql через SSE",
"DEFAULT_REQUEST_HANDLER_TITLE": "Обробник запитів за замовчуванням",

Choose a reason for hiding this comment

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

medium

Consider using a more concise translation if possible, while still maintaining clarity. For example, "Обробник за замовчуванням" might be sufficient.

  "DEFAULT_REQUEST_HANDLER_TITLE": "Обробник за замовчуванням",

@@ -182,7 +182,7 @@
"AUTHORIZATION_PROVIDER_OAUTH2": "OAuth 2.0",
"SCHEMA_FORM_LIST_ADD": "Додати",
"SCHEMA_FORM_LIST_REMOVE": "Видалити",
"PLUGINS_TEXT": "Plugins",
"PLUGINS_TEXT": "Плагіни",
"PLUGINS_SUB_TEXT": "Переглянути доступні додатки",

Choose a reason for hiding this comment

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

medium

Consider rephrasing to ensure the translation accurately reflects the intent of the original text. "Переглянути доступні плагіни" might be more accurate.

  "PLUGINS_SUB_TEXT": "Переглянути доступні плагіни",

Copy link

Visit the preview URL for this PR (updated for commit fee284c):

https://altair-gql--pr2794-l10n-master-wpaex4sj.web.app

(expires Thu, 27 Mar 2025 14:56:47 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 02d6323d75a99e532a38922862e269d63351a6cf

@imolorhe imolorhe added this pull request to the merge queue Mar 20, 2025
Merged via the queue into master with commit f4ad26c Mar 20, 2025
17 checks passed
@imolorhe imolorhe deleted the l10n_master branch March 20, 2025 17:36
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.

1 participant