summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/sqlite2/qsql_sqlite2.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-16 10:39:46 (GMT)
committerVolker Hilsheimer <volker.hilsheimer@nokia.com>2009-07-16 10:41:56 (GMT)
commitc9e6533c66934cd06e1d231bd0346250e63ac266 (patch)
treeca065ae839226accac2401d13cc695fe1949840f /src/sql/drivers/sqlite2/qsql_sqlite2.cpp
parent09f2012b18e6ab5abbbf07adb8d4bc1ea28d11b0 (diff)
downloadQt-c9e6533c66934cd06e1d231bd0346250e63ac266.zip
Qt-c9e6533c66934cd06e1d231bd0346250e63ac266.tar.gz
Qt-c9e6533c66934cd06e1d231bd0346250e63ac266.tar.bz2
Fix (some) spelling and grammatical errors in translatable strings.
Requires an update of existing translations. Fixes: 247314 Reviewed-by: TrustMe
Diffstat (limited to 'src/sql/drivers/sqlite2/qsql_sqlite2.cpp')
-rw-r--r--src/sql/drivers/sqlite2/qsql_sqlite2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/drivers/sqlite2/qsql_sqlite2.cpp b/src/sql/drivers/sqlite2/qsql_sqlite2.cpp
index 1989c45..d30e82c 100644
--- a/src/sql/drivers/sqlite2/qsql_sqlite2.cpp
+++ b/src/sql/drivers/sqlite2/qsql_sqlite2.cpp
@@ -388,7 +388,7 @@ bool QSQLite2Driver::open(const QString & db, const QString &, const QString &,
char* err = 0;
d->access = sqlite_open(QFile::encodeName(db), 0, &err);
if (err) {
- setLastError(QSqlError(tr("Error to open database"), QString::fromAscii(err),
+ setLastError(QSqlError(tr("Error opening database"), QString::fromAscii(err),
QSqlError::ConnectionError));
sqlite_freemem(err);
err = 0;
@@ -463,7 +463,7 @@ bool QSQLite2Driver::rollbackTransaction()
if (res == SQLITE_OK)
return true;
- setLastError(QSqlError(tr("Unable to rollback Transaction"),
+ setLastError(QSqlError(tr("Unable to rollback transaction"),
QString::fromAscii(err), QSqlError::TransactionError, res));
sqlite_freemem(err);
return false;