BUG 5004 Change text doesn't exists!

All wrong texts like doesn't exists or not exists by doesn't exist
This commit is contained in:
Douglas Medrano Chura
2011-04-13 18:57:02 -04:00
parent f826a83a23
commit c4635bc56a
43 changed files with 71 additions and 71 deletions

View File

@@ -457,7 +457,7 @@ class dates {
* Returns an array with all the dates of $this->skip['List'] with its
* year changed to $iYear.
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005
* the last one does not exists.
* the last one doesn't exist.
* @param List $iYear
* @return array
*/
@@ -475,7 +475,7 @@ class dates {
* Returns an array with all the dates of $this->skip['List'] with its
* year changed to $iYear.
* Warning: Don't know what to do if change a 29-02-2004 to 29-02-2005
* the last one does not exists.
* the last one doesn't exist.
* @param array $iYear
* @param date $iDate
* @return array

View File

@@ -404,7 +404,7 @@ class Derivation
}
}
else
throw ( new Exception("Task doesn't have a valid user in variable $variable or this variable doesn't exists.") ) ;
throw ( new Exception("Task doesn't have a valid user in variable $variable or this variable doesn't exist.") ) ;
break;
case 'REPORT_TO' :

View File

@@ -147,7 +147,7 @@ class dynaformEditor extends WebResource
{
global $G_PUBLISH;
$script='';
/* Start Block: Load (Create if not exists) the xmlform */
/* Start Block: Load (Create if doesn't exist) the xmlform */
$Parameters = array(
'SYS_LANG' => SYS_LANG,
'URL' => G::encrypt( $this->file , URL_KEY ),
@@ -291,7 +291,7 @@ class dynaformEditor extends WebResource
self::_setTmpData(array('useTmpCopy'=>true));
if (!file_exists(PATH_DYNAFORM . $file . '.xml'))
$this->_createDefaultXmlForm(PATH_DYNAFORM . $file . '.xml');
//Creates a copy if it does not exists, else, use the old copy
//Creates a copy if it doesn't exist, else, use the old copy
if (!file_exists(PATH_DYNAFORM . $this->file . '.xml'))
self::_copyFile(PATH_DYNAFORM . $file . '.xml',PATH_DYNAFORM . $this->file . '.xml');
if (!file_exists(PATH_DYNAFORM . $this->file . '.html')
@@ -453,7 +453,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
/**
* Get the html code
* Loads the stored HTML or the default Template if
* it does not exists.
* it doesn't exist.
* @param object $A
* @return code html
*/
@@ -477,7 +477,7 @@ class dynaformEditorAjax extends dynaformEditor implements iDynaformEditorAjax
/**/
/*
* Loads the stored HTML or the default Template if
* it does not exists.
* it doesn't exist.
*/
$filename = substr($form->fileName , 0, -3) .
( $form->type==='xmlform' ? '' : '.' . $form->type ) . 'html';

View File

@@ -370,7 +370,7 @@ class PMPluginRegistry {
$res = $tar->extract ( PATH_PLUGINS );
if (!file_exists(PATH_PLUGINS . $pluginFile))
throw ( new Exception( "File '$pluginFile' doesn't exists ") );
throw ( new Exception( "File '$pluginFile' doesn't exist ") );
require_once ( PATH_PLUGINS . $pluginFile );
$details = $oPluginRegistry->getPluginDetails( $pluginFile );

View File

@@ -438,7 +438,7 @@ class processMap {
G::RenderPage('publish', 'raw');
return true;
} else {
throw (new Exception('This row doesn\'t exists!'));
throw (new Exception('This row doesn\'t exist!'));
}
} catch (Exception $oError) {
throw ($oError);
@@ -4403,7 +4403,7 @@ class processMap {
return $aFields;
} else {
throw (new Exception ( 'This row doesn\'t exists!' ));
throw (new Exception ( 'This row doesn\'t exist!' ));
}
} catch ( Exception $oError ) {
throw ($oError);

View File

@@ -822,7 +822,7 @@ class Processes {
}
/**
* Update a Process register in DB, if the process doesn't exists with the same
* Update a Process register in DB, if the process doesn't exist with the same
* uid of the $row['PRO_UID'] parameter the function creates a new one based
* on the $row parameter data.
* @param $row array parameter with the process data

View File

@@ -609,7 +609,7 @@ class propelTable
$this->tdClass='';
//Start Master Detail: This enable the MasterDEtail view. By JHL November 2008
if(count($this->masterdetail)>0){
//TODO: Validate if there is a Field that not exists
//TODO: Validate if there is a Field that doesn't exist
//TODO: Style
//TODO: Improve Collapse function....
foreach($this->masterdetail as $keyMasterDetail => $fieldMasterDetail){

View File

@@ -97,7 +97,7 @@ class wsBase
try {
$uid = $RBAC->VerifyLogin( $userid , $password);
switch ($uid) {
case -1: //The user not exists
case -1: //The user doesn't exist
$wsResponse = new wsResponse (3, G::loadTranslation ('ID_USER_NOT_REGISTERED'));
break;
@@ -2051,7 +2051,7 @@ class wsBase
}
}
//finally, creating the process if the process does not exists
//finally, creating the process if the process doesn't exist
if ( ! $oProcess->processExists ( $processId ) ) {
$oProcess->createProcessFromData ($oData, $localPath . $newfilename );
}

View File

@@ -78,7 +78,7 @@ class AdditionalTables extends BaseAdditionalTables {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -190,7 +190,7 @@ public function loadByName($name) {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -226,7 +226,7 @@ public function loadByName($name) {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -1086,7 +1086,7 @@ class AppCacheView extends BaseAppCacheView {
if ( ! $found ) {
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationUpdate.sql';
if ( !file_exists ( $filenameSql ) )
throw ( new Exception ( "file triggerAppDelegationUpdate.sql doesn't exists ") );
throw ( new Exception ( "file triggerAppDelegationUpdate.sql doesn't exist ") );
$sql = file_get_contents ( $filenameSql );
$sql = str_replace('{lang}', $lang, $sql);
$stmt->executeQuery($sql);
@@ -1123,7 +1123,7 @@ class AppCacheView extends BaseAppCacheView {
if ( ! $found ) {
$filenameSql = $this->pathToAppCacheFiles . '/triggerApplicationDelete.sql';
if ( !file_exists ( $filenameSql ) )
throw ( new Exception ( "file triggerAppDelegationDelete.sql doesn't exists ") );
throw ( new Exception ( "file triggerAppDelegationDelete.sql doesn't exist") );
$sql = file_get_contents ( $filenameSql );
$sql = str_replace('{lang}', $lang, $sql);
$stmt->executeQuery($sql);

View File

@@ -84,7 +84,7 @@ class AppDelay extends BaseAppDelay {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -151,7 +151,7 @@ class AppDelegation extends BaseAppDelegation {
return $aFields;
}
else {
throw( new Exception( "The row '$AppUid, $sDelIndex' in table AppDelegation doesn't exists!" ));
throw( new Exception( "The row '$AppUid, $sDelIndex' in table AppDelegation doesn't exist!" ));
}
}
catch (Exception $oError) {
@@ -188,7 +188,7 @@ class AppDelegation extends BaseAppDelegation {
}
else {
$con->rollback();
throw(new Exception( "This AppDelegation row doesn't exists!" ));
throw(new Exception( "This AppDelegation row doesn't exist!" ));
}
}
catch (Exception $oError) {

View File

@@ -83,7 +83,7 @@ class AppDocument extends BaseAppDocument {
return $aFields;
}
else {
throw(new Exception('Error loading Document '.$sAppDocUid.'/'.$iVersion.'. This row doesn\'t exists!'));
throw(new Exception('Error loading Document '.$sAppDocUid.'/'.$iVersion.'. This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -280,7 +280,7 @@ class AppDocument extends BaseAppDocument {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -332,7 +332,7 @@ class AppDocument extends BaseAppDocument {
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -101,7 +101,7 @@ class Content extends BaseContent {
* @param string $ConId
* @param string $destConLang
* @return string
* if the row doesn't exists, it will be created automatically, even the default 'en' language
* if the row doesn't exist, it will be created automatically, even the default 'en' language
*/
function autoLoadSave($ConCategory, $ConParent, $ConId, $destConLang) {
//search in 'en' language, the default language

View File

@@ -83,7 +83,7 @@ class Event extends BaseEvent {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -317,7 +317,7 @@ class Event extends BaseEvent {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -363,7 +363,7 @@ class Event extends BaseEvent {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -28,7 +28,7 @@ class Fields extends BaseFields {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -92,7 +92,7 @@ class Fields extends BaseFields {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -112,7 +112,7 @@ class Fields extends BaseFields {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -91,7 +91,7 @@ class GroupUser extends BaseGroupUser {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -70,7 +70,7 @@ class InputDocument extends BaseInputDocument {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -175,7 +175,7 @@ class InputDocument extends BaseInputDocument {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -204,7 +204,7 @@ class InputDocument extends BaseInputDocument {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -49,7 +49,7 @@ class Language extends BaseLanguage {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -112,7 +112,7 @@ class OutputDocument extends BaseOutputDocument {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -219,7 +219,7 @@ class OutputDocument extends BaseOutputDocument {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -250,7 +250,7 @@ class OutputDocument extends BaseOutputDocument {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -79,7 +79,7 @@ class ProcessUser extends BaseProcessUser {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -35,7 +35,7 @@ class ReportVar extends BaseReportVar {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -108,7 +108,7 @@ class ReportVar extends BaseReportVar {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -135,7 +135,7 @@ class ReportVar extends BaseReportVar {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -127,7 +127,7 @@ class Route extends BaseRoute {
}
}
else {
throw(new Exception( "The row " . $aData['ROU_UID'] . " doesn't exists!" ));
throw(new Exception( "The row " . $aData['ROU_UID'] . " doesn't exist!" ));
}
}
catch (Exception $oError) {
@@ -154,7 +154,7 @@ class Route extends BaseRoute {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -27,7 +27,7 @@ class ShadowTable extends BaseShadowTable {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -80,7 +80,7 @@ class ShadowTable extends BaseShadowTable {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -238,7 +238,7 @@ class Step extends BaseStep {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -120,7 +120,7 @@ class StepSupervisor extends BaseStepSupervisor {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -63,7 +63,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -140,7 +140,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -168,7 +168,7 @@ class SwimlanesElements extends BaseSwimlanesElements {
return $iResult;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {

View File

@@ -41,7 +41,7 @@ class UsersProperties extends BaseUsersProperties {
return $aFields;
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {
@@ -97,7 +97,7 @@ class UsersProperties extends BaseUsersProperties {
}
}
else {
throw(new Exception('This row doesn\'t exists!'));
throw(new Exception('This row doesn\'t exist!'));
}
}
catch (Exception $oError) {