Update of /cvsroot/fasttran/fasttran/fasttran
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv14824
Modified Files:
gui.py
Log Message:
change LanguageID in translated document;
typo in .Translate: invalid highlight for scores < 40
Index: gui.py
===================================================================
RCS file: /cvsroot/fasttran/fasttran/fasttran/gui.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** gui.py 13 Feb 2007 08:34:05 -0000 1.2
--- gui.py 28 Feb 2007 10:17:17 -0000 1.3
***************
*** 1,4 ****
--- 1,6 ----
"""fasttran Graphic User Interface"""
"""History (most recent first):
+ 28-feb-2007 [als] change LanguageID in translated document;
+ typo in .Translate: invalid highlight for scores < 40
13-feb-2007 [als] set frame icon
04-feb-2007 [als] created
***************
*** 314,318 ****
_highlight = 6 # wdRed
else:
! _highligh = 12 # wdViolet
_range.End = _range.Start + len(_phrase)
if _translations:
--- 316,320 ----
_highlight = 6 # wdRed
else:
! _highlight = 12 # wdViolet
_range.End = _range.Start + len(_phrase)
if _translations:
***************
*** 321,324 ****
--- 323,327 ----
_range.Start = _range.End
self.gauge.SetValue(_ii * 100. / _paragraphs.Count)
+ doc.Content.LanguageID = _tlang.msid
return True
|