Skip to content

Commit 9e37e34

Browse files
committedFeb 1, 2012
fix typos
1 parent cc5c8a3 commit 9e37e34

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed
 

‎doc/CODING.t2t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Developers guide for QGIS
3434
%! PostProc(tex): '\\section' '\\newpage\\section'
3535
%! PostProc(tex): 'section{' 'section{\\color{qgis-green}'
3636
%! PostProc(tex): NEWPAGE '\\newpage'
37-
% Give alternating table rows different colours and use a smaller font in tables (\tiny)
37+
% Give alternating table rows different colors and use a smaller font in tables (\tiny)
3838
%! PostProc(tex): '\\begin{tabular}' '\\rowcolors{2}{tableShade}{white} \n\\tiny\\begin{tabular}'
3939
%! encoding: iso-8859-1
4040

‎scripts/chkspelling.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
RE=$(echo $(cut -d: -f1 scripts/spelling.dat | sed -e 's/^/\\</; s/$/\\>|/;') | sed -e 's/| /|/g; s/|$//;')
55
EX="\.(svn-base|tmp|xpm|ts)|context_help|spelling\.dat|Exception_to_GPL_for_Qt.txt|sqlite3.c"
66

7-
egrep --color=always "$RE" -ir . | egrep -iv "$EX"
8-
egrep --color=always "$RE" -i resources/context_help/*-en_US
7+
egrep --exclude-dir=.git --color=always "$RE" -ir . | egrep -iv "$EX"
8+
egrep --exclude-dir=.git --color=always "$RE" -i resources/context_help/*-en_US

‎scripts/spelling.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,3 +453,4 @@ intersecton:intersection
453453
intersectons:intersections
454454
secific:specific
455455
writeable:writable
456+
vaild:valid

‎src/analysis/raster/qgsrelief.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ int QgsRelief::processRaster( QProgressDialog* p )
280280
bool QgsRelief::processNineCellWindow( float* x1, float* x2, float* x3, float* x4, float* x5, float* x6, float* x7, float* x8, float* x9,
281281
unsigned char* red, unsigned char* green, unsigned char* blue )
282282
{
283-
//1. component: colour and hillshade from 300 degrees
283+
//1. component: color and hillshade from 300 degrees
284284
int r = 0;
285285
int g = 0;
286286
int b = 0;

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ static void customSrsValidation_( QgsCoordinateReferenceSystem* srs )
344344
}
345345

346346
// why is this: it overrides the default cursor in the splitter in the dialog
347-
// commenting it now till somebody tells us why it is neccesary :-)
347+
// commenting it now till somebody tells us why it is necessary :-)
348348
//QApplication::setOverrideCursor( Qt::ArrowCursor );
349349

350350
if ( mySelector->exec() )
@@ -2496,7 +2496,7 @@ void QgisApp::addWfsLayer()
24962496
connect( wfss , SIGNAL( addWfsLayer( QString, QString ) ),
24972497
this , SLOT( addWfsLayer( QString, QString ) ) );
24982498

2499-
//reenable wfs with extent setting: pass canvas info to source select
2499+
//re-enable wfs with extent setting: pass canvas info to source select
25002500
wfss->setProperty( "MapExtent", mMapCanvas->extent().toString() );
25012501
if ( mMapCanvas->mapRenderer()->hasCrsTransformEnabled() )
25022502
{ //if "on the fly" reprojection is active, pass canvas CRS

‎src/app/qgsfieldcalculator.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,15 @@ void QgsFieldCalculator::setOkButtonState()
272272
okButton->setToolTip("");
273273

274274
bool emptyFieldName = mOutputFieldNameLineEdit->text().isEmpty();
275-
bool expressionVaild = builder->isExpressionValid();
275+
bool expressionValid = builder->isExpressionValid();
276276

277277
if ( emptyFieldName )
278278
okButton->setToolTip( tr("Please enter a field name") );
279279

280-
if ( !expressionVaild )
281-
okButton->setToolTip( okButton->toolTip() + tr("\n The expression is invaild see (more info) for details") );
280+
if ( !expressionValid )
281+
okButton->setToolTip( okButton->toolTip() + tr("\n The expression is invalid see (more info) for details") );
282282

283-
bool okEnabled = ( !emptyFieldName || mUpdateExistingGroupBox->isChecked() ) && expressionVaild;
283+
bool okEnabled = ( !emptyFieldName || mUpdateExistingGroupBox->isChecked() ) && expressionValid;
284284

285285
okButton->setEnabled( okEnabled );
286286
}

0 commit comments

Comments
 (0)
Please sign in to comment.