How to add a new pattern to the client-side translation parser?

localization
javascript

(Dmitry Fedyuk) #1

It will match the phrases like:

https://github.com/CKOTech/checkout-magento2-plugin/blob/1.0.51/view/frontend/web/item.js?ts=4#L32-L39