Skip to content

chore(i18n): update translations from Weblate#2952

Open
seerr-automation-bot wants to merge 1 commit intodevelopfrom
weblate/translations-backend
Open

chore(i18n): update translations from Weblate#2952
seerr-automation-bot wants to merge 1 commit intodevelopfrom
weblate/translations-backend

Conversation

@seerr-automation-bot
Copy link
Copy Markdown
Contributor

@seerr-automation-bot seerr-automation-bot commented Apr 25, 2026

Description

Automated translation update from Weblate for Seerr/Seerr Backend.
No AI used in this automated PR.

How Has This Been Tested?

No functional changes were introduced.
This PR only updates translation files, so no additional testing is required.

Screenshots / Logs (if applicable)

Weblate translation status

Checklist:

  • I have read and followed the contribution guidelines
  • Disclosed any use of AI (see our policy)
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Successful build pnpm build
  • Translation keys pnpm i18n:extract
  • Database migration (if required)

Summary by CodeRabbit

  • Localization
    • Expanded Estonian, Portuguese (pt-BR), and Bulgarian notification translations: comprehensive email and web push templates (including 4K variants), issue lifecycle messages, availability/pending/declined/failed states, shared notification labels, action/view texts, and test entries with placeholders.
  • Bug Fixes
    • Fixed a JSON syntax error in the Estonian notification entries.

@seerr-automation-bot seerr-automation-bot requested a review from a team as a code owner April 25, 2026 06:49
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 25, 2026

📝 Walkthrough

Walkthrough

Adds and expands notification translation entries in three locale files: Estonian (server/i18n/locale/et.json), Portuguese-BR (server/i18n/locale/pt-BR.json), and Bulgarian (server/i18n/locale/bg.json), including email and webpush templates, 4K variants, shared common labels, and a test message.

Changes

Cohort / File(s) Summary
Estonian translations
server/i18n/locale/et.json
Added agent email templates (including 4K variants), webpush texts for agent states and issue lifecycle events (created/comment/reopened/resolved), shared notifications.common labels, notifications.test, and fixed a missing trailing comma.
Portuguese (pt-BR) translations
server/i18n/locale/pt-BR.json
Populated file with agent email templates, 4K variants, webpush messages for agent states and issue events, and placeholders ({mediaType}, {quality}, {userName}, {service}, {issueType}, {type}, {subject}).
Bulgarian translations
server/i18n/locale/bg.json
Expanded from empty to full set of notification strings: agent emails (with 4K keys), webpush messages for agent states and issue lifecycle, shared notifications.common entries, and notifications.test.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • gauthier-th
  • fallenbagel

Poem

🐇
I hop in code with joyful cheer,
New tongues for notices now appear,
Emails, pushes, labels bright,
Translations stitched by moonlit night,
Hop-hop—messages take flight!

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the changes: it's an automated translation update for internationalization (i18n) files from Weblate, which matches the content of all three modified locale JSON files.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

gauthier-th
gauthier-th previously approved these changes Apr 27, 2026
gauthier-th
gauthier-th previously approved these changes Apr 29, 2026
0xSysR3ll
0xSysR3ll previously approved these changes Apr 29, 2026
Co-authored-by: SilvioGabriel <silvioagjunior12@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: d0nizam <dzhaid.nizam@gmail.com>
Co-authored-by: markspoiss007-web <markspoiss007@gmail.com>
@seerr-automation-bot seerr-automation-bot force-pushed the weblate/translations-backend branch from 687d7b8 to c32d7a8 Compare April 30, 2026 10:49
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@server/i18n/locale/bg.json`:
- Line 23: The Bulgarian strings "notifications.agents.webpush.autoApproved" and
"notifications.agents.webpush.pending" contain a {userName} placeholder but
server/lib/notifications/agents/webpush.ts only supplies {quality, mediaType};
update the code to pass userName into the formatter calls in webpush.ts (where
autoApproved and pending are formatted) or remove the {userName} placeholder
from server/i18n/locale/bg.json so the placeholders and provided values match;
locate the formatter usage for autoApproved/pending in webpush.ts and either add
userName to the argument object or edit the bg.json keys to remove the extra
placeholder.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 85507757-ee95-4ccc-8663-8893610d6b43

📥 Commits

Reviewing files that changed from the base of the PR and between 687d7b8 and c32d7a8.

📒 Files selected for processing (3)
  • server/i18n/locale/bg.json
  • server/i18n/locale/et.json
  • server/i18n/locale/pt-BR.json
✅ Files skipped from review due to trivial changes (2)
  • server/i18n/locale/pt-BR.json
  • server/i18n/locale/et.json

"notifications.agents.email.pendingRequest": "Нова заявка за следния {mediaType} чака одобрение:",
"notifications.agents.email.pendingRequest4k": "Нова заявка за следния {mediaType} в 4K чака одобрение:",
"notifications.agents.webpush.approved": "Вашата заявка за {quality}{mediaType} беше одобрена.",
"notifications.agents.webpush.autoApproved": "Автоматично одобрена нова заявка за {quality}{mediaType} от {userName}.",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Placeholder mismatch with webpush formatter values

Line 23 and Line 32 introduce {userName}, but server/lib/notifications/agents/webpush.ts currently formats autoApproved and pending with only { quality, mediaType }. This can break interpolation (or leak raw placeholders) for Bulgarian webpush notifications. Please align placeholders with provided values, or pass userName in those two formatter calls.

Based on learnings: for automated Weblate sync PRs in seerr-team/seerr, translation-string fixes should be submitted in Weblate (https://translate.seerr.dev) so they flow through the sync process.

Also applies to: 32-32

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@server/i18n/locale/bg.json` at line 23, The Bulgarian strings
"notifications.agents.webpush.autoApproved" and
"notifications.agents.webpush.pending" contain a {userName} placeholder but
server/lib/notifications/agents/webpush.ts only supplies {quality, mediaType};
update the code to pass userName into the formatter calls in webpush.ts (where
autoApproved and pending are formatted) or remove the {userName} placeholder
from server/i18n/locale/bg.json so the placeholders and provided values match;
locate the formatter usage for autoApproved/pending in webpush.ts and either add
userName to the argument object or edit the bg.json keys to remove the extra
placeholder.

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.

4 participants