fixes #14248 close #14249
@ -4,7 +4,7 @@ Yii Framework 2 Change Log
2.0.13 under development
------------------------
- no changes in this release.
- Bug #14248: `yii\console\controllers\MessageController` no longer outputs colorized filenames when console does not support text colorization (PowerGamer1)
2.0.12 June 05, 2017
@ -482,8 +482,9 @@ EOD;
*/
protected function extractMessages($fileName, $translator, $ignoreCategories = [])
{
$coloredFileName = Console::ansiFormat($fileName, [Console::FG_CYAN]);
$this->stdout("Extracting messages from $coloredFileName...\n");
$this->stdout("Extracting messages from ");
$this->stdout($fileName, Console::FG_CYAN);
$this->stdout("...\n");
$subject = file_get_contents($fileName);
$messages = [];