An example of wrongy handled phrase:
As you can see the phrase is a concatenation of 2 PHP strings:
'You are about to delete all products in this product template. '
. 'Are you sure you want to do that?'
i18n:collect-phrases
produces the wrong language dictionary entry:
“You are about to delete all products in this product template. ’ 'Are you sure you want to do that?”,“You are about to delete all products in this product template. ’ 'Are you sure you want to do that?”,module,“Magento_Catalog”
As you can see the wrong single quotes are in the phrase.