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&amp;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&amp;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>&amp;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);
 
