projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea65fad
)
...
author
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Sun, 14 Dec 2014 17:29:00 +0000
(18:29 +0100)
committer
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Sun, 14 Dec 2014 17:29:00 +0000
(18:29 +0100)
tree.py
patch
|
blob
|
history
diff --git
a/tree.py
b/tree.py
index
61114b0
..
83f7d6e
100644
(file)
--- 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) :
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 :
message.ShowModal()
message.Destroy()
else :
@@
-726,7
+726,7
@@
class LeftTree(CT.CustomTreeCtrl):
else :
name = 'name'
oldname = pydata[name]
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()
if dlg.ShowModal() == wx.ID_OK:
newname = dlg.GetValue()
dlg.Destroy()