create the translation folder at installation page
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -22622,8 +22622,8 @@ msgstr "Open SSL is optional"
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
||||
#: LABEL/ID_PROCESSMAKER_REQUIREMENTS_PHP
|
||||
msgid "PHP recommended version 8.3, we maintain compatibility starting with PHP 8.1"
|
||||
msgstr "PHP recommended version 8.3, we maintain compatibility starting with PHP 8.1"
|
||||
msgid "The recommended PHP version is 8.3, and we maintain compatibility starting from PHP 8.1."
|
||||
msgstr "The recommended PHP version is 8.3, and we maintain compatibility starting from PHP 8.1."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_PROCESSMAKER_REQUIREMENTS_SOAP
|
||||
|
||||
@@ -47,7 +47,6 @@ class InstallerModule extends Controller
|
||||
$this->path_shared = PATH_TRUNK . 'shared/';
|
||||
$this->path_sep = PATH_SEP;
|
||||
$this->systemName = '';
|
||||
//$this->path_documents = ;
|
||||
$this->path_translations = PATH_CORE . 'js/labels/';
|
||||
$this->path_translationsMafe = PATH_HOME . 'public_html/translations/';
|
||||
}
|
||||
@@ -92,7 +91,6 @@ class InstallerModule extends Controller
|
||||
$this->setJSVar('path_translationsMafe', $this->path_translationsMafe);
|
||||
|
||||
$this->setView('installer/main');
|
||||
|
||||
G::RenderPage('publish', 'extJs');
|
||||
}
|
||||
|
||||
@@ -339,6 +337,7 @@ class InstallerModule extends Controller
|
||||
}
|
||||
|
||||
$info->pathTranslations = new stdclass();
|
||||
G::verifyPath($_REQUEST['pathTranslations'], true);
|
||||
$info->pathTranslations->message = G::LoadTranslation('ID_TRANSLATION_NOT_WRITEABLE');
|
||||
$info->pathTranslations->result = G::is_writable_r($_REQUEST['pathTranslations'], $noWritableFiles);
|
||||
if ($info->pathTranslations->result) {
|
||||
@@ -348,8 +347,11 @@ class InstallerModule extends Controller
|
||||
}
|
||||
|
||||
$info->pathTranslationsMafe = new stdclass();
|
||||
G::verifyPath($_REQUEST['pathTranslationsMafe'], true);
|
||||
|
||||
$info->pathTranslationsMafe->message = G::LoadTranslation('ID_MAFE_TRANSLATION_NOT_WRITEABLE');
|
||||
$info->pathTranslationsMafe->result = G::is_writable_r($_REQUEST['pathTranslationsMafe'], $noWritableFiles);
|
||||
|
||||
if ($info->pathTranslationsMafe->result) {
|
||||
$info->pathTranslationsMafe->message = $writable;
|
||||
} else {
|
||||
|
||||
@@ -60683,7 +60683,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE ) VALUES
|
||||
|
||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_OPENSSL_OPTIONAL','en','Open SSL is optional','2014-01-15') ,
|
||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','PHP recommended version 8.3, we maintain compatibility starting with PHP 8.1','2023-01-30') ,
|
||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_PHP','en','The recommended PHP version is 8.3, and we maintain compatibility starting from PHP 8.1.','2024-01-30') ,
|
||||
( 'LABEL','ID_PROCESSMAKER_REQUIREMENTS_SOAP','en','Soap Support','2014-01-15') ,
|
||||
( 'LABEL','ID_PROCESSMAKER_SLOGAN1','en','This Business Process is Powered By ProcessMaker','2014-01-15') ,
|
||||
( 'LABEL','ID_PROCESSMAKER_SUCCESS_INSTALLED','en','ProcessMaker was successfully installed<br/>Workspace <b>" {0} " </b> was installed correctly.','2014-01-15') ,
|
||||
|
||||
Reference in New Issue
Block a user