Commit 282a95c1c22c53fce0643b750c23328ab12b9ef0
1 parent
cb352d27
Exists in
master
and in
5 other branches
ENH: Enhancing messages and translations.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/gui/task_surface.py
@@ -83,7 +83,7 @@ class InnerTaskPanel(wx.Panel): | @@ -83,7 +83,7 @@ class InnerTaskPanel(wx.Panel): | ||
83 | 83 | ||
84 | # Fixed hyperlink items | 84 | # Fixed hyperlink items |
85 | tooltip = wx.ToolTip(_("Create 3D surface based on a mask")) | 85 | tooltip = wx.ToolTip(_("Create 3D surface based on a mask")) |
86 | - link_new_surface = hl.HyperLinkCtrl(self, -1, "Create new 3D surface") | 86 | + link_new_surface = hl.HyperLinkCtrl(self, -1, _("Create new 3D surface")) |
87 | link_new_surface.SetUnderlines(False, False, False) | 87 | link_new_surface.SetUnderlines(False, False, False) |
88 | link_new_surface.SetColours("BLACK", "BLACK", "BLACK") | 88 | link_new_surface.SetColours("BLACK", "BLACK", "BLACK") |
89 | link_new_surface.SetToolTip(tooltip) | 89 | link_new_surface.SetToolTip(tooltip) |
@@ -133,7 +133,7 @@ class InnerTaskPanel(wx.Panel): | @@ -133,7 +133,7 @@ class InnerTaskPanel(wx.Panel): | ||
133 | #import gui.dialogs as dlg | 133 | #import gui.dialogs as dlg |
134 | sl = slice_.Slice() | 134 | sl = slice_.Slice() |
135 | dialog = dlg.SurfaceCreationDialog(None, -1, | 135 | dialog = dlg.SurfaceCreationDialog(None, -1, |
136 | - _('InVesalius 3 - New surface'), | 136 | + _('New surface'), |
137 | mask_edited=sl.current_mask.was_edited) | 137 | mask_edited=sl.current_mask.was_edited) |
138 | 138 | ||
139 | try: | 139 | try: |