Hi,
This is the last patch and includes the first one.
https://pastie.org/3364542
I’ve made some lines gettexted, and also revised some current gettexted lines because the gettext command can’t parse the current one.
The current one example:
$this->error[] = __( "<span class='tc-lead tc-warning'>WARNING</span>: could not find the file <strong>{$file}</strong> in the theme.", "themecheck" );
revised like this:
$this->error[] = sprintf(__('<span class="tc-lead tc-warning">WARNING</span>: could not find the file <strong>%1$s</strong> in the theme.', 'themecheck'), $file);