Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Update translations#100

Merged
dewil-official merged 2 commits intoremnoteio:mainfrom
minhashemi:main
Apr 29, 2025
Merged

Update translations#100
dewil-official merged 2 commits intoremnoteio:mainfrom
minhashemi:main

Conversation

@minhashemi
Copy link
Contributor

@minhashemi minhashemi commented Apr 28, 2025

added new Persian (fa)translations

Preview the messages on https://inlang.com/github.com/minhashemi/translation .

Summary by CodeRabbit

  • New Features

    • Added new Persian (fa) translations for various UI settings, flashcard features, statistics, interface options, keyboard shortcuts, and notifications.
  • Bug Fixes

    • Removed a duplicate entry and updated descriptions for hierarchy cluster settings in the Russian (ru) localization.
  • Refactor

    • Updated the structure of a help text entry in the English (en) localization for improved consistency.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Apr 28, 2025

Walkthrough

This update involves changes to localization files in English, Persian, and Russian. In the English file, the structure of the "PROPERTIES_HELP_TEXT" entry under "TEMPLATES" was changed from an array to an object with a numeric key. The Persian file received multiple new localized strings across various UI sections, including settings, flashcards, statistics, and notifications, all as additive changes. The Russian file saw modifications to the "HIERARCHY_CLUSTERS" translation, with updated description and title texts, and the removal of a duplicate entry.

Changes

File(s) Change Summary
en/all.json Changed the "PROPERTIES_HELP_TEXT" entry under "TEMPLATES" from an array containing a single string to an object with a single key "0" mapping to the same string. No content was altered.
fa/all.json Added multiple new localized strings for UI settings and features, including new entries in SETTINGS.EDITOR_INTERFACE, descriptive strings in SETTINGS.FLASHCARDS, a new STATISTICS subsection, a top-level GLOBAL_INTERFACE section, an extended KEYBOARD_SHORTCUTS section, and expanded NOTIFICATIONS descriptions. All changes are additive and introduce new UI text elements.
ru/all.json Updated the "HIERARCHY_CLUSTERS" entry under flashcards ordering settings: changed "DESCRIPTION" and "TITLE" texts, and removed a duplicate "HIERARCHY_CLUSTERS" entry to eliminate redundancy. No new content added beyond these modifications.

Possibly related PRs

  • Update translations #90: Modifies the same "PROPERTIES_HELP_TEXT" field in en/all.json by changing its structure from an array to an object.
  • Update translations #97: Changes the JSON structure of "PROPERTIES_HELP_TEXT" under "TEMPLATES" in en/all.json from an array to an object.
  • Update translations #99: Alters the same JSON key "PROPERTIES_HELP_TEXT" in en/all.json, changing its structure from an array to an object with numeric string keys.

Suggested reviewers

  • dewil-official

Poem

A rabbit hops with nimble feet,
Through languages old and new,
It tweaks a string, adds words so sweet,
In Persian, Russian, English too!
With every hop, the world grows bright—
Localization done just right!
🐇✨


📜 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 b21f876 and aed653e.

📒 Files selected for processing (3)
  • en/all.json (1 hunks)
  • fa/all.json (5 hunks)
  • ru/all.json (1 hunks)
🔇 Additional comments (12)
en/all.json (1)

774-776: Approve structural modification of PROPERTIES_HELP_TEXT
The change from an array to an object with numeric keys preserves the original message and aligns with our localization parser’s expectations. Please verify that any component accessing TEMPLATES.PROPERTIES_HELP_TEXT is updated to handle object notation instead of an array.

ru/all.json (1)

491-492: Approve updated Russian translation for Hierarchy Clusters
The description and title have been refined for clarity, and the duplicate entry was removed. This aligns with the English structure and improves consistency.

fa/all.json (10)

386-388: Approve Persian translation for ENABLE_ZOOM_INTO_BULLET
The new "TITLE" accurately conveys the feature in Persian.


393-396: Approve Persian translation for SCALE_COLLAPSED_REM_BULLETS
The "LABEL" and "TITLE" are clear and correctly localized.


458-461: Approve Persian translation for DOCUMENT_CLUSTERS
The "DESCRIPTION" and "TITLE" accurately reflect the “Document Clusters” setting in Persian.


462-465: Approve Persian translation for HIERARCHY_CLUSTERS
The localized text clearly describes hierarchical clustering behavior.


466-469: Approve Persian translation for REFERENCE_CLUSTERS
The new strings correctly convey the “Reference Clusters” option.


470-473: Approve Persian translation for TAG_CLUSTERS
The localized "DESCRIPTION" and "TITLE" align with the English semantics.


475-479: Approve Persian translation for STATISTICS.MAXIMUM_FLASHCARD_RESPONSE_TIME
The "TITLE" accurately translates the response time limit setting.


485-513: Approve new GLOBAL_INTERFACE section translations
All keys under GLOBAL_INTERFACE match the English structure and have clear Persian labels and titles.


514-517: Approve Persian translation for CHANGE_KEYBOARD_SHORTCUTS
The "TITLE" succinctly captures the keyboard shortcuts setting.


519-527: Approve updates to NOTIFICATIONS.DESCRIPTIONS
The new "TITLE" and "LABEL" under notifications describe the events precisely in Persian.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in 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
Member

@dewil-official dewil-official left a comment

Choose a reason for hiding this comment

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

Thank you!

@dewil-official dewil-official merged commit dccf234 into remnoteio:main Apr 29, 2025
2 checks passed
@coderabbitai coderabbitai bot mentioned this pull request May 3, 2025
@coderabbitai coderabbitai bot mentioned this pull request May 29, 2025
@coderabbitai coderabbitai bot mentioned this pull request Jun 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants