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);
|
||||
$nodeList = @$xpath->query("/dynaForm/$name");
|
||||
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 ) {
|
||||
|
||||
@@ -43,7 +43,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
||||
return $aFields;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -109,7 +109,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
||||
}
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
@@ -133,7 +133,7 @@ class AuthenticationSource extends BaseAuthenticationSource {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row doesn\'t exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -125,7 +125,7 @@ class Installer
|
||||
'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'];
|
||||
//print_r($result);
|
||||
return Array(
|
||||
|
||||
@@ -83,7 +83,7 @@ class archive
|
||||
$pwd = getcwd();
|
||||
chdir($this->options['basedir']);
|
||||
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);
|
||||
return 0;
|
||||
}
|
||||
@@ -465,7 +465,7 @@ class tar_file extends archive
|
||||
mkdir($file['name'], 0775);
|
||||
}
|
||||
else if ($this->options['overwrite'] == 0 && file_exists($file['name'])){
|
||||
$this->error[] = "{$file['name']} already exists.";
|
||||
$this->error[] = "{$file['name']} already exist.";
|
||||
continue;
|
||||
}
|
||||
else if ($file['type'] == 2){
|
||||
|
||||
@@ -63,7 +63,7 @@ class replacementLogo {
|
||||
$infoupload = "Return Code: " . $errorfile . "<br />";
|
||||
} else {
|
||||
if (file_exists ( $dirUpload . $namefile )) {
|
||||
$infoupload = $namefile . " already exists. ";
|
||||
$infoupload = $namefile . " already exist. ";
|
||||
} else {
|
||||
move_uploaded_file ( $tpnfile, $dirUpload . $namefile );
|
||||
$infoupload = "Stored in: " . $dirUpload . $namefile;
|
||||
|
||||
@@ -1011,9 +1011,9 @@ class workspaceTools {
|
||||
$workspace = new workspaceTools($workspaceName);
|
||||
if ($workspace->workspaceExists())
|
||||
if ($overwrite)
|
||||
CLI::logging(CLI::warning("> Workspace $workspaceName already exists, overwriting!") . "\n");
|
||||
CLI::logging(CLI::warning("> Workspace $workspaceName already exist, overwriting!") . "\n");
|
||||
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))
|
||||
G::rm_dir($workspace->path);
|
||||
|
||||
@@ -1042,7 +1042,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . 'app_cache_view_insert.sql';
|
||||
|
||||
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));
|
||||
@@ -1095,7 +1095,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . 'triggerAppDelegationInsert.sql';
|
||||
|
||||
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);
|
||||
@@ -1142,7 +1142,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$filenameSql = $this->pathToAppCacheFiles . '/triggerAppDelegationUpdate.sql';
|
||||
|
||||
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);
|
||||
|
||||
@@ -42,7 +42,7 @@ class AppFolder extends BaseAppFolder {
|
||||
$oDataset->next ();
|
||||
if ($aRow = $oDataset->getRow ()) {//Folder exist, then return the ID
|
||||
$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'];
|
||||
//return ($aRow ['FOLDER_UID']);
|
||||
return ($response);
|
||||
|
||||
@@ -95,7 +95,7 @@ class DashletInstance extends BaseDashletInstance {
|
||||
return $result;
|
||||
}
|
||||
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) {
|
||||
|
||||
@@ -110,7 +110,7 @@ class Gateway extends BaseGateway {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row does not exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -96,7 +96,7 @@ class TaskUser extends BaseTaskUser {
|
||||
return $iResult;
|
||||
}
|
||||
else {
|
||||
throw(new Exception('This row doesn\'t exists!'));
|
||||
throw(new Exception('This row does not exist!'));
|
||||
}
|
||||
}
|
||||
catch (Exception $oError) {
|
||||
|
||||
@@ -281,7 +281,7 @@ function getDWSFolderItems($sharepointServer, $auth,$dwsname, $strFolderUrl) {
|
||||
if(isset($result))
|
||||
return $result;
|
||||
else
|
||||
return "Folder does not exists";
|
||||
return "Folder does not exist";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -192,7 +192,7 @@ function createZimbraFolder($ServerUrl, $username, $preAuthKey, $folderName, $co
|
||||
if ($sXmlArray) {
|
||||
return "Folder Created succesfully";
|
||||
} 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']);
|
||||
}
|
||||
else {
|
||||
throw new Exception('Dashlet "' . $data->DAS_UID . '" not exists.');
|
||||
throw new Exception('Dashlet "' . $data->DAS_UID . '" does not exist.');
|
||||
}
|
||||
}
|
||||
catch (Exception $error) {
|
||||
|
||||
@@ -8,7 +8,7 @@ if (! isset ($_REQUEST ['action'])) {
|
||||
}
|
||||
if (! function_exists ($_REQUEST ['action'])) {
|
||||
$res ['success'] = false;
|
||||
$res ['message'] = 'The requested action doesn\'t exists';
|
||||
$res ['message'] = 'The requested action does not exist';
|
||||
print G::json_encode ($res);
|
||||
die ();
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ try{
|
||||
else{
|
||||
$result = array();
|
||||
$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');
|
||||
echo G::json_encode($result);
|
||||
die;
|
||||
|
||||
@@ -7,7 +7,7 @@ if (!isset($_REQUEST ['action'])) {
|
||||
}
|
||||
if (!function_exists($_REQUEST ['action'])) {
|
||||
$res ['success'] = 'failure';
|
||||
$res ['message'] = 'The requested action doesn\'t exists';
|
||||
$res ['message'] = 'The requested action does not exist';
|
||||
header("Content-Type: application/json");
|
||||
print G::json_encode($res);
|
||||
die ();
|
||||
|
||||
@@ -8,7 +8,7 @@ if (! isset ( $_REQUEST ['action'] )) {
|
||||
}
|
||||
if (! function_exists ( $_REQUEST ['action'] )) {
|
||||
$res ['success'] = 'failure';
|
||||
$res ['message'] = 'The requested action doesn\'t exists';
|
||||
$res ['message'] = 'The requested action does not exist';
|
||||
print G::json_encode ( $res );
|
||||
die ();
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ if (!isset($_REQUEST ['action'])) {
|
||||
}
|
||||
if (!function_exists($_REQUEST ['action'])) {
|
||||
$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);
|
||||
die ();
|
||||
@@ -17,7 +17,7 @@ if (!function_exists($_REQUEST ['action'])) {
|
||||
$restrictedFunctions=array('copy_skin_folder','addTarFolder');
|
||||
if (in_array($_REQUEST ['action'],$restrictedFunctions)) {
|
||||
$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);
|
||||
die ();
|
||||
}
|
||||
|
||||
@@ -172,7 +172,7 @@ function processSchemaFile( ) {
|
||||
$oDataBase = new database($DB_ADAPTER, $DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
|
||||
|
||||
if ( !$oDataBase->isConnected() ) {
|
||||
$oDataBase->logQuery ('Not exists an available connection!');
|
||||
$oDataBase->logQuery ('Does not exist an available connection!');
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</FILENAME>
|
||||
|
||||
<OVERWRITE type="checkbox">
|
||||
<en>Overwrite if exists</en>
|
||||
<en>Overwrite if exist</en>
|
||||
</OVERWRITE>
|
||||
|
||||
<SAVE type="button" onclick="verifyFile(this.form);">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<en>Report Database:</en>
|
||||
</AO_DB_RP>
|
||||
<AO_DB_DROP type="checkbox">
|
||||
<en>Drop database if exists</en>
|
||||
<en>Drop database if exist</en>
|
||||
</AO_DB_DROP>
|
||||
<WS type="subtitle">
|
||||
<en>Workspace Administrator</en>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<en>Report Database:</en>
|
||||
</AO_DB_RP>
|
||||
<AO_DB_DROP type="checkbox">
|
||||
<en>Drop database if exists</en>
|
||||
<en>Drop database if exist</en>
|
||||
</AO_DB_DROP>
|
||||
<WS type="subtitle">
|
||||
<en>Workspace Administrator</en>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</title>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</title>
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</title>
|
||||
|
||||
<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>
|
||||
|
||||
<IMPORT_OPTION type="hidden">
|
||||
|
||||
Reference in New Issue
Block a user