Commit ef90452d145a755016aa5c3ba529ca9c239fe250
1 parent
64f3a575
Exists in
master
and in
3 other branches
Added the rest of the string to translation
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/data/viewer_slice.py
| @@ -79,15 +79,15 @@ class ContourMIPConfig(wx.Panel): | @@ -79,15 +79,15 @@ class ContourMIPConfig(wx.Panel): | ||
| 79 | self.border_spin.SetMinSize((5 * w + 10, -1)) | 79 | self.border_spin.SetMinSize((5 * w + 10, -1)) |
| 80 | self.border_spin.SetMaxSize((5 * w + 10, -1)) | 80 | self.border_spin.SetMaxSize((5 * w + 10, -1)) |
| 81 | 81 | ||
| 82 | - self.inverted = wx.CheckBox(self, -1, "inverted") | 82 | + self.inverted = wx.CheckBox(self, -1, _("inverted")) |
| 83 | self.inverted.SetToolTip(wx.ToolTip(_("If checked, the slices are" | 83 | self.inverted.SetToolTip(wx.ToolTip(_("If checked, the slices are" |
| 84 | " traversed in descending" | 84 | " traversed in descending" |
| 85 | " order to compound the" | 85 | " order to compound the" |
| 86 | " visualization instead of" | 86 | " visualization instead of" |
| 87 | " ascending order"))) | 87 | " ascending order"))) |
| 88 | 88 | ||
| 89 | - txt_mip_size = wx.StaticText(self, -1, "Number of slices", style=wx.ALIGN_CENTER_HORIZONTAL) | ||
| 90 | - self.txt_mip_border = wx.StaticText(self, -1, "Sharpness") | 89 | + txt_mip_size = wx.StaticText(self, -1, _("Number of slices"), style=wx.ALIGN_CENTER_HORIZONTAL) |
| 90 | + self.txt_mip_border = wx.StaticText(self, -1, _("Sharpness")) | ||
| 91 | 91 | ||
| 92 | sizer = wx.BoxSizer(wx.HORIZONTAL) | 92 | sizer = wx.BoxSizer(wx.HORIZONTAL) |
| 93 | sizer.Add(txt_mip_size, 0, wx.EXPAND | wx.ALL, 2) | 93 | sizer.Add(txt_mip_size, 0, wx.EXPAND | wx.ALL, 2) |