mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
fix two typos converting frenchb (Thanks to Georg)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1e65605e25
commit
54502b890e
@ -1,3 +1,7 @@
|
||||
2005-07-18 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py (convert_french): fix two typos (Thanks to Georg Baum).
|
||||
|
||||
2005-07-18 José Matos <jamatos@lyx.org>
|
||||
|
||||
* lyx_1_4.py (convert_french): convert language also in the body.
|
||||
|
@ -1858,13 +1858,13 @@ def convert_french(file):
|
||||
file.header[i] = "\\language french"
|
||||
|
||||
# Change language in the document body
|
||||
regexp = re.compile(r'^\\lang\s+frenchb')
|
||||
regexp = re.compile(r'^\\lang\s+frenchb')
|
||||
i = 0
|
||||
while 1:
|
||||
i = find_re(file.body, regexp, i)
|
||||
if i == -1:
|
||||
break
|
||||
file.body[i] = "\\language french"
|
||||
file.body[i] = "\\lang french"
|
||||
i = i + 1
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user