Commit e37c8c5eaf785e714cc64f54e5f0a5df5b4c9e59

Authored by fabioaz
1 parent 7e4d8035

ENH: Updating/correcting translations to Brazilian Portuguese (pt_BR).

Showing 1 changed file with 13 additions and 13 deletions   Show diff stats
invesalius/gui/dialogs.py
@@ -100,7 +100,7 @@ class ResizeImageDialog(wx.Dialog): @@ -100,7 +100,7 @@ class ResizeImageDialog(wx.Dialog):
100 style=wx.DEFAULT_DIALOG_STYLE) 100 style=wx.DEFAULT_DIALOG_STYLE)
101 self.PostCreate(pre) 101 self.PostCreate(pre)
102 102
103 - lbl_message = wx.StaticText(self, -1, _("Your operational system is 32bits or have low memory. \nIf you manipulate 3D surface or volume rendering \nit's recommended to reduce the image resolution.")) 103 + lbl_message = wx.StaticText(self, -1, _("InVesalius is running on a 32-bit operating system or has insufficient memory. \nIf you want to work with 3D surfaces or volume rendering, \nit is recommended to reduce the medical images resolution."))
104 icon = wx.ArtProvider.GetBitmap(wx.ART_WARNING, wx.ART_MESSAGE_BOX, (32,32)) 104 icon = wx.ArtProvider.GetBitmap(wx.ART_WARNING, wx.ART_MESSAGE_BOX, (32,32))
105 bmp = wx.StaticBitmap(self, -1, icon) 105 bmp = wx.StaticBitmap(self, -1, icon)
106 106
@@ -114,7 +114,7 @@ class ResizeImageDialog(wx.Dialog): @@ -114,7 +114,7 @@ class ResizeImageDialog(wx.Dialog):
114 btn_sizer.AddButton(btn_cancel) 114 btn_sizer.AddButton(btn_cancel)
115 btn_sizer.Realize() 115 btn_sizer.Realize()
116 116
117 - lbl_message_percent = wx.StaticText(self, -1,_("Percentage of image resolution")) 117 + lbl_message_percent = wx.StaticText(self, -1,_("Percentage of original resolution"))
118 118
119 num_ctrl_percent = wx.SpinCtrl(self, -1) 119 num_ctrl_percent = wx.SpinCtrl(self, -1)
120 num_ctrl_percent.SetRange(20,100) 120 num_ctrl_percent.SetRange(20,100)
@@ -233,7 +233,7 @@ def ShowOpenProjectDialog(): @@ -233,7 +233,7 @@ def ShowOpenProjectDialog():
233 def ShowOpenAnalyzeDialog(): 233 def ShowOpenAnalyzeDialog():
234 # Default system path 234 # Default system path
235 current_dir = os.path.abspath(".") 235 current_dir = os.path.abspath(".")
236 - dlg = wx.FileDialog(None, message=_("Open Analyze File..."), 236 + dlg = wx.FileDialog(None, message=_("Open Analyze file..."),
237 defaultDir="", 237 defaultDir="",
238 defaultFile="", wildcard=WILDCARD_ANALYZE, 238 defaultFile="", wildcard=WILDCARD_ANALYZE,
239 style=wx.OPEN|wx.CHANGE_DIR) 239 style=wx.OPEN|wx.CHANGE_DIR)
@@ -382,7 +382,7 @@ def SaveChangesDialog__Old(filename): @@ -382,7 +382,7 @@ def SaveChangesDialog__Old(filename):
382 382
383 383
384 def ImportEmptyDirectory(dirpath): 384 def ImportEmptyDirectory(dirpath):
385 - msg = _("%s is an empty directory.") % dirpath.decode("utf-8") 385 + msg = _("%s is an empty folder.") % dirpath.decode("utf-8")
386 if sys.platform == 'darwin': 386 if sys.platform == 'darwin':
387 dlg = wx.MessageDialog(None, "", 387 dlg = wx.MessageDialog(None, "",
388 msg, 388 msg,
@@ -395,7 +395,7 @@ def ImportEmptyDirectory(dirpath): @@ -395,7 +395,7 @@ def ImportEmptyDirectory(dirpath):
395 dlg.Destroy() 395 dlg.Destroy()
396 396
397 def ImportInvalidFiles(): 397 def ImportInvalidFiles():
398 - msg = _("There are no DICOM files in the selected directory.") 398 + msg = _("There are no DICOM files in the selected folder.")
399 if sys.platform == 'darwin': 399 if sys.platform == 'darwin':
400 dlg = wx.MessageDialog(None, "", msg, 400 dlg = wx.MessageDialog(None, "", msg,
401 wx.ICON_INFORMATION | wx.OK) 401 wx.ICON_INFORMATION | wx.OK)
@@ -406,7 +406,7 @@ def ImportInvalidFiles(): @@ -406,7 +406,7 @@ def ImportInvalidFiles():
406 dlg.Destroy() 406 dlg.Destroy()
407 407
408 def InexistentMask(): 408 def InexistentMask():
409 - msg = _("There is no mask of reference to create a surface.") 409 + msg = _("A mask is needed to create a surface.")
410 if sys.platform == 'darwin': 410 if sys.platform == 'darwin':
411 dlg = wx.MessageDialog(None, "", msg, 411 dlg = wx.MessageDialog(None, "", msg,
412 wx.ICON_INFORMATION | wx.OK) 412 wx.ICON_INFORMATION | wx.OK)
@@ -417,7 +417,7 @@ def InexistentMask(): @@ -417,7 +417,7 @@ def InexistentMask():
417 dlg.Destroy() 417 dlg.Destroy()
418 418
419 def MaskSelectionRequiredForRemoval(): 419 def MaskSelectionRequiredForRemoval():
420 - msg = _("No masks were selected for removal.") 420 + msg = _("No mask was selected for removal.")
421 if sys.platform == 'darwin': 421 if sys.platform == 'darwin':
422 dlg = wx.MessageDialog(None, "", msg, 422 dlg = wx.MessageDialog(None, "", msg,
423 wx.ICON_INFORMATION | wx.OK) 423 wx.ICON_INFORMATION | wx.OK)
@@ -428,7 +428,7 @@ def MaskSelectionRequiredForRemoval(): @@ -428,7 +428,7 @@ def MaskSelectionRequiredForRemoval():
428 dlg.Destroy() 428 dlg.Destroy()
429 429
430 def SurfaceSelectionRequiredForRemoval(): 430 def SurfaceSelectionRequiredForRemoval():
431 - msg = _("No surfaces were selected for removal.") 431 + msg = _("No surface was selected for removal.")
432 if sys.platform == 'darwin': 432 if sys.platform == 'darwin':
433 dlg = wx.MessageDialog(None, "", msg, 433 dlg = wx.MessageDialog(None, "", msg,
434 wx.ICON_INFORMATION | wx.OK) 434 wx.ICON_INFORMATION | wx.OK)
@@ -440,7 +440,7 @@ def SurfaceSelectionRequiredForRemoval(): @@ -440,7 +440,7 @@ def SurfaceSelectionRequiredForRemoval():
440 440
441 441
442 def MeasureSelectionRequiredForRemoval(): 442 def MeasureSelectionRequiredForRemoval():
443 - msg = _("No measures were selected for removal.") 443 + msg = _("No measure was selected for removal.")
444 if sys.platform == 'darwin': 444 if sys.platform == 'darwin':
445 dlg = wx.MessageDialog(None, "", msg, 445 dlg = wx.MessageDialog(None, "", msg,
446 wx.ICON_INFORMATION | wx.OK) 446 wx.ICON_INFORMATION | wx.OK)
@@ -451,7 +451,7 @@ def MeasureSelectionRequiredForRemoval(): @@ -451,7 +451,7 @@ def MeasureSelectionRequiredForRemoval():
451 dlg.Destroy() 451 dlg.Destroy()
452 452
453 def MaskSelectionRequiredForDuplication(): 453 def MaskSelectionRequiredForDuplication():
454 - msg = _("No masks were selected for duplication.") 454 + msg = _("No mask was selected for duplication.")
455 if sys.platform == 'darwin': 455 if sys.platform == 'darwin':
456 dlg = wx.MessageDialog(None, "", msg, 456 dlg = wx.MessageDialog(None, "", msg,
457 wx.ICON_INFORMATION | wx.OK) 457 wx.ICON_INFORMATION | wx.OK)
@@ -464,7 +464,7 @@ def MaskSelectionRequiredForDuplication(): @@ -464,7 +464,7 @@ def MaskSelectionRequiredForDuplication():
464 464
465 465
466 def SurfaceSelectionRequiredForDuplication(): 466 def SurfaceSelectionRequiredForDuplication():
467 - msg = _("No surfaces were selected for duplication.") 467 + msg = _("No surface was selected for duplication.")
468 if sys.platform == 'darwin': 468 if sys.platform == 'darwin':
469 dlg = wx.MessageDialog(None, "", msg, 469 dlg = wx.MessageDialog(None, "", msg,
470 wx.ICON_INFORMATION | wx.OK) 470 wx.ICON_INFORMATION | wx.OK)
@@ -695,8 +695,8 @@ def ShowAboutDialog(parent): @@ -695,8 +695,8 @@ def ShowAboutDialog(parent):
695 info = wx.AboutDialogInfo() 695 info = wx.AboutDialogInfo()
696 info.Name = "InVesalius" 696 info.Name = "InVesalius"
697 info.Version = "3.0 - Beta 3" 697 info.Version = "3.0 - Beta 3"
698 - info.Copyright = _("(c) 2007-2012 Renato Archer Information Technology Centre - CTI")  
699 - info.Description = wordwrap(_("InVesalius is a medical imaging program for 3D reconstruction. It uses a sequence of 2D DICOM image files acquired with CT or MRI scanners. InVesalius allows for the export of 3D volumes or surfaces as STL files for creating physical models of a patient's anatomy using rapid prototyping technologies. The software has the support of the CTI, CNPq and Ministry of Health"), 350, wx.ClientDC(parent)) 698 + info.Copyright = _("(c) 2007-2012 Renato Archer Information Technology Center - CTI")
  699 + info.Description = wordwrap(_("InVesalius is a medical imaging program for 3D reconstruction. It uses a sequence of 2D DICOM image files acquired with CT or MRI scanners. InVesalius allows exporting 3D volumes or surfaces as STL files for creating physical models of a patient's anatomy using rapid prototyping technologies. The software is supported by CTI, CNPq and the Brazilian Ministry of Health"), 350, wx.ClientDC(parent))
700 700
701 # _("InVesalius is a software for medical imaging 3D reconstruction. ")+\ 701 # _("InVesalius is a software for medical imaging 3D reconstruction. ")+\
702 # _("Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n\n")+\ 702 # _("Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n\n")+\