@@ -384,44 +384,44 @@ def __init__(
384384 enabled = False ,
385385 )
386386 editMode = action (
387- self .tr ("Edit Polygons " ),
387+ self .tr ("Edit Shapes " ),
388388 self .setEditMode ,
389389 shortcuts ["edit_polygon" ],
390390 "edit" ,
391- self .tr ("Move and edit the selected polygons " ),
391+ self .tr ("Move and edit the selected shapes " ),
392392 enabled = False ,
393393 )
394394
395395 delete = action (
396- self .tr ("Delete Polygons " ),
396+ self .tr ("Delete Shapes " ),
397397 self .deleteSelectedShape ,
398398 shortcuts ["delete_polygon" ],
399399 "cancel" ,
400- self .tr ("Delete the selected polygons " ),
400+ self .tr ("Delete the selected shapes " ),
401401 enabled = False ,
402402 )
403403 duplicate = action (
404- self .tr ("Duplicate Polygons " ),
404+ self .tr ("Duplicate Shape " ),
405405 self .duplicateSelectedShape ,
406406 shortcuts ["duplicate_polygon" ],
407407 "copy" ,
408- self .tr ("Create a duplicate of the selected polygons " ),
408+ self .tr ("Create a duplicate of the selected shape " ),
409409 enabled = False ,
410410 )
411411 copy = action (
412- self .tr ("Copy Polygons " ),
412+ self .tr ("Copy Shape " ),
413413 self .copySelectedShape ,
414414 shortcuts ["copy_polygon" ],
415415 "copy_clipboard" ,
416- self .tr ("Copy selected polygons to clipboard" ),
416+ self .tr ("Copy selected shape(s) to clipboard" ),
417417 enabled = False ,
418418 )
419419 paste = action (
420- self .tr ("Paste Polygons " ),
420+ self .tr ("Paste Shape " ),
421421 self .pasteSelectedShape ,
422422 shortcuts ["paste_polygon" ],
423423 "paste" ,
424- self .tr ("Paste copied polygons " ),
424+ self .tr ("Paste copied shape(s) " ),
425425 enabled = False ,
426426 )
427427 undoLastPoint = action (
@@ -451,27 +451,27 @@ def __init__(
451451 )
452452
453453 hideAll = action (
454- self .tr ("&Hide\n Polygons " ),
454+ self .tr ("&Hide\n Shapes " ),
455455 functools .partial (self .togglePolygons , False ),
456456 shortcuts ["hide_all_polygons" ],
457457 icon = "eye" ,
458- tip = self .tr ("Hide all polygons " ),
458+ tip = self .tr ("Hide all shapes " ),
459459 enabled = False ,
460460 )
461461 showAll = action (
462- self .tr ("&Show\n Polygons " ),
462+ self .tr ("&Show\n Shapes " ),
463463 functools .partial (self .togglePolygons , True ),
464464 shortcuts ["show_all_polygons" ],
465465 icon = "eye" ,
466- tip = self .tr ("Show all polygons " ),
466+ tip = self .tr ("Show all shapes " ),
467467 enabled = False ,
468468 )
469469 toggleAll = action (
470- self .tr ("&Toggle\n Polygons " ),
470+ self .tr ("&Toggle\n Shapes " ),
471471 functools .partial (self .togglePolygons , None ),
472472 shortcuts ["toggle_all_polygons" ],
473473 icon = "eye" ,
474- tip = self .tr ("Toggle all polygons " ),
474+ tip = self .tr ("Toggle all shapes " ),
475475 enabled = False ,
476476 )
477477
@@ -2082,7 +2082,7 @@ def removeSelectedPoint(self):
20822082 def deleteSelectedShape (self ):
20832083 yes , no = QtWidgets .QMessageBox .Yes , QtWidgets .QMessageBox .No
20842084 msg = self .tr (
2085- "You are about to permanently delete {} polygons , proceed anyway?"
2085+ "You are about to permanently delete {} shapes , proceed anyway?"
20862086 ).format (len (self .canvas .selectedShapes ))
20872087 if yes == QtWidgets .QMessageBox .warning (
20882088 self , self .tr ("Attention" ), msg , yes | no , yes
0 commit comments