Repository navigation
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
|
There was a problem hiding this comment.
No issues found across 1 file
You’re at about 94% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Add the English success message packages/i18n/src/locales/en.i18n.json |
Adds the Team_converted_to_channel key with the text “Team has been converted to a channel”. |
Priority:
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related issues
- [Bug] : Missing translation key: converting a Team to a Channel shows raw "Team_converted_to_channel" instead of success message #42342 — This issue describes the same untranslated toast, and this change adds its missing English translation key.
Possibly related PRs
- RocketChat/Rocket.Chat#43289: Both PRs add the same English translation key and text.
Suggested reviewers: kevlehman
Merge Risk: 
Minimal · up to f93fb
-
The conversion toast now has the intended English text and is ready to merge.
Pre-merge checks: 
4
-
Full details: Linked Issues check
-
Explanation
Issue
#43288requires the conversion success toast to show “Team has been converted to a channel” instead of the raw key. The PR addsTeam_converted_to_channelwith that English text topackages/i18n/src/locales/en.i18n.json. The issue identifies the existing toast call, so the added base-locale key resolves the missing translation. The supplied PR evidence also reports that the i18n linter passes.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning
Errors were encountered while retrieving linked issues.
Errors: 1
-
- JIRA integration encountered authorization issues. Please disconnect and reconnect the integration in the CodeRabbit UI.
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 @coderabbitai help to get the list of available commands.
Proposed changes
The success toast for converting a team to a channel calls
t('Team_converted_to_channel'), but that key is missing fromen.i18n.json, so the toast displayed the raw key instead of a message. This adds the key to the base locale. Other languages fall back toenand can be translated separately, and the i18n linter keeps the file sorted.Issue(s)
Fixes #43288
Steps to test or reproduce
Team_converted_to_channel.I could not run the Meteor app or its unit tests on this machine (the monorepo install does not fit), so step 2 is the expected behaviour from the code, not an observed run. What I did run:
node ./src/scripts/check.mtsinpackages/i18n(the i18n linter enforced in CI) before and after the change - it passes, and the key sits in the position the linter expects.No automated test is added: the repo has no test for toast strings, and a test for this key alone would only repeat the lookup. Say the word if you want one.
Further comments
No changeset, matching other translation-only PRs (for example #43250): this only adds a base-locale key.