Skip to content

Commit 6035f19

Browse files
DelazJm-kuhn
authored andcommitted
few typo fix (#3207)
1 parent 57ff59a commit 6035f19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/providers/oracle/qgsoracleprovider.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3274,7 +3274,7 @@ QGISEXTERN bool saveStyle( const QString &uri,
32743274

32753275
if ( !qry.exec( sql ) )
32763276
{
3277-
errCause = QObject::tr( "Unable to check style existences [%1]" ).arg( qry.lastError().text() );
3277+
errCause = QObject::tr( "Unable to check style existence [%1]" ).arg( qry.lastError().text() );
32783278
conn->disconnect();
32793279
return false;
32803280
}
@@ -3403,7 +3403,7 @@ QGISEXTERN QString loadStyle( const QString &uri, QString &errCause )
34033403
QString style;
34043404
if ( !qry.exec( "SELECT COUNT(*) FROM user_tables WHERE table_name='LAYER_STYLES'" ) || !qry.next() || qry.value( 0 ).toInt() == 0 )
34053405
{
3406-
errCause = QObject::tr( "Unable layer style table not found [%1]" ).arg( qry.lastError().text() );
3406+
errCause = QObject::tr( "Unable to find layer style table [%1]" ).arg( qry.lastError().text() );
34073407
conn->disconnect();
34083408
return QString::null;
34093409
}
@@ -3461,7 +3461,7 @@ QGISEXTERN int listStyles( const QString &uri,
34613461
}
34623462
else if ( qry.value( 0 ).toInt() == 0 )
34633463
{
3464-
errCause = QObject::tr( "Layer style table does not exists [%1]" ).arg( qry.value( 0 ).toString() );
3464+
errCause = QObject::tr( "Layer style table does not exist [%1]" ).arg( qry.value( 0 ).toString() );
34653465
}
34663466
else
34673467
{
@@ -3523,7 +3523,7 @@ QGISEXTERN QString getStyleById( const QString& uri, QString styleId, QString& e
35233523

35243524
if ( !qry.exec( QString( "SELECT styleQml FROM layer_styles WHERE id=%1" ).arg( QgsOracleConn::quotedValue( styleId ) ) ) )
35253525
{
3526-
errCause = QObject::tr( "Could load layer style table [%1]" ).arg( qry.lastError().text() );
3526+
errCause = QObject::tr( "Could not load layer style table [%1]" ).arg( qry.lastError().text() );
35273527
}
35283528
else if ( !qry.next() )
35293529
{

0 commit comments

Comments
 (0)