Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
19-07-16
[tools/eficas.git]
/
InterfaceQT4
/
readercata.py
diff --git
a/InterfaceQT4/readercata.py
b/InterfaceQT4/readercata.py
index 70783a5852c5404db88493b8c26789f761519643..9137cd3e31990d0043ff055ff26c6d5dbf71f790 100644
(file)
--- a/
InterfaceQT4/readercata.py
+++ b/
InterfaceQT4/readercata.py
@@
-222,13
+222,13
@@
class READERCATA:
self.appliEficas.rep_scripts=os.path.join(rep_cata,nom_cata)
sys.path[:0] = [self.appliEficas.rep_scripts]
try :
self.appliEficas.rep_scripts=os.path.join(rep_cata,nom_cata)
sys.path[:0] = [self.appliEficas.rep_scripts]
try :
- self.appliEficas.mesScripts=__import__(mesScriptsNomFichier)
+ self.appliEficas.mesScripts
[self.code]
=__import__(mesScriptsNomFichier)
except:
pass
sys.path=sys.path[1:]
else :
try :
except:
pass
sys.path=sys.path[1:]
else :
try :
- self.appliEficas.mesScripts=__import__(mesScriptsNomFichier)
+ self.appliEficas.mesScripts
[self.code]
=__import__(mesScriptsNomFichier)
except:
pass
except:
pass
@@
-324,10
+324,10
@@
class READERCATA:
# self.cree_rubrique(e,self.dico,0)
#print self.dicoInverse
# self.cree_rubrique(e,self.dico,0)
#print self.dicoInverse
- from Extensions import localisation
- app=QApplication
+
#
from Extensions import localisation
+
#
app=QApplication
# tres dommage A Revoir
# tres dommage A Revoir
- localisation.localise(app,"fr")
+
#
localisation.localise(app,"fr")
self.dicoInverseFrancais={}
self.dicoFrancaisAnglais={}
self.dicoAnglaisFrancais={}
self.dicoInverseFrancais={}
self.dicoFrancaisAnglais={}
self.dicoAnglaisFrancais={}
@@
-340,6
+340,7
@@
class READERCATA:
self.dicoInverseFrancais[tr(k)]=listefr
#print tr(k),listefr
if self.appliEficas.langue=="ang" : localisation.localise(app,"en")
self.dicoInverseFrancais[tr(k)]=listefr
#print tr(k),listefr
if self.appliEficas.langue=="ang" : localisation.localise(app,"en")
+
def traite_entite(self,e):
def traite_entite(self,e):