Fix various typos in source documentation and comments (cont.)

Found via `codespell`
This commit is contained in:
luz paz
2022-12-04 08:21:12 -05:00
committed by Laurent Trinques
parent a76e5446aa
commit 1994235bc5
102 changed files with 277 additions and 277 deletions

View File

@@ -475,7 +475,7 @@ void QETTitleBlockTemplateEditor::initMenus()
}
/**
Initalize toolbars.
Initialize toolbars.
*/
void QETTitleBlockTemplateEditor::initToolbars()
{

View File

@@ -101,7 +101,7 @@ void TitleBlockTemplateLocationSaver::updateTemplates()
}
/**
Enable or diable the "new name" text field depending of the selected
Enable or disable the "new name" text field depending of the selected
template.
*/
void TitleBlockTemplateLocationSaver::updateNewName()

View File

@@ -561,7 +561,7 @@ QString TitleBlockTemplatesFilesCollection::toFileName(const QString &template_n
}
/**
Handle the changes occuring on the file system.
Handle the changes occurring on the file system.
@param str Path of the directory that changed.
*/
void TitleBlockTemplatesFilesCollection::fileSystemChanged(const QString &str) {

View File

@@ -259,7 +259,7 @@ void TitleBlockTemplateView::paste()
TitleBlockCell *erased_cell = selected_cell -> cell();
if (!erased_cell) return;
// change num_row and num_col attributes of pasted cells so they get positionned relatively to selected_cell
// change num_row and num_col attributes of pasted cells so they get positioned relatively to selected_cell
normalizeCells(pasted_cells, erased_cell -> num_row, erased_cell -> num_col);
PasteTemplateCellsCommand *paste_command = new PasteTemplateCellsCommand(tbtemplate_);
@@ -657,7 +657,7 @@ void TitleBlockTemplateView::applyColumnsWidths(bool animate) {
total_width_helper_cell_ -> split_background_color = QColor(Qt::red);
total_width_helper_cell_ -> split_foreground_color = QColor(Qt::black);
total_width_helper_cell_ -> split_label = QString(
tr("[%1px]", "content of the extra helper cell added when the total width of cells is greather than the preview width")
tr("[%1px]", "content of the extra helper cell added when the total width of cells is greater than the preview width")
).arg(total_applied_width - preview_width_);
total_width_helper_cell_ -> split_size = total_applied_width - preview_width_;
}