Add translators comments and number sprintf placeholders#301
Add translators comments and number sprintf placeholders#301masteradhoc wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis PR enhances internationalization support by adding translator context comments to clarify placeholder meanings in user-facing translatable strings across the plugin. It also standardizes some message templates to use numbered sprintf placeholders instead of unnumbered ones for better translation consistency. ChangesTranslator context and placeholder standardization
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 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 |
Reviewed and improved some flagged
plugin-checkissues related to internationalization:// translators:comments above every__()call that contains placeholders or HTML, giving translators the context they need%splaceholders with numbered equivalents (%1$s,%2$s, etc.) in strings that contain multiple substitutions, ensuring translators can reorder them for their languageSummary by CodeRabbit