Change the language of the document only if is 'default'.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7479 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2003-08-01 16:10:27 +00:00
parent a11a110fc5
commit 195c4e14c3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-08-01 Dekel Tsur <dekelts@tau.ac.il>
* lyx2lyx/lyxconvert_216.py (convert): Change the language of the
document only if is 'default'.
2003-07-23 Rod Pinna <rpinna@civil.uwa.edu.au>
* layouts/elsart.layout: change MaxCounter to Section, rather than

View File

@ -263,7 +263,8 @@ def update_language(header):
header.append('\\language english')
return
# This is the lyx behaviour: defaults to english
header[i] = '\\language english'
if string.split(header[i])[1] == 'default':
header[i] = '\\language english'
return
def convert(header,body):