Skip to content

Commit b9ada4c

Browse files
committed
dbmanager: fix spatialite connection error message
1 parent 1233398 commit b9ada4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/db_manager/db_plugins/spatialite/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(self, uri):
3737

3838
self.dbname = uri.database()
3939
if not QFile.exists( self.dbname ):
40-
raise ConnectionError( self.tr('"%s" not found') % self.dbname )
40+
raise ConnectionError( QApplication.translate("DBManagerPlugin", '"{0}" not found').format( self.dbname ) )
4141

4242
try:
4343
self.connection = sqlite.connect( self._connectionInfo() )

0 commit comments

Comments
 (0)