Spittal / vue-i18n-extract

Manage vue-i18n localization with static analysis
https://pixari.github.io/vue-i18n-extract/#what-is-it
MIT License
313 stars 86 forks source link

Add Support to Translation Component in code. #157

Closed Spittal closed 2 years ago

Spittal commented 2 years ago

For example write the regex to include this usecase:


          h(Translation, {
            keypath: 'Deleting this {wifi} configuration will:',
          }, {
            wifi: () => ['Wi-Fi', h('sup', '®')],
          }),
        ])```
Spittal commented 2 years ago

Done: https://github.com/pixari/vue-i18n-extract/commit/f17ff704dae01849b3a8b0e94c9722562fac9110