Commit e4b35e80 authored by luz paz's avatar luz paz Committed by Boudewijn Rempt

Remaining libs/ typos + misc

Found via `codespell`. Some source typos found and changed. Please review carefully.  Also a license typo was found in the windows gpl rtf.
parent fcd5e9d8
......@@ -58,7 +58,7 @@ if (MINGW)
if (DEFINED ENV{WindowsSdkDir})
message(STATUS "WindowsSdkDir is set to '$ENV{WindowsSdkDir}'")
else (DEFINED ENV{WindowsSdkDir})
message(FATAL_ERROR "Environemnt variable 'WindowsSdkDir' not set! Please set it to path of Windows 10 SDK or disable QT_ENABLE_DYNAMIC_OPENGL")
message(FATAL_ERROR "Environment variable 'WindowsSdkDir' not set! Please set it to path of Windows 10 SDK or disable QT_ENABLE_DYNAMIC_OPENGL")
endif (DEFINED ENV{WindowsSdkDir})
endif (QT_ENABLE_DYNAMIC_OPENGL)
endif (MINGW)
......
......@@ -492,7 +492,7 @@
order with original sequentiality properties (concurrent,
sequential, barrier, exclusive).
That is exactly what we have: =KisSavedUndoComand= skips the first
That is exactly what we have: =KisSavedUndoCommand= skips the first
redo and runs undo()/redo() of an internal command in a separate
stroke. We have =KisSavedMacroCommand= as well to save the contents
of the whole stroke.
......
......@@ -57,7 +57,7 @@ void TestXmlReader::testNode()
xmlstream << " <europe/>";
xmlstream << " <america/>";
xmlstream << " <australia/>";
xmlstream << " <antartic/>";
xmlstream << " <antarctic/>";
xmlstream << " </continents>";
xmlstream << " <oceans>";
xmlstream << " <pacific/>";
......@@ -1088,7 +1088,7 @@ void TestXmlReader::testUnload()
xmlstream << "<europe/>";
xmlstream << "<america/>";
xmlstream << "<australia/>";
xmlstream << "<antartic/>";
xmlstream << "<antarctic/>";
xmlstream << "</continents>";
xmlstream << "<oceans>";
xmlstream << "<pacific/>";
......
......@@ -95,7 +95,7 @@ void KisCanvasWidgetBase::drawDecorations(QPainter & gc, const QRect &updateWidg
gc.setRenderHint(QPainter::Antialiasing);
gc.setRenderHint(QPainter::TextAntialiasing);
// This option does not do anything anymore with Qt4.6, so don't reenable it since it seems to break display
// This option does not do anything anymore with Qt4.6, so don't re-enable it since it seems to break display
// http://www.archivum.info/qt-interest@trolltech.com/2010-01/00481/Re:-(Qt-interest)-Is-QPainter::HighQualityAntialiasing-render-hint-broken-in-Qt-4.6.html
// gc.setRenderHint(QPainter::HighQualityAntialiasing);
......
......@@ -516,7 +516,7 @@ KisPaintopBox::~KisPaintopBox()
cfg.writeEntry(QString("LastPreset_%1").arg(iter.key().uniqueID) , iter.value().preset->name());
}
}
// Do not delete the widget, since it it is global to the application, not owned by the view
// Do not delete the widget, since it is global to the application, not owned by the view
m_presetsPopup->setPaintOpSettingsWidget(0);
qDeleteAll(m_paintopOptionWidgets);
delete m_favoriteResourceManager;
......
......@@ -27,7 +27,7 @@ class KisDistanceInformation;
/**
* The distance information should be associated with each
* painting stroke individually, so we strore and manipulate
* painting stroke individually, so we store and manipulate
* with them together using KisPaintingStrokeInfo structure
*/
class KRITAUI_EXPORT KisFreehandStrokeInfo {
......
......@@ -401,7 +401,7 @@ void KisScratchPad::setPresetImage(const QImage& image)
void KisScratchPad::paintCustomImage(const QImage& loadedImage)
{
// this is 99% copied from the normal paintPresetImage()
// we dont' want to save over the preset image, so we don't
// we don't want to save over the preset image, so we don't
// want to store it in the m_presetImage
if(!m_paintLayer) return;
KisPaintDeviceSP paintDevice = m_paintLayer->paintDevice();
......
......@@ -502,9 +502,9 @@ void KoResourceItemChooser::baseLengthChanged(int length)
if (d->synced) {
int resourceCount = d->model->resourcesCount();
int width = d->view->width();
int maxColums = width / length;
int maxColumns = width / length;
int cols = width / (2 * length) + 1;
while (cols <= maxColums) {
while (cols <= maxColumns) {
int size = width / cols;
int rows = ceil(resourceCount / (double)cols);
if (rows * size < (d->view->height() - 5)) {
......
......@@ -43,7 +43,7 @@ public:
~KoTableView() override {}
/** reimplemented
* This will draw a number of rows based on the number of columns if m_viewMode is FIXED_COLUMS
* This will draw a number of rows based on the number of columns if m_viewMode is FIXED_COLUMNS
* And it will draw a number of columns based on the number of rows if m_viewMode is FIXED_ROWS
*/
void resizeEvent(QResizeEvent *event) override;
......
......@@ -181,7 +181,7 @@ QStringList KisSpinBoxUnitManager::getsUnitSymbolList(bool withName) const{
for (int i = 0; i < KoUnit::TypeCount; i++) {
if (KoUnit::Type(i) == KoUnit::Pixel) {
continue; //skip pixel, which is a document relative unit, in the base classe.
continue; //skip pixel, which is a document relative unit, in the base class.
}
if (withName) {
......
......@@ -24,7 +24,7 @@ http://download.kde.org/stable/krita/}{}}}\cf1\b\rtlch \ltrch\loch\fs22\lang9\lo
http://download.kde.org/unstable/krita}{}}}\cf1\b\rtlch \ltrch\loch\fs22\lang9\loch\f5\hich\af5
. }
\par \pard\plain \s0\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af10\langfe2052\dbch\af11\afs24\alang1081\loch\f3\hich\af3\fs24\lang1043\sb280\sa240{\cf1\b\rtlch \ltrch\loch\fs22\lang9\loch\f5\hich\af5
The license only applies to the Krita source and binaries, and NOT to your work! You can use Krita to create artworks for commerical purposes without any limitation.}
The license only applies to the Krita source and binaries, and NOT to your work! You can use Krita to create artworks for commercial purposes without any limitation.}
\par \pard\plain \s0\nowidctlpar\hyphpar0\cf0\kerning1\dbch\af10\langfe2052\dbch\af11\afs24\alang1081\loch\f3\hich\af3\fs24\lang1043{\cf1\i0\ulnone\ulc0\b0\afs14\rtlch \ltrch\fs14\lang9\loch\f8\hich\af8
}{\afs18\rtlch \ltrch\loch\fs18\lang9\loch\f9\hich\af9
GNU GENERAL PUBLIC LICENSE}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment