Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
spelling fixes
  • Loading branch information
jef-n committed Apr 30, 2020
1 parent 759db0a commit 765aa9c
Show file tree
Hide file tree
Showing 23 changed files with 78 additions and 24 deletions.
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

2 changes: 2 additions & 0 deletions debian/compat.in
@@ -0,0 +1,2 @@
#buster bionic eoan focal#9
#sid#10
2 changes: 2 additions & 0 deletions debian/libqgis-3d{QGIS_ABI}.lintian-overrides
@@ -0,0 +1,2 @@
spelling-error-in-binary * Pres Press
spelling-error-in-binary * wHE when
5 changes: 5 additions & 0 deletions debian/libqgis-analysis{QGIS_ABI}.lintian-overrides
@@ -1,2 +1,7 @@
no-symbols-control-file *
shlib-calls-exit *
spelling-error-in-binary * Addd Add
spelling-error-in-binary * PrES Press
spelling-error-in-binary * Pres Press
spelling-error-in-binary * liK link
spelling-error-in-binary * pres press
6 changes: 6 additions & 0 deletions debian/libqgis-app{QGIS_ABI}.lintian-overrides
@@ -1 +1,7 @@
no-symbols-control-file *
spelling-error-in-binary * MoR More
spelling-error-in-binary * Pres Press
spelling-error-in-binary * Righ Right
spelling-error-in-binary * Rigt Right
spelling-error-in-binary * pres press
spelling-error-in-binary * whE when
11 changes: 11 additions & 0 deletions debian/libqgis-core{QGIS_ABI}.lintian-overrides
@@ -1,2 +1,13 @@
shlib-calls-exit *
no-symbols-control-file *
spelling-error-in-binary * Buid Build
spelling-error-in-binary * ObAY Obey
spelling-error-in-binary * PreS Press
spelling-error-in-binary * Pres Press
spelling-error-in-binary * aKs ask
spelling-error-in-binary * cHEK check
spelling-error-in-binary * dsFg dfsg
spelling-error-in-binary * nam name
spelling-error-in-binary * prEs press
spelling-error-in-binary * pres press
spelling-error-in-binary * tAHt that
8 changes: 8 additions & 0 deletions debian/libqgis-gui{QGIS_ABI}.lintian-overrides
@@ -1,2 +1,10 @@
shlib-calls-exit *
no-symbols-control-file *
spelling-error-in-binary * Lik Link
spelling-error-in-binary * LsIt List
spelling-error-in-binary * TEh The
spelling-error-in-binary * aKs ask
spelling-error-in-binary * akS ask
spelling-error-in-binary * hapen happen
spelling-error-in-binary * oFO of
spelling-error-in-binary * yElD yield
1 change: 1 addition & 0 deletions debian/libqgispython{QGIS_ABI}.lintian-overrides
@@ -1 +1,2 @@
no-symbols-control-file *
spelling-error-in-binary * Pres Press
9 changes: 9 additions & 0 deletions debian/python3-qgis.lintian-overrides
@@ -1 +1,10 @@
hardening-no-fortify-functions *
spelling-error-in-binary * Afe Safe
spelling-error-in-binary * Buid Build
spelling-error-in-binary * IiF If
spelling-error-in-binary * Iif If
spelling-error-in-binary * Wih With
spelling-error-in-binary * afe safe
spelling-error-in-binary * lik link
spelling-error-in-binary * mor more
spelling-error-in-binary * onself oneself
1 change: 1 addition & 0 deletions debian/qgis-plugin-grass.lintian-overrides
@@ -1,2 +1,3 @@
package-name-doesnt-match-sonames *
no-symbols-control-file *
spelling-error-in-binary * naM name
4 changes: 4 additions & 0 deletions debian/qgis-provider.lintian-overrides
@@ -0,0 +1,4 @@
spelling-error-in-binary * Pres Press
spelling-error-in-binary * nams names
spelling-error-in-binary * neeS needs
spelling-error-in-binary * pres press
2 changes: 2 additions & 0 deletions debian/qgis-providers.lintian-overrides
@@ -0,0 +1,2 @@
spelling-error-in-binary * pres press
spelling-error-in-binary * Pres Press
3 changes: 3 additions & 0 deletions debian/qgis.lintian-overrides
@@ -0,0 +1,3 @@
spelling-error-in-binary * NAm Name
spelling-error-in-binary * Ofo Of
spelling-error-in-binary * yAu you
4 changes: 2 additions & 2 deletions external/mdal/frmts/mdal_esri_tin.cpp
Expand Up @@ -61,7 +61,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverEsriTin::load( const std::string &uri, c
inMsx.seekg( -4, std::ios::end );
int32_t mskBegin;
if ( ! readValue( mskBegin, inMsx, true ) )
throw MDAL::Error( MDAL_Status::Err_UnknownFormat, "Unable to find the beggining of data in msk file" );
throw MDAL::Error( MDAL_Status::Err_UnknownFormat, "Unable to find the beginning of data in msk file" );

//read information in mskFile
inMsk.seekg( -mskBegin * 2, std::ios::end );
Expand All @@ -80,7 +80,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverEsriTin::load( const std::string &uri, c
//read mask file
if ( c % 32 == 0 && c < maskBitsCount ) //first bit in the mask array have to be used-->read next maskInt
if ( ! readValue( maskInt, inMsk, true ) )
throw MDAL::Error( MDAL_Status::Err_UnknownFormat, "Unable to read information in mask file" );
throw MDAL::Error( MDAL_Status::Err_UnknownFormat, "Unable to read information in msk file" );

Face f;
for ( int i = 0; i < 3; ++i )
Expand Down
4 changes: 2 additions & 2 deletions external/mdal/frmts/mdal_flo2d.cpp
Expand Up @@ -723,7 +723,7 @@ std::unique_ptr< MDAL::Mesh > MDAL::DriverFlo2D::load( const std::string &result

catch ( MDAL_Status error )
{
MDAL::Log::error( error, name(), "error occured while loading file " + resultsFile );
MDAL::Log::error( error, name(), "error occurred while loading file " + resultsFile );
mMesh.reset();
}
catch ( MDAL::Error err )
Expand Down Expand Up @@ -898,7 +898,7 @@ bool MDAL::DriverFlo2D::persist( DatasetGroup *group )
}
catch ( MDAL_Status error )
{
MDAL::Log::error( error, name(), "error occured" );
MDAL::Log::error( error, name(), "error occurred" );
return true;
}
catch ( MDAL::Error err )
Expand Down
2 changes: 1 addition & 1 deletion external/mdal/frmts/mdal_gdal.cpp
Expand Up @@ -612,7 +612,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverGdal::load( const std::string &fileName,
}
catch ( MDAL_Status error )
{
MDAL::Log::error( error, name(), "error occured while loading " + fileName );
MDAL::Log::error( error, name(), "error occurred while loading " + fileName );
mMesh.reset();
}
catch ( MDAL::Error err )
Expand Down
2 changes: 1 addition & 1 deletion external/mdal/frmts/mdal_hec2d.cpp
Expand Up @@ -728,7 +728,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverHec2D::load( const std::string &resultsF
}
catch ( MDAL_Status error )
{
MDAL::Log::error( error, name(), "Error occured while loading file " + resultsFile );
MDAL::Log::error( error, name(), "Error occurred while loading file " + resultsFile );
mMesh.reset();
}
catch ( MDAL::Error err )
Expand Down
2 changes: 1 addition & 1 deletion external/mdal/frmts/mdal_xdmf.cpp
Expand Up @@ -652,7 +652,7 @@ void MDAL::DriverXdmf::load( const std::string &datFile,
}
catch ( MDAL_Status err )
{
MDAL::Log::error( err, "Error occured while loading file " + mDatFile );
MDAL::Log::error( err, "Error occurred while loading file " + mDatFile );
}
catch ( MDAL::Error err )
{
Expand Down
4 changes: 2 additions & 2 deletions external/mdal/frmts/mdal_xms_tin.cpp
Expand Up @@ -105,7 +105,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverXmsTin::load( const std::string &meshFil
// Read triangles
if ( !std::getline( in, line ) )
{
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), meshFile + " does not contain valid triangle definition" );
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), meshFile + " does not contain valid triangle definitions" );
return nullptr;
}
chunks = split( line, ' ' );
Expand All @@ -127,7 +127,7 @@ std::unique_ptr<MDAL::Mesh> MDAL::DriverXmsTin::load( const std::string &meshFil
if ( chunks.size() != 3 )
{
// should have 3 indexes
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), meshFile + " does not contain valid triangle defintion" );
MDAL::Log::error( MDAL_Status::Err_IncompatibleMesh, name(), meshFile + " does not contain valid triangle definitions" );
return nullptr;
}

Expand Down
2 changes: 1 addition & 1 deletion external/mdal/mdal.cpp
Expand Up @@ -858,7 +858,7 @@ void MDAL_G_closeEditMode( MDAL_DatasetGroupH group )
bool error = dr->persist( g );
if ( error )
{
MDAL::Log::error( MDAL_Status::Err_InvalidData, "Persist error occured in driver" );
MDAL::Log::error( MDAL_Status::Err_InvalidData, "Persist error occurred in driver" );
}
}

Expand Down
16 changes: 8 additions & 8 deletions external/mdal/mdal_datetime.cpp
Expand Up @@ -246,16 +246,16 @@ void MDAL::DateTime::setWithGregorianJulianCalendarDate( MDAL::DateTime::DateTim

std::string MDAL::DateTime::toString( MDAL::DateTime::DateTimeValues values ) const
{
int miliseconds = int( ( values.seconds - int( values.seconds ) ) * 1000 + 0.5 );
int milliseconds = int( ( values.seconds - int( values.seconds ) ) * 1000 + 0.5 );
std::string msStr;
if ( miliseconds > 0 )
if ( milliseconds > 0 )
{
if ( miliseconds < 10 )
msStr = prependZero( std::to_string( miliseconds ), 3 );
else if ( miliseconds < 100 )
msStr = prependZero( std::to_string( miliseconds ), 2 );
else if ( miliseconds < 1000 )
msStr = std::to_string( miliseconds );
if ( milliseconds < 10 )
msStr = prependZero( std::to_string( milliseconds ), 3 );
else if ( milliseconds < 100 )
msStr = prependZero( std::to_string( milliseconds ), 2 );
else if ( milliseconds < 1000 )
msStr = std::to_string( milliseconds );

msStr = std::string( "," ).append( msStr );
}
Expand Down
10 changes: 5 additions & 5 deletions external/o2/src/o0simplecrypt.h
Expand Up @@ -82,7 +82,7 @@ class O0_EXPORT O0SimpleCrypt
ProtectionHash /*!< A cryptographic hash is used to verify the integrity of the data. This method produces a much stronger, but longer check */
};
/**
Error describes the type of error that occured.
Error describes the type of error that occurred.
*/
enum Error {
ErrorNoError, /*!< No error occurred. */
Expand Down Expand Up @@ -175,31 +175,31 @@ class O0_EXPORT O0SimpleCrypt
Decrypts a cyphertext string encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QString decryptToString(const QString& cyphertext) ;
/**
Decrypts a cyphertext string encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QByteArray decryptToByteArray(const QString& cyphertext) ;
/**
Decrypts a cyphertext binary encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QString decryptToString(QByteArray cypher) ;
/**
Decrypts a cyphertext binary encrypted with this class with the set key back to the
plain text version.
If an error occured, such as non-matching keys between encryption and decryption,
If an error occurred, such as non-matching keys between encryption and decryption,
an empty string or a string containing nonsense may be returned.
*/
QByteArray decryptToByteArray(QByteArray cypher) ;
Expand Down
1 change: 1 addition & 0 deletions scripts/spell_check/spelling.dat
Expand Up @@ -1838,6 +1838,7 @@ corespond:correspond
coresponded:corresponded
corespondence:correspondence
coresponding:corresponding
correponsding:corresponding
coresponds:corresponds
coridal:cordial
cornmitted:committed
Expand Down

0 comments on commit 765aa9c

Please sign in to comment.