Commit 63af3acdffb57bd82eb5a87c7b26f8bffdcbe260
1 parent
e6403287
Exists in
master
and in
67 other branches
ENH: Enhancing messages and translations.
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
invesalius/gui/dialogs.py
... | ... | @@ -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) |
... | ... | @@ -712,8 +712,7 @@ def ShowAboutDialog(parent): |
712 | 712 | "Fabio de Souza Azevedo", |
713 | 713 | "Jorge Vicente Lopes da Silva", |
714 | 714 | "Tatiana Al-Chueyr (former)", |
715 | - "Bruno Lara Bottazzini (contributor)", | |
716 | - ""] | |
715 | + "Bruno Lara Bottazzini (contributor)"] | |
717 | 716 | |
718 | 717 | info.Translators = ["Alex P. Natsios", |
719 | 718 | "Andreas Loupasakis", |
... | ... | @@ -1141,7 +1140,7 @@ class CAOptions(wx.Panel): |
1141 | 1140 | self._build_widgets() |
1142 | 1141 | |
1143 | 1142 | def _build_widgets(self): |
1144 | - sb = wx.StaticBox(self, -1, _('Context aware options')) | |
1143 | + sb = wx.StaticBox(self, -1, _('Options')) | |
1145 | 1144 | self.angle = floatspin.FloatSpin(self, -1, value=0.7, min_val=0.0, |
1146 | 1145 | max_val=1.0, increment=0.1, |
1147 | 1146 | digits=1) |
... | ... | @@ -1201,10 +1200,10 @@ class SurfaceMethodPanel(wx.Panel): |
1201 | 1200 | icon = wx.ArtProvider.GetBitmap(wx.ART_INFORMATION, wx.ART_MESSAGE_BOX, |
1202 | 1201 | (h * 0.8, h * 0.8)) |
1203 | 1202 | self.bmp = wx.StaticBitmap(self, -1, icon) |
1204 | - self.bmp.SetToolTipString(_("It's not possible to use the Default method because the mask was edited")) | |
1203 | + self.bmp.SetToolTipString(_("It is not possible to use the Default method because the mask was edited.")) | |
1205 | 1204 | |
1206 | 1205 | self.method_sizer = wx.BoxSizer(wx.HORIZONTAL) |
1207 | - self.method_sizer.Add(wx.StaticText(self, -1, u'Method:'), 0, | |
1206 | + self.method_sizer.Add(wx.StaticText(self, -1, _(u'Method:')), 0, | |
1208 | 1207 | wx.EXPAND | wx.ALL, 5) |
1209 | 1208 | self.method_sizer.Add(self.cb_types, 1, wx.EXPAND) |
1210 | 1209 | self.method_sizer.Add(self.bmp, 0, wx.EXPAND|wx.ALL, 5) | ... | ... |