BUG 8529 Change "exists" to "exist" in many phrases SOLVED
- Remember these grammar rules - Changed grammar rules as suggested.
This commit is contained in:
@@ -469,7 +469,7 @@ class dynaFormHandler
|
|||||||
$xpath = new DOMXPath($this->dom);
|
$xpath = new DOMXPath($this->dom);
|
||||||
$nodeList = @$xpath->query("/dynaForm/$name");
|
$nodeList = @$xpath->query("/dynaForm/$name");
|
||||||
if( ! $nodeList ){
|
if( ! $nodeList ){
|
||||||
throw new Exception("Error trying get the field dynaform $name, maybe it doesn't exists in {$this->xmlfile}");
|
throw new Exception("Error trying get the field dynaform $name, maybe it doesn't exist in {$this->xmlfile}");
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $nodeList->length == 0 ) {
|
if( $nodeList->length == 0 ) {
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
|||||||
return $aFields;
|
return $aFields;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw(new Exception('This row doesn\'t exists!'));
|
throw(new Exception('This row doesn\'t exist!'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $oError) {
|
catch (Exception $oError) {
|
||||||
@@ -109,7 +109,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw(new Exception('This row doesn\'t exists!'));
|
throw(new Exception('This row doesn\'t exist!'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $oError) {
|
catch (Exception $oError) {
|
||||||
@@ -133,7 +133,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
|||||||
return $iResult;
|
return $iResult;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw(new Exception('This row doesn\'t exists!'));
|
throw(new Exception('This row doesn\'t exist!'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $oError) {
|
catch (Exception $oError) {
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ class Installer
|
|||||||
'password'=>((trim($this->options['admin']['password'])=='')?false:true)
|
'password'=>((trim($this->options['admin']['password'])=='')?false:true)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
$result['name']['message'] = ($result['isset'])?'Workspace already exists':$result['name']['message'];
|
$result['name']['message'] = ($result['isset'])?'Workspace already exist':$result['name']['message'];
|
||||||
$result['name']['status'] = ($result['isset'])?false:$result['name']['status'];
|
$result['name']['status'] = ($result['isset'])?false:$result['name']['status'];
|
||||||
//print_r($result);
|
//print_r($result);
|
||||||
return Array(
|
return Array(
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class archive
|
|||||||
$pwd = getcwd();
|
$pwd = getcwd();
|
||||||
chdir($this->options['basedir']);
|
chdir($this->options['basedir']);
|
||||||
if ($this->options['overwrite'] == 0 && file_exists($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : ""))){
|
if ($this->options['overwrite'] == 0 && file_exists($this->options['name'] . ($this->options['type'] == "gzip" || $this->options['type'] == "bzip" ? ".tmp" : ""))){
|
||||||
$this->error[] = "File {$this->options['name']} already exists.";
|
$this->error[] = "File {$this->options['name']} already exist.";
|
||||||
chdir($pwd);
|
chdir($pwd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -465,7 +465,7 @@ class tar_file extends archive
|
|||||||
mkdir($file['name'], 0775);
|
mkdir($file['name'], 0775);
|
||||||
}
|
}
|
||||||
else if ($this->options['overwrite'] == 0 && file_exists($file['name'])){
|
else if ($this->options['overwrite'] == 0 && file_exists($file['name'])){
|
||||||
$this->error[] = "{$file['name']} already exists.";
|
$this->error[] = "{$file['name']} already exist.";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if ($file['type'] == 2){
|
else if ($file['type'] == 2){
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ class replacementLogo {
|
|||||||
$infoupload = "Return Code: " . $errorfile . "<br />";
|
$infoupload = "Return Code: " . $errorfile . "<br />";
|
||||||
} else {
|
} else {
|
||||||
if (file_exists ( $dirUpload . $namefile )) {
|
if (file_exists ( $dirUpload . $namefile )) {
|
||||||
$infoupload = $namefile . " already exists. ";
|
$infoupload = $namefile . " already exist. ";
|
||||||
} else {
|
} else {
|
||||||
move_uploaded_file ( $tpnfile, $dirUpload . $namefile );
|
move_uploaded_file ( $tpnfile, $dirUpload . $namefile );
|
||||||
$infoupload = "Stored in: " . $dirUpload . $namefile;
|
$infoupload = "Stored in: " . $dirUpload . $namefile;
|
||||||
|
|||||||
@@ -1011,9 +1011,9 @@ class workspaceTools {
|
|||||||
$workspace = new workspaceTools($workspaceName);
|
$workspace = new workspaceTools($workspaceName);
|
||||||
if ($workspace->workspaceExists())
|
if ($workspace->workspaceExists())
|
||||||
if ($overwrite)
|
if ($overwrite)
|
||||||
CLI::logging(CLI::warning("> Workspace $workspaceName already exists, overwriting!") . "\n");
|
CLI::logging(CLI::warning("> Workspace $workspaceName already exist, overwriting!") . "\n");
|
||||||
else
|
else
|
||||||
throw new Exception("Destination workspace already exists (use -o to overwrite)");
|
throw new Exception("Destination workspace already exist (use -o to overwrite)");
|
||||||
|
|
||||||
if (file_exists($workspace->path))
|
if (file_exists($workspace->path))
|
||||||
G::rm_dir($workspace->path);
|
G::rm_dir($workspace->path);
|
||||||
|
|||||||
@@ -1042,7 +1042,7 @@ class AppCacheView extends BaseAppCacheView
|
|||||||
$filenameSql = $this->pathToAppCacheFiles . 'app_cache_view_insert.sql';
|
$filenameSql = $this->pathToAppCacheFiles . 'app_cache_view_insert.sql';
|
||||||
|
|
||||||
if (!file_exists($filenameSql)) {
|
if (!file_exists($filenameSql)) {
|
||||||
throw (new Exception("file app_cache_view_insert.sql doesn't exists "));
|
throw (new Exception("file app_cache_view_insert.sql does not exist "));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = explode(';', file_get_contents($filenameSql));
|
$sql = explode(';', file_get_contents($filenameSql));
|
||||||
@@ -1095,7 +1095,7 @@ class AppCacheView extends BaseAppCacheView
|
|||||||
$filenameSql = $this->pathToAppCacheFiles . 'triggerAppDelegationInsert.sql';
|
$filenameSql = $this->pathToAppCacheFiles . 'triggerAppDelegationInsert.sql';
|
||||||
|
|
||||||
if (!file_exists($filenameSql)) {
|
if (!file_exists($filenameSql)) {
|
||||||
throw (new Exception("file triggerAppDelegationInsert.sql doesn't exists "));
|
throw (new Exception("file triggerAppDelegationInsert.sql does not exist "));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = file_get_contents($filenameSql);
|
$sql = file_get_contents($filenameSql);
|
||||||
@@ -1142,7 +1142,7 @@ class AppCacheView extends BaseAppCacheView
|
|||||||
$filenameSql = $this->pathToAppCacheFiles . '/triggerAppDelegationUpdate.sql';
|
$filenameSql = $this->pathToAppCacheFiles . '/triggerAppDelegationUpdate.sql';
|
||||||
|
|
||||||
if (!file_exists($filenameSql)) {
|
if (!file_exists($filenameSql)) {
|
||||||
throw (new Exception("file triggerAppDelegationUpdate.sql doesn't exists "));
|
throw (new Exception("file triggerAppDelegationUpdate.sql does not exist "));
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = file_get_contents($filenameSql);
|
$sql = file_get_contents($filenameSql);
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ class AppFolder extends BaseAppFolder {
|
|||||||
$oDataset->next ();
|
$oDataset->next ();
|
||||||
if ($aRow = $oDataset->getRow ()) {//Folder exist, then return the ID
|
if ($aRow = $oDataset->getRow ()) {//Folder exist, then return the ID
|
||||||
$response['success']=false;
|
$response['success']=false;
|
||||||
$response['message']=$response['error']="Can't create folder <br /> A folder with same name already exists. <br /> $folderName";
|
$response['message']=$response['error']="Can't create folder <br /> A folder with same name already exist. <br /> $folderName";
|
||||||
$response['folderUID']=$aRow ['FOLDER_UID'];
|
$response['folderUID']=$aRow ['FOLDER_UID'];
|
||||||
//return ($aRow ['FOLDER_UID']);
|
//return ($aRow ['FOLDER_UID']);
|
||||||
return ($response);
|
return ($response);
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class DashletInstance extends BaseDashletInstance {
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw new Exception('Error trying to delete: The row "' . $dasInsUid. '" not exists.');
|
throw new Exception('Error trying to delete: The row "' . $dasInsUid. '" does not exist.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $error) {
|
catch (Exception $error) {
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ class Gateway extends BaseGateway {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw(new Exception('This row doesn\'t exists!'));
|
throw(new Exception('This row does not exist!'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $oError) {
|
catch (Exception $oError) {
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ class TaskUser extends BaseTaskUser {
|
|||||||
return $iResult;
|
return $iResult;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw(new Exception('This row doesn\'t exists!'));
|
throw(new Exception('This row does not exist!'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $oError) {
|
catch (Exception $oError) {
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ function getDWSFolderItems($sharepointServer, $auth,$dwsname, $strFolderUrl) {
|
|||||||
if(isset($result))
|
if(isset($result))
|
||||||
return $result;
|
return $result;
|
||||||
else
|
else
|
||||||
return "Folder does not exists";
|
return "Folder does not exist";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ function createZimbraFolder($ServerUrl, $username, $preAuthKey, $folderName, $co
|
|||||||
if ($sXmlArray) {
|
if ($sXmlArray) {
|
||||||
return "Folder Created succesfully";
|
return "Folder Created succesfully";
|
||||||
} else {
|
} else {
|
||||||
return "A folder with name " . $folderName . " already exists.";
|
return "A folder with name " . $folderName . " already exist.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ class Dashboard extends Controller {
|
|||||||
$result->additionalFields = PMDashlet::getAdditionalFields($dashletFields['DAS_CLASS']);
|
$result->additionalFields = PMDashlet::getAdditionalFields($dashletFields['DAS_CLASS']);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw new Exception('Dashlet "' . $data->DAS_UID . '" not exists.');
|
throw new Exception('Dashlet "' . $data->DAS_UID . '" does not exist.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $error) {
|
catch (Exception $error) {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if (! isset ($_REQUEST ['action'])) {
|
|||||||
}
|
}
|
||||||
if (! function_exists ($_REQUEST ['action'])) {
|
if (! function_exists ($_REQUEST ['action'])) {
|
||||||
$res ['success'] = false;
|
$res ['success'] = false;
|
||||||
$res ['message'] = 'The requested action doesn\'t exists';
|
$res ['message'] = 'The requested action does not exist';
|
||||||
print G::json_encode ($res);
|
print G::json_encode ($res);
|
||||||
die ();
|
die ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ try{
|
|||||||
else{
|
else{
|
||||||
$result = array();
|
$result = array();
|
||||||
$result['status_code'] = $idProcess;
|
$result['status_code'] = $idProcess;
|
||||||
$result['message'] = "the process don't exists";
|
$result['message'] = "the process does not exist";
|
||||||
$result['timestamp'] = date('Y-m-d H:i:s');
|
$result['timestamp'] = date('Y-m-d H:i:s');
|
||||||
echo G::json_encode($result);
|
echo G::json_encode($result);
|
||||||
die;
|
die;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ if (!isset($_REQUEST ['action'])) {
|
|||||||
}
|
}
|
||||||
if (!function_exists($_REQUEST ['action'])) {
|
if (!function_exists($_REQUEST ['action'])) {
|
||||||
$res ['success'] = 'failure';
|
$res ['success'] = 'failure';
|
||||||
$res ['message'] = 'The requested action doesn\'t exists';
|
$res ['message'] = 'The requested action does not exist';
|
||||||
header("Content-Type: application/json");
|
header("Content-Type: application/json");
|
||||||
print G::json_encode($res);
|
print G::json_encode($res);
|
||||||
die ();
|
die ();
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if (! isset ( $_REQUEST ['action'] )) {
|
|||||||
}
|
}
|
||||||
if (! function_exists ( $_REQUEST ['action'] )) {
|
if (! function_exists ( $_REQUEST ['action'] )) {
|
||||||
$res ['success'] = 'failure';
|
$res ['success'] = 'failure';
|
||||||
$res ['message'] = 'The requested action doesn\'t exists';
|
$res ['message'] = 'The requested action does not exist';
|
||||||
print G::json_encode ( $res );
|
print G::json_encode ( $res );
|
||||||
die ();
|
die ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ if (!isset($_REQUEST ['action'])) {
|
|||||||
}
|
}
|
||||||
if (!function_exists($_REQUEST ['action'])) {
|
if (!function_exists($_REQUEST ['action'])) {
|
||||||
$res ['success'] = false;
|
$res ['success'] = false;
|
||||||
$res ['error']=$res ['message'] = 'The requested action doesn\'t exists';
|
$res ['error']=$res ['message'] = 'The requested action does not exist';
|
||||||
|
|
||||||
print G::json_encode($res);
|
print G::json_encode($res);
|
||||||
die ();
|
die ();
|
||||||
@@ -17,7 +17,7 @@ if (!function_exists($_REQUEST ['action'])) {
|
|||||||
$restrictedFunctions=array('copy_skin_folder','addTarFolder');
|
$restrictedFunctions=array('copy_skin_folder','addTarFolder');
|
||||||
if (in_array($_REQUEST ['action'],$restrictedFunctions)) {
|
if (in_array($_REQUEST ['action'],$restrictedFunctions)) {
|
||||||
$res ['success'] = false;
|
$res ['success'] = false;
|
||||||
$res ['error']=$res ['message'] = 'The requested action doesn\'t exists *';
|
$res ['error']=$res ['message'] = 'The requested action does not exist *';
|
||||||
print G::json_encode($res);
|
print G::json_encode($res);
|
||||||
die ();
|
die ();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ function processSchemaFile( ) {
|
|||||||
$oDataBase = new database($DB_ADAPTER, $DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
|
$oDataBase = new database($DB_ADAPTER, $DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
|
||||||
|
|
||||||
if ( !$oDataBase->isConnected() ) {
|
if ( !$oDataBase->isConnected() ) {
|
||||||
$oDataBase->logQuery ('Not exists an available connection!');
|
$oDataBase->logQuery ('Does not exist an available connection!');
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</FILENAME>
|
</FILENAME>
|
||||||
|
|
||||||
<OVERWRITE type="checkbox">
|
<OVERWRITE type="checkbox">
|
||||||
<en>Overwrite if exists</en>
|
<en>Overwrite if exist</en>
|
||||||
</OVERWRITE>
|
</OVERWRITE>
|
||||||
|
|
||||||
<SAVE type="button" onclick="verifyFile(this.form);">
|
<SAVE type="button" onclick="verifyFile(this.form);">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<en>Report Database:</en>
|
<en>Report Database:</en>
|
||||||
</AO_DB_RP>
|
</AO_DB_RP>
|
||||||
<AO_DB_DROP type="checkbox">
|
<AO_DB_DROP type="checkbox">
|
||||||
<en>Drop database if exists</en>
|
<en>Drop database if exist</en>
|
||||||
</AO_DB_DROP>
|
</AO_DB_DROP>
|
||||||
<WS type="subtitle">
|
<WS type="subtitle">
|
||||||
<en>Workspace Administrator</en>
|
<en>Workspace Administrator</en>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<en>Report Database:</en>
|
<en>Report Database:</en>
|
||||||
</AO_DB_RP>
|
</AO_DB_RP>
|
||||||
<AO_DB_DROP type="checkbox">
|
<AO_DB_DROP type="checkbox">
|
||||||
<en>Drop database if exists</en>
|
<en>Drop database if exist</en>
|
||||||
</AO_DB_DROP>
|
</AO_DB_DROP>
|
||||||
<WS type="subtitle">
|
<WS type="subtitle">
|
||||||
<en>Workspace Administrator</en>
|
<en>Workspace Administrator</en>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</title>
|
</title>
|
||||||
|
|
||||||
<TITLE1 type="subtitle">
|
<TITLE1 type="subtitle">
|
||||||
<en>The process you are trying to import already exists. Please select one of the following options to continue:</en>
|
<en>The process you are trying to import already exist. Please select one of the following options to continue:</en>
|
||||||
</TITLE1>
|
</TITLE1>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</title>
|
</title>
|
||||||
|
|
||||||
<TITLE1 type="subtitle">
|
<TITLE1 type="subtitle">
|
||||||
<en>The process you are trying to import already exists. Please select one of the following options to continue:</en>
|
<en>The process you are trying to import already exist. Please select one of the following options to continue:</en>
|
||||||
</TITLE1>
|
</TITLE1>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
</title>
|
</title>
|
||||||
|
|
||||||
<TITLE1 type="subtitle">
|
<TITLE1 type="subtitle">
|
||||||
<en>Some of the groups that are you trying to import, already exists. Please select one of the following options to continue:</en>
|
<en>Some of the groups that are you trying to import, already exist. Please select one of the following options to continue:</en>
|
||||||
</TITLE1>
|
</TITLE1>
|
||||||
|
|
||||||
<IMPORT_OPTION type="hidden">
|
<IMPORT_OPTION type="hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user