From 63585d7df4daa155fd3ac1fe3e38bdd30423a59c Mon Sep 17 00:00:00 2001 From: tatiana Date: Fri, 5 Mar 2010 14:23:51 +0000 Subject: [PATCH] ENH: English spelling / grammar / expresions, suggested by Eugene Liscio (fix #214) --- invesalius/control.py | 2 +- invesalius/gui/dialogs.py | 2 +- invesalius/gui/task_exporter.py | 4 ++-- invesalius/gui/task_slice.py | 2 +- invesalius/gui/task_surface.py | 6 +++--- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index 14b50c4..e3b1c94 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -438,7 +438,7 @@ class Controller(): tilt_value = dicom.acquisition.tilt if (tilt_value) and (gui): # Tell user gantry tilt and fix, according to answer - message = _("Fix gantry tilt applying the degrees bellow") + message = _("Fix gantry tilt applying the degrees below") value = -1*tilt_value tilt_value = dialog.ShowNumberDialog(message, value) imagedata = utils.FixGantryTilt(imagedata, tilt_value) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 7a698bb..7bc299f 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -298,7 +298,7 @@ def ImportEmptyDirectory(dirpath): dlg.Destroy() def ImportInvalidFiles(): - msg = _("There are no DICOM files on the selected directory.") + msg = _("There are no DICOM files in the selected directory.") if sys.platform == 'darwin': dlg = wx.MessageDialog(None, "", msg, wx.ICON_INFORMATION | wx.OK) diff --git a/invesalius/gui/task_exporter.py b/invesalius/gui/task_exporter.py index 86fba85..8498e53 100644 --- a/invesalius/gui/task_exporter.py +++ b/invesalius/gui/task_exporter.py @@ -102,7 +102,7 @@ class InnerTaskPanel(wx.Panel): # Counter for projects loaded in current GUI # Fixed hyperlink items - tooltip = wx.ToolTip(_("Export InVesalius screen to a image file")) + tooltip = wx.ToolTip(_("Export InVesalius screen to an image file")) link_export_picture = hl.HyperLinkCtrl(self, -1, _("Export picture...")) link_export_picture.SetUnderlines(False, False, False) @@ -324,7 +324,7 @@ class InnerTaskPanel(wx.Panel): (filename, filetype)) else: dlg = wx.MessageDialog(None, - _("You need to create a surface and make it ") + + _("You need to create a surface and make ") + _("visible before exporting it."), 'InVesalius 3', wx.OK | wx.ICON_INFORMATION) diff --git a/invesalius/gui/task_slice.py b/invesalius/gui/task_slice.py index 8ca77a1..7c5e85f 100644 --- a/invesalius/gui/task_slice.py +++ b/invesalius/gui/task_slice.py @@ -79,7 +79,7 @@ class InnerTaskPanel(wx.Panel): # Fixed hyperlink items - tooltip = wx.ToolTip(_("Create mask for slice segmentation and edition")) + tooltip = wx.ToolTip(_("Create mask for slice segmentation and editing")) link_new_mask = hl.HyperLinkCtrl(self, -1, _("Create new mask")) link_new_mask.SetUnderlines(False, False, False) link_new_mask.SetColours("BLACK", "BLACK", "BLACK") diff --git a/invesalius/gui/task_surface.py b/invesalius/gui/task_surface.py index aa73e66..1e02a2f 100644 --- a/invesalius/gui/task_surface.py +++ b/invesalius/gui/task_surface.py @@ -243,7 +243,7 @@ class SurfaceTools(wx.Panel): # Fixed hyperlink items - tooltip = wx.ToolTip(_("Automatically select largest disconnect region and create new surface")) + tooltip = wx.ToolTip(_("Automatically select largest disconnected region and create new surface")) link_largest = hl.HyperLinkCtrl(self, -1, _("Select largest part")) link_largest.SetUnderlines(False, False, False) link_largest.SetColours("BLACK", "BLACK", "BLACK") @@ -252,8 +252,8 @@ class SurfaceTools(wx.Panel): link_largest.UpdateLink() link_largest.Bind(hl.EVT_HYPERLINK_LEFT, self.OnLinkLargest) - tooltip = wx.ToolTip(_("Automatically select disconnect regions and create one new surface per region")) - link_split_all = hl.HyperLinkCtrl(self, -1,_("Split all disconnect surfaces")) + tooltip = wx.ToolTip(_("Automatically select disconnected regions and create one new surface per region")) + link_split_all = hl.HyperLinkCtrl(self, -1,_("Split all disconnected surfaces")) link_split_all.SetUnderlines(False, False, False) link_split_all.SetColours("BLACK", "BLACK", "BLACK") link_split_all.SetToolTip(tooltip) -- libgit2 0.21.2