Commit 63585d7df4daa155fd3ac1fe3e38bdd30423a59c
1 parent
5d5cd99a
Exists in
master
and in
6 other branches
ENH: English spelling / grammar / expresions, suggested by Eugene Liscio (fix #214)
Showing
5 changed files
with
8 additions
and
8 deletions
Show diff stats
invesalius/control.py
... | ... | @@ -438,7 +438,7 @@ class Controller(): |
438 | 438 | tilt_value = dicom.acquisition.tilt |
439 | 439 | if (tilt_value) and (gui): |
440 | 440 | # Tell user gantry tilt and fix, according to answer |
441 | - message = _("Fix gantry tilt applying the degrees bellow") | |
441 | + message = _("Fix gantry tilt applying the degrees below") | |
442 | 442 | value = -1*tilt_value |
443 | 443 | tilt_value = dialog.ShowNumberDialog(message, value) |
444 | 444 | imagedata = utils.FixGantryTilt(imagedata, tilt_value) | ... | ... |
invesalius/gui/dialogs.py
... | ... | @@ -298,7 +298,7 @@ def ImportEmptyDirectory(dirpath): |
298 | 298 | dlg.Destroy() |
299 | 299 | |
300 | 300 | def ImportInvalidFiles(): |
301 | - msg = _("There are no DICOM files on the selected directory.") | |
301 | + msg = _("There are no DICOM files in the selected directory.") | |
302 | 302 | if sys.platform == 'darwin': |
303 | 303 | dlg = wx.MessageDialog(None, "", msg, |
304 | 304 | wx.ICON_INFORMATION | wx.OK) | ... | ... |
invesalius/gui/task_exporter.py
... | ... | @@ -102,7 +102,7 @@ class InnerTaskPanel(wx.Panel): |
102 | 102 | # Counter for projects loaded in current GUI |
103 | 103 | |
104 | 104 | # Fixed hyperlink items |
105 | - tooltip = wx.ToolTip(_("Export InVesalius screen to a image file")) | |
105 | + tooltip = wx.ToolTip(_("Export InVesalius screen to an image file")) | |
106 | 106 | link_export_picture = hl.HyperLinkCtrl(self, -1, |
107 | 107 | _("Export picture...")) |
108 | 108 | link_export_picture.SetUnderlines(False, False, False) |
... | ... | @@ -324,7 +324,7 @@ class InnerTaskPanel(wx.Panel): |
324 | 324 | (filename, filetype)) |
325 | 325 | else: |
326 | 326 | dlg = wx.MessageDialog(None, |
327 | - _("You need to create a surface and make it ") + | |
327 | + _("You need to create a surface and make ") + | |
328 | 328 | _("visible before exporting it."), |
329 | 329 | 'InVesalius 3', |
330 | 330 | wx.OK | wx.ICON_INFORMATION) | ... | ... |
invesalius/gui/task_slice.py
... | ... | @@ -79,7 +79,7 @@ class InnerTaskPanel(wx.Panel): |
79 | 79 | |
80 | 80 | |
81 | 81 | # Fixed hyperlink items |
82 | - tooltip = wx.ToolTip(_("Create mask for slice segmentation and edition")) | |
82 | + tooltip = wx.ToolTip(_("Create mask for slice segmentation and editing")) | |
83 | 83 | link_new_mask = hl.HyperLinkCtrl(self, -1, _("Create new mask")) |
84 | 84 | link_new_mask.SetUnderlines(False, False, False) |
85 | 85 | link_new_mask.SetColours("BLACK", "BLACK", "BLACK") | ... | ... |
invesalius/gui/task_surface.py
... | ... | @@ -243,7 +243,7 @@ class SurfaceTools(wx.Panel): |
243 | 243 | |
244 | 244 | |
245 | 245 | # Fixed hyperlink items |
246 | - tooltip = wx.ToolTip(_("Automatically select largest disconnect region and create new surface")) | |
246 | + tooltip = wx.ToolTip(_("Automatically select largest disconnected region and create new surface")) | |
247 | 247 | link_largest = hl.HyperLinkCtrl(self, -1, _("Select largest part")) |
248 | 248 | link_largest.SetUnderlines(False, False, False) |
249 | 249 | link_largest.SetColours("BLACK", "BLACK", "BLACK") |
... | ... | @@ -252,8 +252,8 @@ class SurfaceTools(wx.Panel): |
252 | 252 | link_largest.UpdateLink() |
253 | 253 | link_largest.Bind(hl.EVT_HYPERLINK_LEFT, self.OnLinkLargest) |
254 | 254 | |
255 | - tooltip = wx.ToolTip(_("Automatically select disconnect regions and create one new surface per region")) | |
256 | - link_split_all = hl.HyperLinkCtrl(self, -1,_("Split all disconnect surfaces")) | |
255 | + tooltip = wx.ToolTip(_("Automatically select disconnected regions and create one new surface per region")) | |
256 | + link_split_all = hl.HyperLinkCtrl(self, -1,_("Split all disconnected surfaces")) | |
257 | 257 | link_split_all.SetUnderlines(False, False, False) |
258 | 258 | link_split_all.SetColours("BLACK", "BLACK", "BLACK") |
259 | 259 | link_split_all.SetToolTip(tooltip) | ... | ... |