| @@ -15,6 +15,6 @@ | ||
| 15 | 15 |          $this->setIndex(file_get_contents(TEMPLATE_PATH . "/{$this->getThemeIndex()}/$index.{$this->getExt()}")); | 
| 16 | 16 | $this->page(); | 
| 17 | 17 | $this->route(); | 
| 18 | -        $this->text($this->getThemeIndex(). '_'. str_replace("/","_", $pathFile), $module); | |
| 18 | +        $this->text($this->getThemeIndex() . '_' . str_replace("/", "_", $pathFile), $module); | |
| 19 | 19 | } | 
| 20 | 20 | } | 
| 21 | 21 | \ No newline at end of file | 
| @@ -45,7 +45,7 @@ | ||
| 45 | 45 | $data = new stdClass(); | 
| 46 | 46 | $data->file = 'route'; | 
| 47 | 47 | $data->text = $route; | 
| 48 | - $text = (new Translate())->data( $data)->target()->response(); | |
| 48 | + $text = (new Translate())->data($data)->target()->response(); | |
| 49 | 49 | $this->setIndex(str_replace($matches[0][$key], $text->translate, $this->getIndex())); | 
| 50 | 50 | } | 
| 51 | 51 | } |