Skip to content

Commit

Permalink
Do not use readable::value() for generating commit message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rob006 committed May 22, 2020
1 parent 004c601 commit 6c34b9b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions commands/TranslationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use app\components\translations\TranslationsImporter;
use app\models\Repository;
use app\models\Translations;
use mindplay\readable;
use Yii;

/**
Expand Down Expand Up @@ -90,10 +89,10 @@ public function actionImport(string $source, string $project, string $component,

$this->postProcessRepository(
$translations->getRepository(),
strtr('Importing {component} component in {project} project from {source}.', [
'{component}' => readable::value($component),
'{project}' => readable::value($project),
'{source}' => readable::value($source),
strtr('Importing "{component}" component in "{project}" project from "{source}".', [
'{component}' => $component,
'{project}' => $project,
'{source}' => $source,
])
);
}
Expand Down

0 comments on commit 6c34b9b

Please sign in to comment.