BUG 8529 Change "exists" to "exist" in many phrases SOLVED
- Remember these grammar rules - Changed grammar rules as suggested.
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user