Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
subotkevic committed Oct 13, 2018
1 parent b6520d6 commit a973b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/TranslationHelperCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function handle()
private function findProjectTranslationsKeys()
{
$allKeys = [];
$viewsDirectories = config('translation-helper.views_directories');
$viewsDirectories = config('translation-helper.scan_directories');
$fileExtensions = config('translation-helper.file_extensions');

foreach($viewsDirectories as $directory) {
Expand Down Expand Up @@ -114,7 +114,7 @@ private function getTranslationKeysFromFunction(&$keys, $functionName, $content)
*/
private function getProjectTranslationFiles()
{
$path = config('translation-helper.translations_output');
$path = config('translation-helper.output_directory');
$files = glob("{$path}/*.json", GLOB_BRACE);

return $files;
Expand Down

0 comments on commit a973b83

Please sign in to comment.