[QGIS Commit] r12644 - in trunk/qgis: i18n src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Dec 28 17:08:04 EST 2009


Author: jef
Date: 2009-12-28 17:08:03 -0500 (Mon, 28 Dec 2009)
New Revision: 12644

Modified:
   trunk/qgis/i18n/qgis_de.ts
   trunk/qgis/src/core/qgscoordinatetransform.cpp
Log:
fix compile error

Modified: trunk/qgis/i18n/qgis_de.ts
===================================================================
--- trunk/qgis/i18n/qgis_de.ts	2009-12-28 21:52:15 UTC (rev 12643)
+++ trunk/qgis/i18n/qgis_de.ts	2009-12-28 22:08:03 UTC (rev 12644)
@@ -8107,17 +8107,17 @@
     </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>

Modified: trunk/qgis/src/core/qgscoordinatetransform.cpp
===================================================================
--- trunk/qgis/src/core/qgscoordinatetransform.cpp	2009-12-28 21:52:15 UTC (rev 12643)
+++ trunk/qgis/src/core/qgscoordinatetransform.cpp	2009-12-28 22:08:03 UTC (rev 12644)
@@ -453,14 +453,14 @@
   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 @@
       }
     }
 
-    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 );
 



More information about the QGIS-commit mailing list