Vue i18n v11.4.20
intlify/vue-i18n
Summary
In version 11.4.20 of Vue i18n, a behavior change ensures that line breaks or tabs after linked keys (`@:key`) now properly end the key, allowing for correct rendering of messages. Additionally, documentation has been updated to clarify where a linked key ends and to correct examples.
Full release notes
Behavior change: a line break or a tab right after a linked key (@:key) now ends the key, as a space does. Such messages now render the linked message, and a line break that was dropped after a linked message is kept. Messages compiled at build time get this when they are compiled again with the new @intlify/message-compiler. (#2780)
What's Changed
🐛 Bug Fixes
- fix(message-compiler): end a linked key at a line break or a tab by @kazupon in https://github.com/intlify/vue-i18n/pull/2780
📝️ Documentations
- docs: describe where a linked key ends, and fix the capitalize example by @kazupon in https://github.com/intlify/vue-i18n/pull/2782
Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.4.19...v11.4.20