From e980dccd020616c258f0c78ce7e7fb96e01e887f Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 4 Dec 2012 15:34:02 +0000 Subject: [PATCH] aide --- InterfaceQT4/editor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2