Skip to content
Permalink
Browse files

fix typos

  • Loading branch information
jef-n committed Feb 1, 2012
1 parent cc5c8a3 commit 9e37e34338fb45dddf9da24ddec0d7f9bf172aa2
Showing with 11 additions and 10 deletions.
  1. +1 −1 doc/CODING.t2t
  2. +2 −2 scripts/chkspelling.sh
  3. +1 −0 scripts/spelling.dat
  4. +1 −1 src/analysis/raster/qgsrelief.cpp
  5. +2 −2 src/app/qgisapp.cpp
  6. +4 −4 src/app/qgsfieldcalculator.cpp
@@ -34,7 +34,7 @@ Developers guide for QGIS
%! PostProc(tex): '\\section' '\\newpage\\section'
%! PostProc(tex): 'section{' 'section{\\color{qgis-green}'
%! PostProc(tex): NEWPAGE '\\newpage'
% Give alternating table rows different colours and use a smaller font in tables (\tiny)
% Give alternating table rows different colors and use a smaller font in tables (\tiny)
%! PostProc(tex): '\\begin{tabular}' '\\rowcolors{2}{tableShade}{white} \n\\tiny\\begin{tabular}'
%! encoding: iso-8859-1

@@ -4,5 +4,5 @@
RE=$(echo $(cut -d: -f1 scripts/spelling.dat | sed -e 's/^/\\</; s/$/\\>|/;') | sed -e 's/| /|/g; s/|$//;')
EX="\.(svn-base|tmp|xpm|ts)|context_help|spelling\.dat|Exception_to_GPL_for_Qt.txt|sqlite3.c"

egrep --color=always "$RE" -ir . | egrep -iv "$EX"
egrep --color=always "$RE" -i resources/context_help/*-en_US
egrep --exclude-dir=.git --color=always "$RE" -ir . | egrep -iv "$EX"
egrep --exclude-dir=.git --color=always "$RE" -i resources/context_help/*-en_US
@@ -453,3 +453,4 @@ intersecton:intersection
intersectons:intersections
secific:specific
writeable:writable
vaild:valid
@@ -280,7 +280,7 @@ int QgsRelief::processRaster( QProgressDialog* p )
bool QgsRelief::processNineCellWindow( float* x1, float* x2, float* x3, float* x4, float* x5, float* x6, float* x7, float* x8, float* x9,
unsigned char* red, unsigned char* green, unsigned char* blue )
{
//1. component: colour and hillshade from 300 degrees
//1. component: color and hillshade from 300 degrees
int r = 0;
int g = 0;
int b = 0;
@@ -344,7 +344,7 @@ static void customSrsValidation_( QgsCoordinateReferenceSystem* srs )
}

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

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

//reenable wfs with extent setting: pass canvas info to source select
//re-enable wfs with extent setting: pass canvas info to source select
wfss->setProperty( "MapExtent", mMapCanvas->extent().toString() );
if ( mMapCanvas->mapRenderer()->hasCrsTransformEnabled() )
{ //if "on the fly" reprojection is active, pass canvas CRS
@@ -272,15 +272,15 @@ void QgsFieldCalculator::setOkButtonState()
okButton->setToolTip("");

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

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

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

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

okButton->setEnabled( okEnabled );
}

0 comments on commit 9e37e34

Please sign in to comment.
You can’t perform that action at this time.