Commit eaaef073ac9174d87357a256d56b07b32794dff2

Authored by fabioaz
1 parent dae58ab3

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,7 +416,7 @@ class SurfaceManager():
416 416
417 ## Update progress value in GUI 417 ## Update progress value in GUI
418 UpdateProgress = vu.ShowProgress(pipeline_size) 418 UpdateProgress = vu.ShowProgress(pipeline_size)
419 - UpdateProgress(0, _("Generating 3D surface...")) 419 + UpdateProgress(0, _("Creating 3D surface..."))
420 420
421 language = ses.Session().language 421 language = ses.Session().language
422 422
@@ -507,7 +507,7 @@ class SurfaceManager(): @@ -507,7 +507,7 @@ class SurfaceManager():
507 normals = vtk.vtkPolyDataNormals() 507 normals = vtk.vtkPolyDataNormals()
508 normals_ref = weakref.ref(normals) 508 normals_ref = weakref.ref(normals)
509 normals_ref().AddObserver("ProgressEvent", lambda obj,evt: 509 normals_ref().AddObserver("ProgressEvent", lambda obj,evt:
510 - UpdateProgress(normals_ref(), _("Generating 3D surface..."))) 510 + UpdateProgress(normals_ref(), _("Creating 3D surface...")))
511 normals.SetInput(polydata) 511 normals.SetInput(polydata)
512 normals.ReleaseDataFlagOn() 512 normals.ReleaseDataFlagOn()
513 #normals.SetFeatureAngle(80) 513 #normals.SetFeatureAngle(80)
@@ -525,7 +525,7 @@ class SurfaceManager(): @@ -525,7 +525,7 @@ class SurfaceManager():
525 clean.GetOutput().ReleaseDataFlagOn() 525 clean.GetOutput().ReleaseDataFlagOn()
526 clean_ref = weakref.ref(clean) 526 clean_ref = weakref.ref(clean)
527 clean_ref().AddObserver("ProgressEvent", lambda obj,evt: 527 clean_ref().AddObserver("ProgressEvent", lambda obj,evt:
528 - UpdateProgress(clean_ref(), _("Generating 3D surface..."))) 528 + UpdateProgress(clean_ref(), _("Creating 3D surface...")))
529 clean.SetInput(polydata) 529 clean.SetInput(polydata)
530 clean.PointMergingOn() 530 clean.PointMergingOn()
531 clean.Update() 531 clean.Update()
@@ -551,7 +551,7 @@ class SurfaceManager(): @@ -551,7 +551,7 @@ class SurfaceManager():
551 smoother = vtk.vtkSmoothPolyDataFilter() 551 smoother = vtk.vtkSmoothPolyDataFilter()
552 smoother_ref = weakref.ref(smoother) 552 smoother_ref = weakref.ref(smoother)
553 smoother_ref().AddObserver("ProgressEvent", lambda obj,evt: 553 smoother_ref().AddObserver("ProgressEvent", lambda obj,evt:
554 - UpdateProgress(smoother_ref(), _("Generating 3D surface..."))) 554 + UpdateProgress(smoother_ref(), _("Creating 3D surface...")))
555 smoother.SetInput(polydata) 555 smoother.SetInput(polydata)
556 smoother.SetNumberOfIterations(smooth_iterations) 556 smoother.SetNumberOfIterations(smooth_iterations)
557 smoother.SetRelaxationFactor(smooth_relaxation_factor) 557 smoother.SetRelaxationFactor(smooth_relaxation_factor)
@@ -580,7 +580,7 @@ class SurfaceManager(): @@ -580,7 +580,7 @@ class SurfaceManager():
580 decimation.SetTargetReduction(decimate_reduction) 580 decimation.SetTargetReduction(decimate_reduction)
581 decimation_ref = weakref.ref(decimation) 581 decimation_ref = weakref.ref(decimation)
582 decimation_ref().AddObserver("ProgressEvent", lambda obj,evt: 582 decimation_ref().AddObserver("ProgressEvent", lambda obj,evt:
583 - UpdateProgress(decimation_ref(), _("Generating 3D surface..."))) 583 + UpdateProgress(decimation_ref(), _("Creating 3D surface...")))
584 #decimation.PreserveTopologyOn() 584 #decimation.PreserveTopologyOn()
585 #decimation.SplittingOff() 585 #decimation.SplittingOff()
586 #decimation.BoundaryVertexDeletionOff() 586 #decimation.BoundaryVertexDeletionOff()
@@ -602,7 +602,7 @@ class SurfaceManager(): @@ -602,7 +602,7 @@ class SurfaceManager():
602 conn.SetExtractionModeToLargestRegion() 602 conn.SetExtractionModeToLargestRegion()
603 conn_ref = weakref.ref(conn) 603 conn_ref = weakref.ref(conn)
604 conn_ref().AddObserver("ProgressEvent", lambda obj,evt: 604 conn_ref().AddObserver("ProgressEvent", lambda obj,evt:
605 - UpdateProgress(conn_ref(), _("Generating 3D surface..."))) 605 + UpdateProgress(conn_ref(), _("Creating 3D surface...")))
606 conn.Update() 606 conn.Update()
607 conn.GetOutput().ReleaseDataFlagOn() 607 conn.GetOutput().ReleaseDataFlagOn()
608 del polydata 608 del polydata
@@ -621,7 +621,7 @@ class SurfaceManager(): @@ -621,7 +621,7 @@ class SurfaceManager():
621 filled_polydata.SetHoleSize(300) 621 filled_polydata.SetHoleSize(300)
622 filled_polydata_ref = weakref.ref(filled_polydata) 622 filled_polydata_ref = weakref.ref(filled_polydata)
623 filled_polydata_ref().AddObserver("ProgressEvent", lambda obj,evt: 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 filled_polydata.Update() 625 filled_polydata.Update()
626 filled_polydata.GetOutput().ReleaseDataFlagOn() 626 filled_polydata.GetOutput().ReleaseDataFlagOn()
627 del polydata 627 del polydata
@@ -635,7 +635,7 @@ class SurfaceManager(): @@ -635,7 +635,7 @@ class SurfaceManager():
635 normals.ReleaseDataFlagOn() 635 normals.ReleaseDataFlagOn()
636 normals_ref = weakref.ref(normals) 636 normals_ref = weakref.ref(normals)
637 normals_ref().AddObserver("ProgressEvent", lambda obj,evt: 637 normals_ref().AddObserver("ProgressEvent", lambda obj,evt:
638 - UpdateProgress(normals_ref(), _("Generating 3D surface..."))) 638 + UpdateProgress(normals_ref(), _("Creating 3D surface...")))
639 normals.SetInput(polydata) 639 normals.SetInput(polydata)
640 normals.SetFeatureAngle(80) 640 normals.SetFeatureAngle(80)
641 normals.AutoOrientNormalsOn() 641 normals.AutoOrientNormalsOn()
@@ -652,7 +652,7 @@ class SurfaceManager(): @@ -652,7 +652,7 @@ class SurfaceManager():
652 stripper.ReleaseDataFlagOn() 652 stripper.ReleaseDataFlagOn()
653 stripper_ref = weakref.ref(stripper) 653 stripper_ref = weakref.ref(stripper)
654 stripper_ref().AddObserver("ProgressEvent", lambda obj,evt: 654 stripper_ref().AddObserver("ProgressEvent", lambda obj,evt:
655 - UpdateProgress(stripper_ref(), _("Generating 3D surface..."))) 655 + UpdateProgress(stripper_ref(), _("Creating 3D surface...")))
656 stripper.SetInput(polydata) 656 stripper.SetInput(polydata)
657 stripper.PassThroughCellIdsOn() 657 stripper.PassThroughCellIdsOn()
658 stripper.PassThroughPointIdsOn() 658 stripper.PassThroughPointIdsOn()