i18n#378
Conversation
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Following FormatJS best practices, added defaultMessage inline with all
message IDs to improve maintainability and developer experience.
Changes:
- CommentCreate: Added defaultMessage "Comment..." to placeholder
- useCommentOptions: Added defaultMessage to all action labels
- "Share Comment"
- "Pin Comment" / "Unpin Comment"
- "Edit Comment"
- CommentsList: Added defaultMessage "loading more comments" to aria-label
- CommentReplyButton: Added defaultMessage to aria-labels with commentId param
- CommentsReplies: Added defaultMessage "Show more replies ({count})"
- CommentPinnedBadge: Added defaultMessage "Pinned"
Benefits per FormatJS documentation:
- Messages colocated with usage become self-managed
- Messages are highly contextual and visible to developers
- Better toolchain integration for syntax validation
- No need to look up IDs in separate JSON files during development
The JSON locale files still provide translations for other languages.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add the settings.* catalog (menu title, settings tabs, and the preferences form strings) to all three locale files so pt/es no longer fall back to the English defaultMessage at runtime. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mirrors the new server-backed User.timezone field so consumers can read and update the user's timezone alongside preferredLanguage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|


No description provided.