From: pierre Date: Sun, 29 Sep 2024 16:36:20 +0000 (+0200) Subject: translation X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=c9ef748f75f36b1a71750f47e823caff3d67e42f;p=iramuteq translation --- diff --git a/elcategorizator.py b/elcategorizator.py index 367e22a..3a4a596 100644 --- a/elcategorizator.py +++ b/elcategorizator.py @@ -11,6 +11,8 @@ from listlex import * import pickle import json +import langue +langue.run() class CategoDict : @@ -368,19 +370,19 @@ class ElCategorizator ( wx.Panel ): bSizer2 = wx.BoxSizer( wx.HORIZONTAL ) - self.butsave = wx.Button( self, wx.ID_SAVE, u"Save", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.butsave = wx.Button( self, wx.ID_SAVE, _("Save"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer2.Add( self.butsave, 0, wx.ALL, 5 ) - self.butcsv = wx.Button( self, wx.ID_ANY, u"Export Columns", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.butcsv = wx.Button( self, wx.ID_ANY, _("Export Columns"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer2.Add( self.butcsv, 0, wx.ALL, 5 ) - self.butdict = wx.Button( self, wx.ID_ANY, u"Export dictonary", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.butdict = wx.Button( self, wx.ID_ANY, _("Export dictonary"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer2.Add( self.butdict, 0, wx.ALL, 5 ) - self.butload = wx.Button( self, wx.ID_ANY, u"Load a categorization", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.butload = wx.Button( self, wx.ID_ANY, _("Load a categorization"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer2.Add( self.butload, 0, wx.ALL, 5 ) - self.butaddcate = wx.Button( self, wx.ID_ANY, u"Add a category", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.butaddcate = wx.Button( self, wx.ID_ANY, _("Add a category"), wx.DefaultPosition, wx.DefaultSize, 0 ) bSizer2.Add( self.butaddcate, 0, wx.ALL, 5 )