1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449
|
Description: Fix some spelling errors.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-11-10
---
--- ball.orig/source/APPLICATIONS/BALLVIEW/main.C
+++ ball/source/APPLICATIONS/BALLVIEW/main.C
@@ -129,7 +129,7 @@
catch(...)
{
QMessageBox::warning(0, "Error while starting BALLView",
- QString("You dont have write access to the current working directory\n") +
+ QString("You don't have write access to the current working directory\n") +
"and BALLView can not find your home directory. This can cause\n" +
"unexpected behaviour. Please start BALLView from your homedir with\n" +
"absolute path (e.g. C:\\Programs\\BALLView\\BALLView).\n");
--- ball.orig/source/APPLICATIONS/BALLVIEW/mainframe.C
+++ ball/source/APPLICATIONS/BALLVIEW/mainframe.C
@@ -165,7 +165,7 @@
description = "Shortcut|Help|About";
action = insertMenuEntry(MainControl::HELP, (String)tr("About"), this, SLOT(about()), description);
if (action)
- setMenuHint(action, (String)tr("Show informations on this version of BALLView"));
+ setMenuHint(action, (String)tr("Show information on this version of BALLView"));
// TODO: why is this done here and not, e.g., in mainControl()???
description = "Shortcut|MolecularMechanics|Abort_Calculation";
--- ball.orig/source/CONCEPT/molecularInformation.C
+++ ball/source/CONCEPT/molecularInformation.C
@@ -28,8 +28,8 @@
void MolecularInformation::clear()
{
- name_ = "unkown";
- type_name_ = "unkown type";
+ name_ = "unknown";
+ type_name_ = "unknown type";
type_ = TYPE__UNKNOWN;
}
@@ -84,7 +84,7 @@
void MolecularInformation::getTypeName_()
{
- type_name_ = "unkown type";
+ type_name_ = "unknown type";
switch(type_)
{
case TYPE__PROTEIN:
--- ball.orig/source/DOCKING/GENETICDOCK/geneticAlgorithm.C
+++ ball/source/DOCKING/GENETICDOCK/geneticAlgorithm.C
@@ -476,7 +476,7 @@
return true;
} else
{
- cerr << "GeneticAlgorithm: unkown Parameter" << endl;
+ cerr << "GeneticAlgorithm: unknown Parameter" << endl;
return false;
}
}
--- ball.orig/source/FORMAT/DCDFile.C
+++ ball/source/FORMAT/DCDFile.C
@@ -530,7 +530,7 @@
{
if (number_of_atoms_ != 0)
{
- Log.error() << "Differnt number of atoms in SnapShot in DCDFile:"
+ Log.error() << "Different number of atoms in SnapShot in DCDFile:"
<< snapshot.getNumberOfAtoms() << std::endl;
}
number_of_atoms_ = snapshot.getNumberOfAtoms();
--- ball.orig/source/FORMAT/XYZFile.C
+++ ball/source/FORMAT/XYZFile.C
@@ -158,7 +158,7 @@
Size nr_fields = line.split(fields);
if (nr_fields < 4)
{
- Log.error() << "XYZFile: Not enought fields per line!" << std::endl;
+ Log.error() << "XYZFile: Not enough fields per line!" << std::endl;
ok = false;
break;
}
--- ball.orig/source/FORMAT/commandlineParser.C
+++ ball/source/FORMAT/commandlineParser.C
@@ -967,7 +967,7 @@
if (p.supported_formats.empty())
{
throw BALL::Exception::GeneralException(__FILE__,__LINE__,"registerParameter error",
- "The parameter [" + p.name + "] has been registerd as a file " +
+ "The parameter [" + p.name + "] has been registered as a file " +
"but does not have any supported formats registered.\n"+
"You can set the supported formats by using CommandlineParser::setSupportedFormats.");
}
--- ball.orig/source/QSAR/QSARData.C
+++ ball/source/QSAR/QSARData.C
@@ -980,7 +980,7 @@
if (ylabels) nec_min_size++;
if (prop < nec_min_size)
{
- throw BALL::Exception::GeneralException(__FILE__, __LINE__, "CSV-file reading error", "Too few columns found in file. Most likely, the wrong seperator symbol was specified!!");
+ throw BALL::Exception::GeneralException(__FILE__, __LINE__, "CSV-file reading error", "Too few columns found in file. Most likely, the wrong separator symbol was specified!!");
}
int old_size = descriptor_matrix_.size();
--- ball.orig/source/QSAR/allModel.C
+++ ball/source/QSAR/allModel.C
@@ -224,7 +224,7 @@
int no_y = training_result_.cols();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tcentered response?\tno of substances"<<std::endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tcentered response?\tno of substances"<<std::endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<centered_y<<"\t"<<descriptor_matrix_.rows()<<"\n\n";
saveModelParametersToFile(out);
--- ball.orig/source/QSAR/kernelModel.C
+++ ball/source/QSAR/kernelModel.C
@@ -121,7 +121,7 @@
int no_y = training_result_.cols();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tcentered response?\tno of substances\ttrained?"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tcentered response?\tno of substances\ttrained?"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<centered_y<<"\t"<<descriptor_matrix_.rows()<<"\t"<<trained<<"\n\n";
saveKernelParametersToFile(out);
--- ball.orig/source/QSAR/ldaModel.C
+++ ball/source/QSAR/ldaModel.C
@@ -186,7 +186,7 @@
int no_y = sigma_.cols();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<no_substances_.size()<<"\t"<<trained<<"\n\n";
saveModelParametersToFile(out);
--- ball.orig/source/QSAR/logitModel.C
+++ ball/source/QSAR/logitModel.C
@@ -125,7 +125,7 @@
int no_y = training_result_.cols();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tno of classes"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tno of classes"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<no_substances_.size()<<"\n\n";
out<<"# model-parameters"<<endl; /// write model parameters
--- ball.orig/source/QSAR/nBModel.C
+++ ball/source/QSAR/nBModel.C
@@ -257,7 +257,7 @@
int no_y = probabilities_.size();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<no_substances_.size()<<"\t"<<trained<<"\n\n";
saveModelParametersToFile(out);
--- ball.orig/source/QSAR/regressionModel.C
+++ ball/source/QSAR/regressionModel.C
@@ -151,7 +151,7 @@
int no_y = training_result_.cols();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tcentered response?\ttrained?"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tcentered response?\ttrained?"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<centered_y<<"\t"<<trained<<"\n\n";
saveModelParametersToFile(out);
--- ball.orig/source/QSAR/regressionValidation.C
+++ ball/source/QSAR/regressionValidation.C
@@ -261,7 +261,7 @@
{
if (model_->data->descriptor_matrix_.size() == 0 || model_->data->Y_.size() == 0)
{
- throw Exception::InconsistentUsage(__FILE__, __LINE__, "Data must be fetched from input-files by QSARData before standart errors of coefficients can be calculated!");
+ throw Exception::InconsistentUsage(__FILE__, __LINE__, "Data must be fetched from input-files by QSARData before standard errors of coefficients can be calculated!");
}
if (dynamic_cast < KernelModel* > (model_))
{
--- ball.orig/source/QSAR/snBModel.C
+++ ball/source/QSAR/snBModel.C
@@ -250,7 +250,7 @@
int no_y = mean_.size();
if (no_y == 0) no_y = y_transformations_.cols(); // correct no because transformation information will have to by read anyway when reading this model later ...
- out<<"# model-type_\tno of featues in input data\tselected featues\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
+ out<<"# model-type_\tno of features in input data\tselected features\tno of response variables\tcentered descriptors?\tno of classes\ttrained?"<<endl;
out<<type_<<"\t"<<data->getNoDescriptors()<<"\t"<<sel_features<<"\t"<<no_y<<"\t"<<centered_data<<"\t"<<no_substances_.size()<<"\t"<<trained<<"\n\n";
saveModelParametersToFile(out);
--- ball.orig/source/SCORING/COMPONENTS/polarSolvation.C
+++ ball/source/SCORING/COMPONENTS/polarSolvation.C
@@ -392,7 +392,7 @@
}
else
{
- Log.error() << "Random averaging not yet implmented, aborting"
+ Log.error() << "Random averaging not yet implemented, aborting"
<< endl;
return false;
}
--- ball.orig/source/SOLVATION/generalizedBornCase.C
+++ ball/source/SOLVATION/generalizedBornCase.C
@@ -456,7 +456,7 @@
GeneralizedBornModel::GBParameters gb_parameters;
if (!gb_parameters.extractSection(gb_parameter_file, "ScalingFactors"))
{
- Log.error() << "Error reading paramters" << std::endl;
+ Log.error() << "Error reading parameters" << std::endl;
return(false);
}
scaling_factors_ = gb_parameters.getScalingFactors();
--- ball.orig/source/STRUCTURE/BONDORDERS/FPTBondOrderStrategy.C
+++ ball/source/STRUCTURE/BONDORDERS/FPTBondOrderStrategy.C
@@ -1131,7 +1131,7 @@
if (b_length != left.numberOfBonds())
{
- throw Exception::InvalidArgument(__FILE__, __LINE__, "Can compare only entries from childs of the same join bag");
+ throw Exception::InvalidArgument(__FILE__, __LINE__, "Can compare only entries from children of the same join bag");
}
// compare just bond values
--- ball.orig/source/STRUCTURE/smartsParser.C
+++ ball/source/STRUCTURE/smartsParser.C
@@ -268,7 +268,7 @@
count += 3;
break;
default:
- Log.error() << "SmartsParser: errorneous bond order (" << bit->getOrder() << ")" << endl;
+ Log.error() << "SmartsParser: erroneous bond order (" << bit->getOrder() << ")" << endl;
}
}
}
--- ball.orig/source/VIEW/DATATYPE/standardDatasets.C
+++ ball/source/VIEW/DATATYPE/standardDatasets.C
@@ -88,7 +88,7 @@
rawFile.close();
Log.info() << "Raw data written" << std::endl;
- Log.info() << "File saved succesfully" << std::endl;
+ Log.info() << "File saved successfully" << std::endl;
}
/////////////////////////////////////////////
--- ball.orig/source/VIEW/DIALOGS/coloringSettingsDialog.ui
+++ ball/source/VIEW/DIALOGS/coloringSettingsDialog.ui
@@ -618,7 +618,7 @@
<item row="0" column="2" colspan="2">
<widget class="BALL::VIEW::ColorButton" name="force_min_color_button">
<property name="toolTip">
- <string>Edit mininum color value</string>
+ <string>Edit minimum color value</string>
</property>
</widget>
</item>
--- ball.orig/source/VIEW/DIALOGS/contourSurfaceDialog.ui
+++ ball/source/VIEW/DIALOGS/contourSurfaceDialog.ui
@@ -165,7 +165,7 @@
<enum>Qt::TabFocus</enum>
</property>
<property name="toolTip" >
- <string>Edit mininum color value</string>
+ <string>Edit minimum color value</string>
</property>
<property name="text" >
<string>Edit</string>
--- ball.orig/source/VIEW/DIALOGS/editSingleShortcut.ui
+++ ball/source/VIEW/DIALOGS/editSingleShortcut.ui
@@ -61,10 +61,10 @@
</size>
</property>
<property name="toolTip">
- <string>Define a customized shortcut by pressing the correspoding keys</string>
+ <string>Define a customized shortcut by pressing the corresponding keys</string>
</property>
<property name="statusTip">
- <string>Define a customized shortcut by pressing the correspoding keys</string>
+ <string>Define a customized shortcut by pressing the corresponding keys</string>
</property>
<property name="whatsThis">
<string>Dialog for defining customized shortcuts.</string>
--- ball.orig/source/VIEW/DIALOGS/lightSettings.ui
+++ ball/source/VIEW/DIALOGS/lightSettings.ui
@@ -378,7 +378,7 @@
<item>
<widget class="QRadioButton" name="ambient">
<property name="toolTip">
- <string>Ambient light doesnt have a specific position source</string>
+ <string>Ambient light doesn't have a specific position source</string>
</property>
<property name="text">
<string>Ambient</string>
--- ball.orig/source/VIEW/DIALOGS/modifyRepresentationDialog.C
+++ ball/source/VIEW/DIALOGS/modifyRepresentationDialog.C
@@ -339,7 +339,7 @@
{
if (grid_ == 0 || rep_ == 0 || getMainControl()->isBusy())
{
- setStatusbarText((String)tr("Could not color surface, maybe because an other thread is still running?"), true);
+ setStatusbarText((String)tr("Could not color surface, maybe because another thread is still running?"), true);
return false;
}
--- ball.orig/source/VIEW/DIALOGS/setClippingPlane.ui
+++ ball/source/VIEW/DIALOGS/setClippingPlane.ui
@@ -73,7 +73,7 @@
</size>
</property>
<property name="toolTip">
- <string>Close window without reseting camera</string>
+ <string>Close window without resetting camera</string>
</property>
<property name="text">
<string>C&ancel</string>
--- ball.orig/source/VIEW/DIALOGS/stereoSettingsDialog.ui
+++ ball/source/VIEW/DIALOGS/stereoSettingsDialog.ui
@@ -376,7 +376,7 @@
</size>
</property>
<property name="toolTip">
- <string>Close window without reseting camera</string>
+ <string>Close window without resetting camera</string>
</property>
<property name="text">
<string>C&ancel</string>
--- ball.orig/source/VIEW/DIALOGS/undoManagerDialog.ui
+++ ball/source/VIEW/DIALOGS/undoManagerDialog.ui
@@ -63,7 +63,7 @@
</sizepolicy>
</property>
<property name="toolTip">
- <string>Reset to a choosen snapshot</string>
+ <string>Reset to a chosen snapshot</string>
</property>
<property name="text">
<string>&Reset To</string>
--- ball.orig/source/VIEW/KERNEL/mainControl.C
+++ ball/source/VIEW/KERNEL/mainControl.C
@@ -234,7 +234,7 @@
"-l flag to enable logging and read the file "+
logging_file_name_.c_str() + "." +
"This file is created in either your home directory or\n"+
- "in the directory with this executeable.",
+ "in the directory with this executable.",
QMessageBox::Close | QMessageBox::Open, this);
mbox->button(QMessageBox::Open)->setText(tr("Choose datapath ..."));
@@ -972,7 +972,7 @@
{
if (isBusy())
{
- setStatusbarText((String)tr("Cant apply preferences while beeing busy!"), true);
+ setStatusbarText((String)tr("Can't apply preferences while being busy!"), true);
return;
}
@@ -1958,7 +1958,7 @@
catch(...)
{
setStatusbarText((String)tr("Could not open the project file")
- + " \"" + filename + "\", " + (String)tr("it doesnt seem to exist."), true);
+ + " \"" + filename + "\", " + (String)tr("it doesn't seem to exist."), true);
return;
}
@@ -2300,7 +2300,7 @@
}
}
- Log.error() << (String)tr("Dont know how to open ")
+ Log.error() << (String)tr("Don't know how to open ")
<< file << (String)tr(". This extension is not supported.") << std::endl;
}
--- ball.orig/source/VIEW/KERNEL/serverWidget.C
+++ ball/source/VIEW/KERNEL/serverWidget.C
@@ -256,7 +256,7 @@
break;
default:
- Log.info() << "Server: unkown command." << endl;
+ Log.info() << "Server: unknown command." << endl;
connected_stream_.close();
break;
}
--- ball.orig/source/VIEW/RENDERING/glRenderWindow.C
+++ ball/source/VIEW/RENDERING/glRenderWindow.C
@@ -317,7 +317,7 @@
result = "The specified table is too large";
break;
default:
- result = "Uknown OpenGL error";
+ result = "Unknown OpenGL error";
}
return result;
}
--- ball.orig/source/VIEW/WIDGETS/molecularStructure.C
+++ ball/source/VIEW/WIDGETS/molecularStructure.C
@@ -944,7 +944,7 @@
if (!a1->apply(getFragmentDB().normalize_names) ||
!a2->apply(getFragmentDB().normalize_names) )
{
- setStatusbarText((String)tr("Could not apply normalize names, so cant calulate RMSD"), true);
+ setStatusbarText((String)tr("Could not apply normalize names, so can't calculate RMSD"), true);
return;
}
@@ -952,7 +952,7 @@
ab.assignByName(*a1, *a2);
float rmsd = ab.calculateRMSD();
- String rmsd_text((String)tr("Calcuted RMSD") + ": " + String(rmsd) + " A.");
+ String rmsd_text((String)tr("Calculated RMSD") + ": " + String(rmsd) + " A.");
a1->deselect();
a2->deselect();
@@ -1040,7 +1040,7 @@
if (!a1->apply(getFragmentDB().normalize_names) ||
!a2->apply(getFragmentDB().normalize_names) )
{
- setStatusbarText((String)tr("Could not apply normalize names, so cant calulate RMSD"), true);
+ setStatusbarText((String)tr("Could not apply normalize names, so can't calculate RMSD"), true);
return;
}
@@ -1430,7 +1430,7 @@
delete thread;
delete mds;
if (trajectory_file != 0) delete trajectory_file;
- setStatusbarText((String)tr("Could not lock Composites, is an other thread running?"), true);
+ setStatusbarText((String)tr("Could not lock Composites, is another thread running?"), true);
return;
}
--- ball.orig/source/VIEW/WIDGETS/scene.C
+++ ball/source/VIEW/WIDGETS/scene.C
@@ -1394,7 +1394,7 @@
description = "Shortcut|Display|Viewpoint|Reset_Camera";
insertMenuEntry(MainControl::DISPLAY_VIEWPOINT, tr("Rese&t Camera"), this,
SLOT(resetCamera_()), description, QKeySequence(),
- tr("Reset the camera to the orgin (0,0,0)"), UIOperationMode::MODE_ADVANCED);
+ tr("Reset the camera to the origin (0,0,0)"), UIOperationMode::MODE_ADVANCED);
getMainControl()->insertPopupMenuSeparator(MainControl::DISPLAY_VIEWPOINT, UIOperationMode::MODE_ADVANCED);
|