Registry Mirror
Skip to content

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

The fa locale from #1642 was written before main added or renamed a few keys, so localeParity and i18n:check fail on main.

  • Adds common.actions.tryAgain, common.usagePing.notSaved, dialogs.fileDialogs.selectVideoOrImage, dialogs.fileDialogs.videoAndImageFiles, translated in the style of the existing fa strings.
  • Drops dialogs.fileDialogs.selectVideo and videoFiles, the old names en renamed.

Only src/i18n/locales/fa changes. Checked: npx vitest --run src/i18n, npm run i18n:check, both typechecks, lint.

Refs #1642

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Localization
    • Updated Persian file-dialog labels to describe selecting and filtering both video and image files; the previous labels referred only to videos.
    • Added Persian text for the “Try again” action and a message explaining that a selection could not be saved and no change was made.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Persian locale adds retry and unsaved-selection messages. File-dialog labels now cover video and image selection and filtering.

Changes: Persian locale updates

Layer / File(s) Summary
Update Persian action, error, and file-dialog strings
src/i18n/locales/fa/common.json, src/i18n/locales/fa/dialogs.json
Adds the tryAgain action and usagePing.notSaved message. Changes file-dialog labels to cover selecting videos or images and filtering both file types.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: danialshirali16

Merge Risk: Minimal · up to 91f50

This change adds missing Persian translations and updates the file-dialog labels to cover video and image selection. It is a small, localized text change with no identified risk to merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: adding the missing Persian (fa) locale keys so locale parity checks pass. The changeset only touches src/i18n/locales/fa files, which matches the title. The title uses…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states the purpose: the fa locale from #1642 lacks keys that main added or renamed, so localeParity and i18n:check fail on main. It lists the four keys added and the two old keys dropp…
Full details: Title check

Explanation

The title names the main change: adding the missing Persian (fa) locale keys so locale parity checks pass. The changeset only touches src/i18n/locales/fa files, which matches the title. The title uses the conventional fix(i18n) prefix and is specific enough for a teammate scanning history.

Full details: Description check

Explanation

The description states the purpose: the fa locale from #1642 lacks keys that main added or renamed, so localeParity and i18n:check fail on main. It lists the four keys added and the two old keys dropped, notes that only src/i18n/locales/fa changes, and lists the checks run (vitest for src/i18n, npm run i18n:check, both typechecks, lint). It links the work with 'Refs #1642'. The template's Summary section is mostly covered. The Related issue section uses 'Refs' rather than the template's 'Fixes #' placeholder, which fits a partial fix. Type of change, Release impact, Desktop impact, and Screenshots are not filled in. The Testing section is covered in substance, though it gives commands and not the exact environment. The missing checkboxes are non-critical for a locale-only change, so the description is mostly complete.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e67ee1b3-6fb4-4228-9717-3244e043a802
Commits

Reviewing files that changed from the base of the PR and between d1711a0 and 91f501d.

Files selected for processing: 2

  • src/i18n/locales/fa/common.json
  • src/i18n/locales/fa/dialogs.json

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.

EtienneLescot and others added 2 commits November 29, 2026 14:41
The fa locale landed without four keys that main added meanwhile:
common.actions.tryAgain, common.usagePing.notSaved,
dialogs.fileDialogs.selectVideoOrImage and
dialogs.fileDialogs.videoAndImageFiles. localeParity fails on main
without them.

Refs getopenscreen#1642

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
en renamed fileDialogs.selectVideo and fileDialogs.videoFiles to
selectVideoOrImage and videoAndImageFiles; i18n:check flags the old
names as extra in fa.

Refs getopenscreen#1642

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EtienneLescot

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor
Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@EtienneLescot

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor
Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@EtienneLescot
EtienneLescot merged commit 5349148 into getopenscreen:main Nov 29, 2026
19 checks passed
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