Commit e37c8c5eaf785e714cc64f54e5f0a5df5b4c9e59
1 parent
7e4d8035
Exists in
master
and in
5 other branches
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 | 100 | style=wx.DEFAULT_DIALOG_STYLE) |
101 | 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 | 104 | icon = wx.ArtProvider.GetBitmap(wx.ART_WARNING, wx.ART_MESSAGE_BOX, (32,32)) |
105 | 105 | bmp = wx.StaticBitmap(self, -1, icon) |
106 | 106 | |
... | ... | @@ -114,7 +114,7 @@ class ResizeImageDialog(wx.Dialog): |
114 | 114 | btn_sizer.AddButton(btn_cancel) |
115 | 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 | 119 | num_ctrl_percent = wx.SpinCtrl(self, -1) |
120 | 120 | num_ctrl_percent.SetRange(20,100) |
... | ... | @@ -233,7 +233,7 @@ def ShowOpenProjectDialog(): |
233 | 233 | def ShowOpenAnalyzeDialog(): |
234 | 234 | # Default system path |
235 | 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 | 237 | defaultDir="", |
238 | 238 | defaultFile="", wildcard=WILDCARD_ANALYZE, |
239 | 239 | style=wx.OPEN|wx.CHANGE_DIR) |
... | ... | @@ -382,7 +382,7 @@ def SaveChangesDialog__Old(filename): |
382 | 382 | |
383 | 383 | |
384 | 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 | 386 | if sys.platform == 'darwin': |
387 | 387 | dlg = wx.MessageDialog(None, "", |
388 | 388 | msg, |
... | ... | @@ -395,7 +395,7 @@ def ImportEmptyDirectory(dirpath): |
395 | 395 | dlg.Destroy() |
396 | 396 | |
397 | 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 | 399 | if sys.platform == 'darwin': |
400 | 400 | dlg = wx.MessageDialog(None, "", msg, |
401 | 401 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -406,7 +406,7 @@ def ImportInvalidFiles(): |
406 | 406 | dlg.Destroy() |
407 | 407 | |
408 | 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 | 410 | if sys.platform == 'darwin': |
411 | 411 | dlg = wx.MessageDialog(None, "", msg, |
412 | 412 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -417,7 +417,7 @@ def InexistentMask(): |
417 | 417 | dlg.Destroy() |
418 | 418 | |
419 | 419 | def MaskSelectionRequiredForRemoval(): |
420 | - msg = _("No masks were selected for removal.") | |
420 | + msg = _("No mask was selected for removal.") | |
421 | 421 | if sys.platform == 'darwin': |
422 | 422 | dlg = wx.MessageDialog(None, "", msg, |
423 | 423 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -428,7 +428,7 @@ def MaskSelectionRequiredForRemoval(): |
428 | 428 | dlg.Destroy() |
429 | 429 | |
430 | 430 | def SurfaceSelectionRequiredForRemoval(): |
431 | - msg = _("No surfaces were selected for removal.") | |
431 | + msg = _("No surface was selected for removal.") | |
432 | 432 | if sys.platform == 'darwin': |
433 | 433 | dlg = wx.MessageDialog(None, "", msg, |
434 | 434 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -440,7 +440,7 @@ def SurfaceSelectionRequiredForRemoval(): |
440 | 440 | |
441 | 441 | |
442 | 442 | def MeasureSelectionRequiredForRemoval(): |
443 | - msg = _("No measures were selected for removal.") | |
443 | + msg = _("No measure was selected for removal.") | |
444 | 444 | if sys.platform == 'darwin': |
445 | 445 | dlg = wx.MessageDialog(None, "", msg, |
446 | 446 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -451,7 +451,7 @@ def MeasureSelectionRequiredForRemoval(): |
451 | 451 | dlg.Destroy() |
452 | 452 | |
453 | 453 | def MaskSelectionRequiredForDuplication(): |
454 | - msg = _("No masks were selected for duplication.") | |
454 | + msg = _("No mask was selected for duplication.") | |
455 | 455 | if sys.platform == 'darwin': |
456 | 456 | dlg = wx.MessageDialog(None, "", msg, |
457 | 457 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -464,7 +464,7 @@ def MaskSelectionRequiredForDuplication(): |
464 | 464 | |
465 | 465 | |
466 | 466 | def SurfaceSelectionRequiredForDuplication(): |
467 | - msg = _("No surfaces were selected for duplication.") | |
467 | + msg = _("No surface was selected for duplication.") | |
468 | 468 | if sys.platform == 'darwin': |
469 | 469 | dlg = wx.MessageDialog(None, "", msg, |
470 | 470 | wx.ICON_INFORMATION | wx.OK) |
... | ... | @@ -695,8 +695,8 @@ def ShowAboutDialog(parent): |
695 | 695 | info = wx.AboutDialogInfo() |
696 | 696 | info.Name = "InVesalius" |
697 | 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 | 701 | # _("InVesalius is a software for medical imaging 3D reconstruction. ")+\ |
702 | 702 | # _("Its input is a sequency of DICOM 2D image files acquired with CT or MR.\n\n")+\ | ... | ... |