FIX_SIMPLIFIED_UI "Traducciones faltantes." SOLVED
- Se han agragado traducciones faltantes en directorio: templates/home/ y los archivos: home.php, Users.php, AppNotes.php y appProxy.php * Available from version ProcessMaker-2.0.47 (2.5.1)
This commit is contained in:
@@ -102,11 +102,11 @@ class AppNotes extends BaseAppNotes
|
||||
//return array ( 'codError' => -100, 'rowsAffected' => 0, 'message' => $msg );
|
||||
}
|
||||
if ($msg != "") {
|
||||
$response['success'] = 'failure';
|
||||
$response['success'] = G::LoadTranslation("ID_FAILURE");
|
||||
$response['message'] = $msg;
|
||||
} else {
|
||||
$response['success'] = 'success';
|
||||
$response['message'] = 'Saved...';
|
||||
$response['success'] = G::LoadTranslation("ID_SUCCESS");
|
||||
$response['message'] = G::LoadTranslation("ID_SAVEDS");
|
||||
}
|
||||
|
||||
if ($notify) {
|
||||
@@ -134,16 +134,16 @@ class AppNotes extends BaseAppNotes
|
||||
$oConfiguration = new Configuration();
|
||||
$sDelimiter = DBAdapter::getStringDelimiter();
|
||||
$oCriteria = new Criteria( 'workflow' );
|
||||
$oCriteria->add( ConfigurationPeer::CFG_UID, 'Emails' );
|
||||
$oCriteria->add( ConfigurationPeer::CFG_UID, G::LoadTranslation("ID_EMAILSS"));
|
||||
$oCriteria->add( ConfigurationPeer::OBJ_UID, '' );
|
||||
$oCriteria->add( ConfigurationPeer::PRO_UID, '' );
|
||||
$oCriteria->add( ConfigurationPeer::USR_UID, '' );
|
||||
$oCriteria->add( ConfigurationPeer::APP_UID, '' );
|
||||
if (ConfigurationPeer::doCount( $oCriteria ) == 0) {
|
||||
$oConfiguration->create( array ('CFG_UID' => 'Emails','OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') );
|
||||
$oConfiguration->create( array ('CFG_UID' => G::LoadTranslation("ID_EMAILSS"), 'OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') );
|
||||
$aConfiguration = array ();
|
||||
} else {
|
||||
$aConfiguration = $oConfiguration->load( 'Emails', '', '', '', '' );
|
||||
$aConfiguration = $oConfiguration->load( G::LoadTranslation("ID_EMAILSS"), '', '', '', '' );
|
||||
if ($aConfiguration['CFG_VALUE'] != '') {
|
||||
$aConfiguration = unserialize( $aConfiguration['CFG_VALUE'] );
|
||||
$passwd = $aConfiguration['MESS_PASSWORD'];
|
||||
|
||||
Reference in New Issue
Block a user