Improvement Translation mafe

This commit is contained in:
Marco Antonio Nina
2014-04-14 12:35:47 -04:00
parent 9577046798
commit 0fe72747fc
3 changed files with 11 additions and 6 deletions

View File

@@ -72,6 +72,13 @@ class Designer extends Controller
$this->setVar('buildhash', $buildhash);
}
$translationMafe = "/translations/translationsMafe.js";
$this->setVar('translationMafe', $translationMafe);
if (!file_exists(PATH_HTML . "translations" . PATH_SEP. 'translationsMafe' . ".js")) {
$translation = new Translation();
$translation->generateFileTranslationMafe();
}
$this->setView('designer/index');
$this->render();
}