X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=tree.py;h=83f7d6ee0a1285da942f4ab66e7d22e2a9f770fa;hp=61114b0aee1c652d054f0a1b9d5a92ffa302dfd4;hb=dd0fc29422df718cffd345b111d9df4d74a92360;hpb=ea65fad6c1db29593f2d688899c12c03ad513017 diff --git a/tree.py b/tree.py index 61114b0..83f7d6e 100644 --- a/tree.py +++ b/tree.py @@ -686,7 +686,7 @@ class LeftTree(CT.CustomTreeCtrl): corpus = self.page.corpus tgenpath = os.path.join(self.page.parametres['pathout'], 'tgen.csv') if not os.path.exists(tgenpath) : - message = wx.MessageDialog(self.parent, _(u"No TGen yet !"), style = wx.ICON_EXCLAMATION | wx.OK) + message = wx.MessageDialog(self.parent, _(u"No TGen yet !").decode('utf8'), style = wx.ICON_EXCLAMATION | wx.OK) message.ShowModal() message.Destroy() else : @@ -726,7 +726,7 @@ class LeftTree(CT.CustomTreeCtrl): else : name = 'name' oldname = pydata[name] - dlg = wx.TextEntryDialog(self, "Please Enter The New Item Name", 'Item Naming', oldname) + dlg = wx.TextEntryDialog(self, _("New Name").decode('utf8'), _(u'Rename').decode('utf8'), oldname) if dlg.ShowModal() == wx.ID_OK: newname = dlg.GetValue() dlg.Destroy()