regression: add federation email setting i18n#38664
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
WalkthroughAdded two new English locale entries for federation domain validation UI text and its descriptive explanation in the i18n JSON. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. No actionable comments were generated in the recent review. 🎉 📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-11-19T12:32:29.696ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
✏️ Tip: You can disable this entire section by setting 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@packages/i18n/src/locales/en.i18n.json`:
- Line 2249: The localization string for key
"Federation_Service_Validate_User_Domain" has incorrect grammar ("Users email
restrictions"); update its value to a grammatically correct phrase—e.g., change
the value to "User email restrictions" (or "Users' email restrictions" if you
mean possessive plural) so the JSON entry becomes:
"Federation_Service_Validate_User_Domain": "User email restrictions".
📜 Review details
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
packages/i18n/src/locales/en.i18n.json
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: d-gubert
Repo: RocketChat/Rocket.Chat PR: 37547
File: packages/i18n/src/locales/en.i18n.json:634-634
Timestamp: 2025-11-19T12:32:29.696Z
Learning: Repo: RocketChat/Rocket.Chat
Context: i18n workflow
Learning: In this repository, new translation keys should be added to packages/i18n/src/locales/en.i18n.json only; other locale files are populated via the external translation pipeline and/or fall back to English. Do not request adding the same key to all locale files in future reviews.
📚 Learning: 2025-11-19T12:32:29.696Z
Learnt from: d-gubert
Repo: RocketChat/Rocket.Chat PR: 37547
File: packages/i18n/src/locales/en.i18n.json:634-634
Timestamp: 2025-11-19T12:32:29.696Z
Learning: Repo: RocketChat/Rocket.Chat
Context: i18n workflow
Learning: In this repository, new translation keys should be added to packages/i18n/src/locales/en.i18n.json only; other locale files are populated via the external translation pipeline and/or fall back to English. Do not request adding the same key to all locale files in future reviews.
Applied to files:
packages/i18n/src/locales/en.i18n.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: 📦 Build Packages
- GitHub Check: CodeQL-Build
- GitHub Check: CodeQL-Build
✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.
| "Federation_Service_Join_Non_Private_Rooms": "Allow joining non-private rooms", | ||
| "Federation_Service_Allow_List": "Domain Allow List", | ||
| "Federation_Service_Allow_List_Description": "Restrict federation to the given allow list of domains.", | ||
| "Federation_Service_Validate_User_Domain": "Users email restrictions", |
There was a problem hiding this comment.
Fix grammar in the label text (Line 2249).
“Users email restrictions” reads incorrectly. Consider “User email restrictions” (or “Users’ email restrictions”) for proper grammar.
✏️ Proposed fix
- "Federation_Service_Validate_User_Domain": "Users email restrictions",
+ "Federation_Service_Validate_User_Domain": "User email restrictions",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "Federation_Service_Validate_User_Domain": "Users email restrictions", | |
| "Federation_Service_Validate_User_Domain": "User email restrictions", |
🤖 Prompt for AI Agents
In `@packages/i18n/src/locales/en.i18n.json` at line 2249, The localization string
for key "Federation_Service_Validate_User_Domain" has incorrect grammar ("Users
email restrictions"); update its value to a grammatically correct phrase—e.g.,
change the value to "User email restrictions" (or "Users' email restrictions" if
you mean possessive plural) so the JSON entry becomes:
"Federation_Service_Validate_User_Domain": "User email restrictions".
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #38664 +/- ##
========================================
Coverage 70.46% 70.46%
========================================
Files 3175 3175
Lines 111091 111091
Branches 20028 20024 -4
========================================
+ Hits 78275 78285 +10
+ Misses 30773 30764 -9
+ Partials 2043 2042 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
9c0b09e to
c154fc5
Compare
Proposed changes (including videos or screenshots)
The new setting created by #38356 was missing the i18n strings
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit