Improvement import languages

- file .po is loaded to folder content/translations
This commit is contained in:
Marco Antonio Nina
2013-04-17 14:51:48 -04:00
parent cc19021065
commit 074c487295

View File

@@ -99,7 +99,7 @@ try {
$dir = PATH_CORE . 'content' . PATH_SEP . 'translations' . PATH_SEP;
if (! is_writable( $dir )) {
throw new Exception( G::LoadTranslation( 'ID_CONTENT_FOLDER_PERMISSIONS' ) );
throw new Exception( G::LoadTranslation( 'ID_TRANSLATIONS_FOLDER_PERMISSIONS' ) );
}
G::uploadFile($languageFile, $dir, $languageFilename, 0777);