From d70578b8d5d51a97f5ae47d547162e5ffe8abbfe Mon Sep 17 00:00:00 2001 From: jef Date: Mon, 28 Dec 2009 22:08:03 +0000 Subject: [PATCH] fix compile error git-svn-id: http://svn.osgeo.org/qgis/trunk@12644 c8812cc2-4d05-0410-92ff-de0c093fc19c --- i18n/qgis_de.ts | 6 +++--- src/core/qgscoordinatetransform.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/i18n/qgis_de.ts b/i18n/qgis_de.ts index 7f5abaa5d02..d26d6902e33 100644 --- a/i18n/qgis_de.ts +++ b/i18n/qgis_de.ts @@ -8107,17 +8107,17 @@ Fehler war:%2 - inverse + inverse transform Rücktransformation - forward + forward transform Transformation - %1 transform of + %1 of %2 failed with error: %3 diff --git a/src/core/qgscoordinatetransform.cpp b/src/core/qgscoordinatetransform.cpp index 6017a9c43a4..c1dc3a08047 100644 --- a/src/core/qgscoordinatetransform.cpp +++ b/src/core/qgscoordinatetransform.cpp @@ -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 ) @@ -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 );