Commit eaaef073ac9174d87357a256d56b07b32794dff2
1 parent
dae58ab3
Exists in
master
and in
5 other branches
ENH: Updating/correcting translations to Brazilian Portuguese (pt_BR).
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
invesalius/data/surface.py
... | ... | @@ -416,7 +416,7 @@ class SurfaceManager(): |
416 | 416 | |
417 | 417 | ## Update progress value in GUI |
418 | 418 | UpdateProgress = vu.ShowProgress(pipeline_size) |
419 | - UpdateProgress(0, _("Generating 3D surface...")) | |
419 | + UpdateProgress(0, _("Creating 3D surface...")) | |
420 | 420 | |
421 | 421 | language = ses.Session().language |
422 | 422 | |
... | ... | @@ -507,7 +507,7 @@ class SurfaceManager(): |
507 | 507 | normals = vtk.vtkPolyDataNormals() |
508 | 508 | normals_ref = weakref.ref(normals) |
509 | 509 | normals_ref().AddObserver("ProgressEvent", lambda obj,evt: |
510 | - UpdateProgress(normals_ref(), _("Generating 3D surface..."))) | |
510 | + UpdateProgress(normals_ref(), _("Creating 3D surface..."))) | |
511 | 511 | normals.SetInput(polydata) |
512 | 512 | normals.ReleaseDataFlagOn() |
513 | 513 | #normals.SetFeatureAngle(80) |
... | ... | @@ -525,7 +525,7 @@ class SurfaceManager(): |
525 | 525 | clean.GetOutput().ReleaseDataFlagOn() |
526 | 526 | clean_ref = weakref.ref(clean) |
527 | 527 | clean_ref().AddObserver("ProgressEvent", lambda obj,evt: |
528 | - UpdateProgress(clean_ref(), _("Generating 3D surface..."))) | |
528 | + UpdateProgress(clean_ref(), _("Creating 3D surface..."))) | |
529 | 529 | clean.SetInput(polydata) |
530 | 530 | clean.PointMergingOn() |
531 | 531 | clean.Update() |
... | ... | @@ -551,7 +551,7 @@ class SurfaceManager(): |
551 | 551 | smoother = vtk.vtkSmoothPolyDataFilter() |
552 | 552 | smoother_ref = weakref.ref(smoother) |
553 | 553 | smoother_ref().AddObserver("ProgressEvent", lambda obj,evt: |
554 | - UpdateProgress(smoother_ref(), _("Generating 3D surface..."))) | |
554 | + UpdateProgress(smoother_ref(), _("Creating 3D surface..."))) | |
555 | 555 | smoother.SetInput(polydata) |
556 | 556 | smoother.SetNumberOfIterations(smooth_iterations) |
557 | 557 | smoother.SetRelaxationFactor(smooth_relaxation_factor) |
... | ... | @@ -580,7 +580,7 @@ class SurfaceManager(): |
580 | 580 | decimation.SetTargetReduction(decimate_reduction) |
581 | 581 | decimation_ref = weakref.ref(decimation) |
582 | 582 | decimation_ref().AddObserver("ProgressEvent", lambda obj,evt: |
583 | - UpdateProgress(decimation_ref(), _("Generating 3D surface..."))) | |
583 | + UpdateProgress(decimation_ref(), _("Creating 3D surface..."))) | |
584 | 584 | #decimation.PreserveTopologyOn() |
585 | 585 | #decimation.SplittingOff() |
586 | 586 | #decimation.BoundaryVertexDeletionOff() |
... | ... | @@ -602,7 +602,7 @@ class SurfaceManager(): |
602 | 602 | conn.SetExtractionModeToLargestRegion() |
603 | 603 | conn_ref = weakref.ref(conn) |
604 | 604 | conn_ref().AddObserver("ProgressEvent", lambda obj,evt: |
605 | - UpdateProgress(conn_ref(), _("Generating 3D surface..."))) | |
605 | + UpdateProgress(conn_ref(), _("Creating 3D surface..."))) | |
606 | 606 | conn.Update() |
607 | 607 | conn.GetOutput().ReleaseDataFlagOn() |
608 | 608 | del polydata |
... | ... | @@ -621,7 +621,7 @@ class SurfaceManager(): |
621 | 621 | filled_polydata.SetHoleSize(300) |
622 | 622 | filled_polydata_ref = weakref.ref(filled_polydata) |
623 | 623 | filled_polydata_ref().AddObserver("ProgressEvent", lambda obj,evt: |
624 | - UpdateProgress(filled_polydata_ref(), _("Generating 3D surface..."))) | |
624 | + UpdateProgress(filled_polydata_ref(), _("Creating 3D surface..."))) | |
625 | 625 | filled_polydata.Update() |
626 | 626 | filled_polydata.GetOutput().ReleaseDataFlagOn() |
627 | 627 | del polydata |
... | ... | @@ -635,7 +635,7 @@ class SurfaceManager(): |
635 | 635 | normals.ReleaseDataFlagOn() |
636 | 636 | normals_ref = weakref.ref(normals) |
637 | 637 | normals_ref().AddObserver("ProgressEvent", lambda obj,evt: |
638 | - UpdateProgress(normals_ref(), _("Generating 3D surface..."))) | |
638 | + UpdateProgress(normals_ref(), _("Creating 3D surface..."))) | |
639 | 639 | normals.SetInput(polydata) |
640 | 640 | normals.SetFeatureAngle(80) |
641 | 641 | normals.AutoOrientNormalsOn() |
... | ... | @@ -652,7 +652,7 @@ class SurfaceManager(): |
652 | 652 | stripper.ReleaseDataFlagOn() |
653 | 653 | stripper_ref = weakref.ref(stripper) |
654 | 654 | stripper_ref().AddObserver("ProgressEvent", lambda obj,evt: |
655 | - UpdateProgress(stripper_ref(), _("Generating 3D surface..."))) | |
655 | + UpdateProgress(stripper_ref(), _("Creating 3D surface..."))) | |
656 | 656 | stripper.SetInput(polydata) |
657 | 657 | stripper.PassThroughCellIdsOn() |
658 | 658 | stripper.PassThroughPointIdsOn() | ... | ... |