From 238f42801fed31007932d28e2d8e517081c9542d Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Tue, 2 Dec 2014 18:16:01 +0100 Subject: [PATCH] ... --- dialog.py | 12 ++++++------ iramuteq_fr_FR.po | 30 +++++++++++++++++++++++++----- messages.pot | 28 ++++++++++++++++++++++++---- 3 files changed, 55 insertions(+), 15 deletions(-) diff --git a/dialog.py b/dialog.py index ec0c6fa..2856533 100755 --- a/dialog.py +++ b/dialog.py @@ -1038,7 +1038,7 @@ class PrefSimpleFile(wx.Dialog): class StatDialog ( wx.Dialog ): def __init__( self, parent, keys ): - wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Settings", pos = wx.DefaultPosition, size = wx.Size( -1,-1 ), style = wx.DEFAULT_DIALOG_STYLE ) + wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = _(u"Settings").decode('utf8'), pos = wx.DefaultPosition, size = wx.Size( -1,-1 ), style = wx.DEFAULT_DIALOG_STYLE ) self.fileout = "" self.parent = parent @@ -1049,7 +1049,7 @@ class StatDialog ( wx.Dialog ): gSizer1 = wx.GridSizer( 0, 2, 0, 0 ) - self.m_staticText1 = wx.StaticText( self, wx.ID_ANY, u"Lemmatization", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText1 = wx.StaticText( self, wx.ID_ANY, _(u"Lemmatization").decode('utf8'), wx.DefaultPosition, wx.DefaultSize, 0 ) self.m_staticText1.Wrap( -1 ) gSizer1.Add( self.m_staticText1, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) @@ -1058,18 +1058,18 @@ class StatDialog ( wx.Dialog ): self.radio_lem.SetSelection( 0 ) gSizer1.Add( self.radio_lem, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT|wx.ALL, 5 ) - self.m_staticText2 = wx.StaticText( self, wx.ID_ANY, u"Keys properties", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText2 = wx.StaticText( self, wx.ID_ANY, _(u"Keys properties").decode('utf8'), wx.DefaultPosition, wx.DefaultSize, 0 ) self.m_staticText2.Wrap( -1 ) gSizer1.Add( self.m_staticText2, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) - self.button_5 = wx.Button( self, wx.ID_PREFERENCES, u"properties", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.button_5 = wx.Button( self, wx.ID_PREFERENCES, _(u"properties").decode('utf8'), wx.DefaultPosition, wx.DefaultSize, 0 ) gSizer1.Add( self.button_5, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT|wx.ALL, 5 ) - self.m_staticText3 = wx.StaticText( self, wx.ID_ANY, u"Dictionary", wx.DefaultPosition, wx.DefaultSize, 0 ) + self.m_staticText3 = wx.StaticText( self, wx.ID_ANY, _(u"Dictionary").decode('utf8'), wx.DefaultPosition, wx.DefaultSize, 0 ) self.m_staticText3.Wrap( -1 ) gSizer1.Add( self.m_staticText3, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) - radio_dictchoiceChoices = [ u"indexation", u"other" ] + radio_dictchoiceChoices = [ _(u"indexation").decode('utf8'), _(u"other").decode('utf8') ] self.radio_dictchoice = wx.RadioBox( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, radio_dictchoiceChoices, 1, wx.RA_SPECIFY_COLS ) self.radio_dictchoice.SetSelection( 0 ) gSizer1.Add( self.radio_dictchoice, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT|wx.ALL, 5 ) diff --git a/iramuteq_fr_FR.po b/iramuteq_fr_FR.po index 6c53e58..fdf419b 100644 --- a/iramuteq_fr_FR.po +++ b/iramuteq_fr_FR.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: iramuteq 0.6 alpha 1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-12-01 12:03+0100\n" -"PO-Revision-Date: 2014-12-01 12:45+0200\n" +"POT-Creation-Date: 2014-12-02 18:12+0100\n" +"PO-Revision-Date: 2014-12-02 18:14+0200\n" "Last-Translator: Pierre Ratinaud \n" "Language-Team: LANGUAGE \n" "Language: fr\n" @@ -248,7 +248,7 @@ msgstr "Type de dendrogramme" msgid "Description of corpus" msgstr "Description du corpus" -#: dialog.py:2331 +#: dialog.py:1068 dialog.py:2331 msgid "Dictionary" msgstr "Dictionnaire" @@ -484,6 +484,10 @@ msgstr "Langue de l'interface" msgid "Keep punctuation" msgstr "Conserver la ponctuation" +#: dialog.py:1061 +msgid "Keys properties" +msgstr "Paramètres des clés" + #: dialog.py:2322 layout.py:1029 msgid "Language" msgstr "Langue" @@ -496,6 +500,10 @@ msgstr "Présentation" msgid "Lemmatised corpus" msgstr "Corpus lemmatisé" +#: dialog.py:1052 +msgid "Lemmatization" +msgstr "Lemmatisation" + #: iramuteq.py:1087 msgid "License GNU GPL" msgstr "Licence GNU GPL" @@ -913,8 +921,8 @@ msgstr "Sélection par" msgid "Select columns" msgstr "Sélectionnez les colonnes" -#: dialog.py:330 dialog.py:469 dialog.py:970 dialog.py:2149 dialog.py:2279 -#: dialog.py:2864 guifunct.py:161 OptionAlceste.py:63 +#: dialog.py:330 dialog.py:469 dialog.py:970 dialog.py:1041 dialog.py:2149 +#: dialog.py:2279 dialog.py:2864 guifunct.py:161 OptionAlceste.py:63 msgid "Settings" msgstr "Paramètres" @@ -1291,6 +1299,10 @@ msgstr "hauteur" msgid "hypergeometrical law" msgstr "loi hypergéométrique" +#: dialog.py:1072 +msgid "indexation" +msgstr "indexation" + #: layout.py:596 msgid "line classified on" msgstr "lignes classées sur" @@ -1324,10 +1336,18 @@ msgstr "des formes" msgid "of occurrences" msgstr "des occurrences" +#: dialog.py:1072 +msgid "other" +msgstr "Autre" + #: dialog.py:2286 msgid "paragraphs" msgstr "paragraphes" +#: dialog.py:1065 +msgid "properties" +msgstr "" + #: dialog.py:1222 msgid "relative (mean of chi2 of marked forms in segment)" msgstr "relative (moyenne des chi2 des formes marquées par segment)" diff --git a/messages.pot b/messages.pot index ee02f72..9954233 100644 --- a/messages.pot +++ b/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-12-01 12:03+0100\n" +"POT-Creation-Date: 2014-12-02 18:12+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -244,7 +244,7 @@ msgstr "" msgid "Description of corpus" msgstr "" -#: dialog.py:2331 +#: dialog.py:1068 dialog.py:2331 msgid "Dictionary" msgstr "" @@ -480,6 +480,10 @@ msgstr "" msgid "Keep punctuation" msgstr "" +#: dialog.py:1061 +msgid "Keys properties" +msgstr "" + #: dialog.py:2322 layout.py:1029 msgid "Language" msgstr "" @@ -492,6 +496,10 @@ msgstr "" msgid "Lemmatised corpus" msgstr "" +#: dialog.py:1052 +msgid "Lemmatization" +msgstr "" + #: iramuteq.py:1087 msgid "License GNU GPL" msgstr "" @@ -907,8 +915,8 @@ msgstr "" msgid "Select columns" msgstr "" -#: dialog.py:330 dialog.py:469 dialog.py:970 dialog.py:2149 dialog.py:2279 -#: dialog.py:2864 guifunct.py:161 OptionAlceste.py:63 +#: dialog.py:330 dialog.py:469 dialog.py:970 dialog.py:1041 dialog.py:2149 +#: dialog.py:2279 dialog.py:2864 guifunct.py:161 OptionAlceste.py:63 msgid "Settings" msgstr "" @@ -1285,6 +1293,10 @@ msgstr "" msgid "hypergeometrical law" msgstr "" +#: dialog.py:1072 +msgid "indexation" +msgstr "" + #: layout.py:596 msgid "line classified on" msgstr "" @@ -1318,10 +1330,18 @@ msgstr "" msgid "of occurrences" msgstr "" +#: dialog.py:1072 +msgid "other" +msgstr "" + #: dialog.py:2286 msgid "paragraphs" msgstr "" +#: dialog.py:1065 +msgid "properties" +msgstr "" + #: dialog.py:1222 msgid "relative (mean of chi2 of marked forms in segment)" msgstr "" -- 2.7.4