Skip to content

Commit

Permalink
fix #4992
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 12, 2012
1 parent 9cc3e38 commit c45dbb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion i18n/qgis_de.ts
Expand Up @@ -26654,7 +26654,7 @@ Fehler:%3
</message>
<message>
<location filename="../src/providers/postgres/qgspostgresconn.cpp" line="729"/>
<source>Errornous query: %1 returned %2 [%3]</source>
<source>Erroneous query: %1 returned %2 [%3]</source>
<translation>Fehlerhafte Abfrage: %1 ergab %2 [%3]</translation>
</message>
<message>
Expand Down
4 changes: 2 additions & 2 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -726,13 +726,13 @@ PGresult *QgsPostgresConn::PQexec( QString query, bool logError )
{
if ( logError )
{
QgsMessageLog::logMessage( tr( "Errornous query: %1 returned %2 [%3]" )
QgsMessageLog::logMessage( tr( "Erroneous query: %1 returned %2 [%3]" )
.arg( query ).arg( errorStatus ).arg( PQresultErrorMessage( res ) ),
tr( "PostGIS" ) );
}
else
{
QgsDebugMsg( QString( "Not logged errornous query: %1 returned %2 [%3]" )
QgsDebugMsg( QString( "Not logged erroneous query: %1 returned %2 [%3]" )
.arg( query ).arg( errorStatus ).arg( PQresultErrorMessage( res ) ) );
}
}
Expand Down

0 comments on commit c45dbb8

Please sign in to comment.