Fix translates and errors/exceptions treatment

v2-beta
Bruno O. Notario 3 years ago
parent 204cef2fa3
commit a3109f78a2
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 11
      system/system.php
  2. 2
      system/templateEngines/Twig/Extension/ExacTITranslate.php
  3. 2
      system/templateEngines/Twig/Extension/ExacTITranslate1x.php

File diff suppressed because one or more lines are too long

@ -179,7 +179,7 @@ function traduzir() {
$body = array_shift($params);
if (class_exists('Translate')) {
$trans = new Phacil\Framework\Translate();
$trans = new \Phacil\Framework\Translate();
echo ($trans->translation($body));
} else {
echo $body;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save