@@ -386,44 +386,44 @@ def __init__(
386386 enabled = False ,
387387 )
388388 editMode = action (
389- self .tr ("Edit Polygons " ),
389+ self .tr ("Edit Shapes " ),
390390 self .setEditMode ,
391391 shortcuts ["edit_polygon" ],
392392 "edit" ,
393- self .tr ("Move and edit the selected polygons " ),
393+ self .tr ("Move and edit the selected shapes " ),
394394 enabled = False ,
395395 )
396396
397397 delete = action (
398- self .tr ("Delete Polygons " ),
398+ self .tr ("Delete Shapes " ),
399399 self .deleteSelectedShape ,
400400 shortcuts ["delete_polygon" ],
401401 "cancel" ,
402- self .tr ("Delete the selected polygons " ),
402+ self .tr ("Delete the selected shapes " ),
403403 enabled = False ,
404404 )
405405 duplicate = action (
406- self .tr ("Duplicate Polygons " ),
406+ self .tr ("Duplicate Shape " ),
407407 self .duplicateSelectedShape ,
408408 shortcuts ["duplicate_polygon" ],
409409 "copy" ,
410- self .tr ("Create a duplicate of the selected polygons " ),
410+ self .tr ("Create a duplicate of the selected shape " ),
411411 enabled = False ,
412412 )
413413 copy = action (
414- self .tr ("Copy Polygons " ),
414+ self .tr ("Copy Shape " ),
415415 self .copySelectedShape ,
416416 shortcuts ["copy_polygon" ],
417417 "copy_clipboard" ,
418- self .tr ("Copy selected polygons to clipboard" ),
418+ self .tr ("Copy selected shape(s) to clipboard" ),
419419 enabled = False ,
420420 )
421421 paste = action (
422- self .tr ("Paste Polygons " ),
422+ self .tr ("Paste Shape " ),
423423 self .pasteSelectedShape ,
424424 shortcuts ["paste_polygon" ],
425425 "paste" ,
426- self .tr ("Paste copied polygons " ),
426+ self .tr ("Paste copied shape(s) " ),
427427 enabled = False ,
428428 )
429429 undoLastPoint = action (
@@ -453,27 +453,27 @@ def __init__(
453453 )
454454
455455 hideAll = action (
456- self .tr ("&Hide\n Polygons " ),
456+ self .tr ("&Hide\n Shapes " ),
457457 functools .partial (self .togglePolygons , False ),
458458 shortcuts ["hide_all_polygons" ],
459459 icon = "eye" ,
460- tip = self .tr ("Hide all polygons " ),
460+ tip = self .tr ("Hide all shapes " ),
461461 enabled = False ,
462462 )
463463 showAll = action (
464- self .tr ("&Show\n Polygons " ),
464+ self .tr ("&Show\n Shapes " ),
465465 functools .partial (self .togglePolygons , True ),
466466 shortcuts ["show_all_polygons" ],
467467 icon = "eye" ,
468- tip = self .tr ("Show all polygons " ),
468+ tip = self .tr ("Show all shapes " ),
469469 enabled = False ,
470470 )
471471 toggleAll = action (
472- self .tr ("&Toggle\n Polygons " ),
472+ self .tr ("&Toggle\n Shapes " ),
473473 functools .partial (self .togglePolygons , None ),
474474 shortcuts ["toggle_all_polygons" ],
475475 icon = "eye" ,
476- tip = self .tr ("Toggle all polygons " ),
476+ tip = self .tr ("Toggle all shapes " ),
477477 enabled = False ,
478478 )
479479
@@ -2087,7 +2087,7 @@ def removeSelectedPoint(self):
20872087 def deleteSelectedShape (self ):
20882088 yes , no = QtWidgets .QMessageBox .Yes , QtWidgets .QMessageBox .No
20892089 msg = self .tr (
2090- "You are about to permanently delete {} polygons , proceed anyway?"
2090+ "You are about to permanently delete {} shapes , proceed anyway?"
20912091 ).format (len (self .canvas .selectedShapes ))
20922092 if yes == QtWidgets .QMessageBox .warning (
20932093 self , self .tr ("Attention" ), msg , yes | no , yes
0 commit comments