From: Pascale Noyret Date: Tue, 4 Dec 2012 15:34:02 +0000 (+0000) Subject: aide X-Git-Tag: V6_6_0rc1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=80e0329138fb21c071969e41601da85c99198129;p=tools%2Feficas.git aide --- diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index cade5bd1..7bf04f85 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -940,14 +940,14 @@ class JDCEditor(QSplitter): def verifieVersionCataDuJDC(self,text): #-------------------------------------# memeVersion=False - indexDeb=text.find("#VERSION_CATA:") - indexFin=text.find(":FIN VERSION_CATA") + indexDeb=text.find("#LABEL_TRADUCTION:") + indexFin=text.find(":FIN LABEL_TRADUCTION") if indexDeb < 0 : self.versionCataDuJDC="sans" textJDC=text else : - self.versionCataDuJDC=text[indexDeb+13:indexFin] - textJDC=text[0:indexDeb]+text[indexFin+17:-1] + self.versionCataDuJDC=text[indexDeb+17:indexFin] + textJDC=text[0:indexDeb]+text[indexFin+21:-1] self.versionCata="sans" if hasattr(self.readercata.cata[0],'version_cata'): self.versionCata=self.readercata.cata[0].version_cata