dbmanager: fix spatialite connection error message

This commit is contained in:
Juergen E. Fischer 2013-07-16 12:18:30 +02:00
parent 1233398122
commit b9ada4c2d4

View File

@ -37,7 +37,7 @@ class SpatiaLiteDBConnector(DBConnector):
self.dbname = uri.database()
if not QFile.exists( self.dbname ):
raise ConnectionError( self.tr('"%s" not found') % self.dbname )
raise ConnectionError( QApplication.translate("DBManagerPlugin", '"{0}" not found').format( self.dbname ) )
try:
self.connection = sqlite.connect( self._connectionInfo() )