4👍
Ok, I thought html files that included the ‘script’ js tag was also handled with the javascript catalog. In fact, from what I can tell only .js files get scanned. When I put
gettext('Text to translate');
in a .js file it worked. The error message above indicates that there was nothing to translate.
Source:stackexchange.com