@@ -175,7 +175,7 @@ def addConnectionActionSlot(self, item, action, parent):
175
175
def removeActionSlot (self , item , action , parent ):
176
176
QApplication .restoreOverrideCursor ()
177
177
try :
178
- res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "hey! " ),
178
+ res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "DB Manager " ),
179
179
QApplication .translate ("DBManagerPlugin" ,
180
180
"Really remove connection to {0}?" ).format (item .connectionName ()),
181
181
QMessageBox .Yes | QMessageBox .No )
@@ -308,34 +308,34 @@ def registerDatabaseActions(self, mainWindow):
308
308
self .reconnectActionSlot )
309
309
310
310
if self .schemas () is not None :
311
- action = QAction (QApplication .translate ("DBManagerPlugin" , "&Create schema " ), self )
311
+ action = QAction (QApplication .translate ("DBManagerPlugin" , "&Create Schema… " ), self )
312
312
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Schema" ),
313
313
self .createSchemaActionSlot )
314
- action = QAction (QApplication .translate ("DBManagerPlugin" , "&Delete (empty) schema " ), self )
314
+ action = QAction (QApplication .translate ("DBManagerPlugin" , "&Delete (Empty) Schema " ), self )
315
315
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Schema" ),
316
316
self .deleteSchemaActionSlot )
317
317
318
- action = QAction (QApplication .translate ("DBManagerPlugin" , "Delete selected item " ), self )
318
+ action = QAction (QApplication .translate ("DBManagerPlugin" , "Delete Selected Item " ), self )
319
319
mainWindow .registerAction (action , None , self .deleteActionSlot )
320
320
action .setShortcuts (QKeySequence .Delete )
321
321
322
322
action = QAction (QIcon (":/db_manager/actions/create_table" ),
323
- QApplication .translate ("DBManagerPlugin" , "&Create table " ), self )
323
+ QApplication .translate ("DBManagerPlugin" , "&Create Table… " ), self )
324
324
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Table" ),
325
325
self .createTableActionSlot )
326
326
action = QAction (QIcon (":/db_manager/actions/edit_table" ),
327
- QApplication .translate ("DBManagerPlugin" , "&Edit table " ), self )
327
+ QApplication .translate ("DBManagerPlugin" , "&Edit Table… " ), self )
328
328
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Table" ), self .editTableActionSlot )
329
329
action = QAction (QIcon (":/db_manager/actions/del_table" ),
330
- QApplication .translate ("DBManagerPlugin" , "&Delete table /view" ), self )
330
+ QApplication .translate ("DBManagerPlugin" , "&Delete Table /view… " ), self )
331
331
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Table" ),
332
332
self .deleteTableActionSlot )
333
- action = QAction (QApplication .translate ("DBManagerPlugin" , "&Empty table " ), self )
333
+ action = QAction (QApplication .translate ("DBManagerPlugin" , "&Empty Table… " ), self )
334
334
mainWindow .registerAction (action , QApplication .translate ("DBManagerPlugin" , "&Table" ),
335
335
self .emptyTableActionSlot )
336
336
337
337
if self .schemas () is not None :
338
- action = QAction (QApplication .translate ("DBManagerPlugin" , "&Move to schema " ), self )
338
+ action = QAction (QApplication .translate ("DBManagerPlugin" , "&Move to Schema " ), self )
339
339
action .setMenu (QMenu (mainWindow ))
340
340
341
341
def invoke_callback ():
@@ -385,7 +385,7 @@ def deleteSchemaActionSlot(self, item, action, parent):
385
385
QApplication .translate ("DBManagerPlugin" , "Select an empty schema for deletion." ),
386
386
Qgis .Info , parent .iface .messageTimeout ())
387
387
return
388
- res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "hey! " ),
388
+ res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "DB Manager " ),
389
389
QApplication .translate ("DBManagerPlugin" ,
390
390
"Really delete schema {0}?" ).format (item .name ),
391
391
QMessageBox .Yes | QMessageBox .No )
@@ -442,7 +442,7 @@ def deleteTableActionSlot(self, item, action, parent):
442
442
QApplication .translate ("DBManagerPlugin" , "Select a table/view for deletion." ),
443
443
Qgis .Info , parent .iface .messageTimeout ())
444
444
return
445
- res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "hey! " ),
445
+ res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "DB Manager " ),
446
446
QApplication .translate ("DBManagerPlugin" ,
447
447
"Really delete table/view {0}?" ).format (item .name ),
448
448
QMessageBox .Yes | QMessageBox .No )
@@ -460,7 +460,7 @@ def emptyTableActionSlot(self, item, action, parent):
460
460
parent .infoBar .pushMessage (QApplication .translate ("DBManagerPlugin" , "Select a table to empty it." ),
461
461
Qgis .Info , parent .iface .messageTimeout ())
462
462
return
463
- res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "hey! " ),
463
+ res = QMessageBox .question (parent , QApplication .translate ("DBManagerPlugin" , "DB Manager " ),
464
464
QApplication .translate ("DBManagerPlugin" ,
465
465
"Really delete all items from table {0}?" ).format (item .name ),
466
466
QMessageBox .Yes | QMessageBox .No )
0 commit comments