projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd7b0ae
)
Makelsr: don't eat lsr tags when updating translated texidocs
author
John Mandereau
<john.mandereau@gmail.com>
Wed, 5 Aug 2009 19:12:48 +0000
(21:12 +0200)
committer
John Mandereau
<john.mandereau@gmail.com>
Wed, 5 Aug 2009 19:12:48 +0000
(21:12 +0200)
scripts/auxiliar/makelsr.py
patch
|
blob
|
history
diff --git
a/scripts/auxiliar/makelsr.py
b/scripts/auxiliar/makelsr.py
index f3489e2fef982cd96df5cd6e4e0aca4d1962bff0..593925b3bf456c17bb8d5fba1e932d2edc2712d2 100755
(executable)
--- a/
scripts/auxiliar/makelsr.py
+++ b/
scripts/auxiliar/makelsr.py
@@
-87,7
+87,7
@@
def add_version (ly_code):
s = 'Translation of GIT [Cc]ommittish'
texidoc_chunk_re = re.compile (r'^(?:%+\s*' + s + \
r'.+)?\s*(?:texidoc|doctitle)([a-zA-Z]{2,4})\s+=(?:.|\n)*?(?=%+\s*' + \
- s + r'|\n\} % begin verbatim|\n (?:doctitle|texidoc) |$(?!.|\n))', re.M)
+ s + r'|\n\} % begin verbatim|\n (?:doctitle|texidoc
|lsrtags
) |$(?!.|\n))', re.M)
def update_translated_texidoc (m, snippet_path, visited_languages):
base = os.path.splitext (os.path.basename (snippet_path))[0]