Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Follow-up to previous commit

luz paz6571328019e3
diff --git a/toonz/sources/common/trop/tantialias.cpp b/toonz/sources/common/trop/tantialias.cpp
index 3ccce3bec..6ada1849a 100644
--- a/toonz/sources/common/trop/tantialias.cpp
+++ b/toonz/sources/common/trop/tantialias.cpp
@@ -134,7 +134,7 @@ inline bool checkNeighbourHood(int x, int y, PIX *pix, int lx, int ly, int dx,
// Connect by minority: if there are more pixels like those on the 00-11
// diagonal, connect the other,
- // and viceversa.
+ // and vice versa.
return count1 > count2;
}
}
diff --git a/toonz/sources/image/tzl/tiio_tzl.cpp b/toonz/sources/image/tzl/tiio_tzl.cpp
index e375e5cc7..1bf4cf811 100644
--- a/toonz/sources/image/tzl/tiio_tzl.cpp
+++ b/toonz/sources/image/tzl/tiio_tzl.cpp
@@ -103,13 +103,13 @@ static int tfwrite(double *data, unsigned int count, FILE *f) {
namespace {
-bool erasedFrame; // Vera se è stato rimosso almeno un frame.
+bool erasedFrame; // True if at least one frame has been removed.
bool writeVersionAndCreator(FILE *chan, const char *version, QString creator) {
if (!chan) return false;
tfwrite(version, strlen(version), chan);
- // creator : CREATOR_LENGTH characater
+ // creator : CREATOR_LENGTH character
char s[CREATOR_LENGTH];
if (creator.length() == 0) creator = "UNKNOWN";
memset(s, 0, sizeof s);
@@ -1206,11 +1206,11 @@ void TLevelWriterTzl::createIcon(const TImageP &imgIn, TImageP &imgOut) {
if (!TRect(m_iconSize).contains(savebox)) // it should be better to use
// tfloor instead of tround in the
// previous lines:
- // sometimes, for rounding problems, the savebox is outside 1 pixel the
+ // sometimes, for rounding problems, the savebox is outside the 1 pixel
// raster size.
// the best solution should be to replace tround with tfloor here
// and in the icon reading of tzl 1.4 (method load14),
- // but this way the old 1.4 tzl are not readed correctly (crash!)
+ // but this way the old 1.4 tzl are not read correctly (crash!)
// so, this 'if' is a patch. vinz
savebox = savebox * TRect(m_iconSize);
thumbnailRas->clearOutside(savebox);
@@ -1328,7 +1328,7 @@ bool TLevelWriterTzl::resizeIcons(const TDimension &newSize) {
if (!m_chan) return false;
assert(m_version >= 13);
- // faccio una copia di m_path per poi usarla per la resizeIcons()
+ // make a copy of m_path and then use it for the resizeIcons()
fclose(m_chan);
m_chan = 0;
TFileStatus fs(m_path);
@@ -1566,7 +1566,7 @@ bool TLevelReaderTzl::getIconSize(TDimension &iconSize) {
fread(&iconLx, sizeof(TINT32), 1, m_chan);
fread(&iconLy, sizeof(TINT32), 1, m_chan);
assert(iconLx > 0 && iconLy > 0);
- // ritorno alla posizione corrente
+ // return to the current position
fseek(m_chan, currentPos, SEEK_SET);
iconSize = TDimension(iconLx, iconLy);
return true;
@@ -2054,7 +2054,7 @@ static TRect applyShrinkAndRegion(TRasterP &ras, int shrink, TRect region,
if (shrink > 1) {
ras = TRop::shrink(ras, shrink);
}
- // calcolo la nuova savebox
+ // calculate the new savebox
savebox *= region;
if (savebox == TRect() || savebox.getLx() <= 0 || savebox.getLy() <= 0)
return TRect();
@@ -2359,7 +2359,7 @@ TImageP TImageReaderTzl::load() {
ras->clear();
savebox = m_region;
} else {
- // se sia la savebox che la regione sono vuote non faccio nulla
+ // if both the savebox and the region are empty, do nothing
}
}
ti->setCMapped(ras);
diff --git a/toonz/sources/include/ext/plasticdeformerstorage.h b/toonz/sources/include/ext/plasticdeformerstorage.h
index cef230e58..a39f680d4 100644
--- a/toonz/sources/include/ext/plasticdeformerstorage.h
+++ b/toonz/sources/include/ext/plasticdeformerstorage.h
@@ -149,7 +149,7 @@ deform-related
Cached data is uniquely associated with pairs of meshImage and deformed
skeletons,
meaning that the same meshImage can be deformed by multiple skeletons, and
-viceversa.
+vice versa.
\n\n
A deformer data request needs an affine transform in input, which is intended
to
diff --git a/toonz/sources/include/trenderresourcemanager.h b/toonz/sources/include/trenderresourcemanager.h
index 9b0f3da1a..bf4d91de6 100644
--- a/toonz/sources/include/trenderresourcemanager.h
+++ b/toonz/sources/include/trenderresourcemanager.h
@@ -171,7 +171,7 @@ A variation of the MANAGER_FILESCOPE_DECLARATION macro used to declare
dependencies between
resource managers. A manager always receives start notifications \a after those
from which
-it depends, and viceversa for end notifications. The same applies for
+it depends, and vice versa for end notifications. The same applies for
constructors and destructors.
\n \n
The dependencies declarations list is a sequence of static \c
diff --git a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp
index 486170c20..57166904c 100644
--- a/toonz/sources/stdfx/iwa_fractalnoisefx.cpp
+++ b/toonz/sources/stdfx/iwa_fractalnoisefx.cpp
@@ -324,7 +324,7 @@ void Iwa_FractalNoiseFx::doCompute(TTile &tile, double frame,
// line of sight
TPointD _p = TTranslation(tile.m_pos) * TPointD(x, y);
// offset by combination of offsets of A) projection position and
- // B) eye positon.
+ // B) eye position.
//
// A) 0.5 * projection position offset
QVector3D p(_p.x - center.x * 0.5, _p.y - center.y * 0.5, 0.0);
diff --git a/toonz/sources/tnztools/plastictool.cpp b/toonz/sources/tnztools/plastictool.cpp
index 9787069bb..be85dcacf 100644
--- a/toonz/sources/tnztools/plastictool.cpp
+++ b/toonz/sources/tnztools/plastictool.cpp
@@ -887,7 +887,7 @@ void PlasticTool::onColumnSwitched() {
void PlasticTool::onXsheetChanged() {
onColumnSwitched();
TTool::updateEnabled(); // Current cell may no longer be a mesh one (or
- // viceversa),
+ // vice versa),
} // so tool enabled status must be updated.
//------------------------------------------------------------------------
diff --git a/toonz/sources/toonzlib/fxcommand.cpp b/toonz/sources/toonzlib/fxcommand.cpp
index e661775e5..e30a787b9 100644
--- a/toonz/sources/toonzlib/fxcommand.cpp
+++ b/toonz/sources/toonzlib/fxcommand.cpp
@@ -3416,7 +3416,7 @@ void SetParentUndo::initialize() {
if (!m_parentFx) return;
// NOTE: We cannot store this directly, since it's the actual out that owns
- // the actual in, not viceversa
+ // the actual in, not vice versa
TFx *parentFx = ::getActualIn(m_parentFx.getPointer());
TXsheet *xsh = m_xshHandle->getXsheet();
diff --git a/toonz/sources/toonzqt/docklayout.cpp b/toonz/sources/toonzqt/docklayout.cpp
index 252199f34..c0843183f 100644
--- a/toonz/sources/toonzqt/docklayout.cpp
+++ b/toonz/sources/toonzqt/docklayout.cpp
@@ -1172,7 +1172,7 @@ bool Region::addItemSize(DockWidget *item) {
m_maximumSize[vertical] = std::min(m_maximumSize[vertical],
item->getDockedMaximumSize().height());
} else {
- // Viceversa
+ // Vice versa
m_minimumSize[vertical] += item->getDockedMinimumSize().height() + sepWidth;
m_maximumSize[vertical] += item->getDockedMaximumSize().height() + sepWidth;
@@ -1225,7 +1225,7 @@ bool Region::subItemSize(DockWidget *item) {
m_maximumSize[vertical], m_childList[i]->getMaximumSize(vertical));
}
} else {
- // Viceversa
+ // Vice versa
m_minimumSize[vertical] -= item->minimumSize().height() + sepWidth;
m_maximumSize[vertical] -= item->maximumSize().height() + sepWidth;
diff --git a/toonz/sources/toonzqt/styleeditor.cpp b/toonz/sources/toonzqt/styleeditor.cpp
index 654d04766..6392332e0 100644
--- a/toonz/sources/toonzqt/styleeditor.cpp
+++ b/toonz/sources/toonzqt/styleeditor.cpp
@@ -999,7 +999,7 @@ void SquaredColorWheel::setChannel(int channel) {
// ColorSlider implementation
//*****************************************************************************
-// Adquire size later...
+// Acquire size later...
int ColorSlider::s_chandle_size = -1;
int ColorSlider::s_chandle_tall = -1;
int ColorSlider::s_slider_appearance = -1;
diff --git a/toonz/sources/translations_docs/english/MaxMinIno.tex b/toonz/sources/translations_docs/english/MaxMinIno.tex
index 42e962f00..234f735e5 100644
--- a/toonz/sources/translations_docs/english/MaxMinIno.tex
+++ b/toonz/sources/translations_docs/english/MaxMinIno.tex
@@ -39,7 +39,7 @@ Specify the processing method.\par
\textquotedbl Min\textquotedbl \ -> Inflate the dark areas of the image\par
When using \textquotedbl Min\textquotedbl , black lines in the cell image outline will be painted with 0\par
in the transparent area outside them, so transparent area expands and black lines\par
-dissappear.\par
+disappear.\par
It also increases the region defined by the Alpha in the same way.\par
The default setting is \textquotedbl Max\textquotedbl .\\
\\
diff --git a/toonz/sources/translations_docs/english/WarpHVIno.tex b/toonz/sources/translations_docs/english/WarpHVIno.tex
index 57538bd34..84993b32d 100644
--- a/toonz/sources/translations_docs/english/WarpHVIno.tex
+++ b/toonz/sources/translations_docs/english/WarpHVIno.tex
@@ -29,7 +29,7 @@ Connect a reference image to distort in the vertical direction.\\
\\
-{-}- \ Settings \ -{-}-\\
H reference\par
-Allows to select which channel of the \textquotedbl Hori\textquotedbl \ image will drive the distorsion.\\
+Allows to select which channel of the \textquotedbl Hori\textquotedbl \ image will drive the distortion.\\
\\
H MaxLen\par
Distorts the picture in the horizontal direction.\par
@@ -38,16 +38,16 @@ The unit is mm, values can range from 0 to 100.\par
Default value is 0, which will not make any effect.\\
\par
8bits Image\par
-\noindent \hskip 7em \ \ \ \ 1 -MaxLen(mm) distorsion.\par
+\noindent \hskip 7em \ \ \ \ 1 -MaxLen(mm) distortion.\par
\noindent \hskip 7em 128 no distortion.\par
-\noindent \hskip 7em 255 MaxLen(mm) distorsion.\par
+\noindent \hskip 7em 255 MaxLen(mm) distortion.\par
16bits Image\par
-\noindent \hskip 7em \ \ \ \ \ \ \ \ 1 -MaxLen(mm) distorsion.\par
+\noindent \hskip 7em \ \ \ \ \ \ \ \ 1 -MaxLen(mm) distortion.\par
\noindent \hskip 7em 32768 no distortion.\par
-\noindent \hskip 7em 65535 MaxLen(mm) distorsion.\\
+\noindent \hskip 7em 65535 MaxLen(mm) distortion.\\
\\
V reference\par
-Allows to select which channel of the \textquotedbl Vert\textquotedbl \ image will drive the distorsion.\\
+Allows to select which channel of the \textquotedbl Vert\textquotedbl \ image will drive the distortion.\\
\\
V MaxLen\par
Distorts the picture in the vertical direction.\par