-
-
Notifications
You must be signed in to change notification settings - Fork 362
Named, list, modifier examples #2186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Named, list, modifier examples #2186
Conversation
Added test cases for the same
WalkthroughThe documentation for syntax was expanded to provide detailed examples of using modifiers with named, list, and literal interpolations in linked messages. Additionally, a new test case was added to verify that the translation logic correctly applies these modifiers in various interpolation scenarios. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant Docs
participant TestSuite
participant Composer
User->>Docs: Reads new examples on modifiers with interpolations
User->>TestSuite: Runs new test case for modifiers
TestSuite->>Composer: Calls t() with named/list/literal interpolations and modifiers
Composer-->>TestSuite: Returns transformed strings
TestSuite-->>User: Displays assertion results
Assessment against linked issues
Suggested labels
Suggested reviewers
Poem
Tip ⚡️ Faster reviews with caching
Enjoy the performance boost—your workflow just got faster. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (6)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Size ReportBundles
Usages
|
@intlify/core
@intlify/core-base
@intlify/devtools-types
@intlify/message-compiler
petite-vue-i18n
@intlify/shared
vue-i18n
@intlify/vue-i18n-core
commit: |
Added documentation and examples for using modifiers with Named, list and literal translations.
Would resolve #1404
Summary by CodeRabbit
Documentation
.lower
,.upper
,.capitalize
) in linked messages with named, list, and literal interpolations.Tests