mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
a11a110fc5
commit
195c4e14c3
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user