Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12644 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 28, 2009
1 parent 8e6ca7b commit 2aaafeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions i18n/qgis_de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8107,17 +8107,17 @@ Fehler war:%2</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="456"/>
<source>inverse</source>
<source>inverse transform</source>
<translation>Rücktransformation</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="463"/>
<source>forward</source>
<source>forward transform</source>
<translation>Transformation</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="483"/>
<source>%1 transform of
<source>%1 of
%2
failed with error: %3
</source>
Expand Down
8 changes: 4 additions & 4 deletions src/core/qgscoordinatetransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,14 +453,14 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
if ( direction == ReverseTransform )
{
projResult = pj_transform( mDestinationProjection, mSourceProjection, numPoints, 0, x, y, z );
dir = tr( "inverse" );
dir = tr( "inverse transform" );
}
else
{
assert( mSourceProjection != 0 );
assert( mDestinationProjection != 0 );
projResult = pj_transform( mSourceProjection, mDestinationProjection, numPoints, 0, x, y, z );
dir = tr( "forward" );
dir = tr( "forward transform" );
}

if ( projResult != 0 )
Expand All @@ -480,10 +480,10 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
}
}

QString msg = tr("%1 transform of\n%2\nfailed with error: %3\n")
QString msg = tr("%1 of\n%2\nfailed with error: %3\n")
.arg( dir )
.arg( points )
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) ) );
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) );

QgsDebugMsg( "Projection failed emitting invalid transform signal: " + msg );

Expand Down

0 comments on commit 2aaafeb

Please sign in to comment.