From 06423f897abd4eb40296b7ee216b120a1cc1a83e Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Wed, 5 Aug 2009 21:12:48 +0200 Subject: [PATCH] Makelsr: don't eat lsr tags when updating translated texidocs --- scripts/auxiliar/makelsr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/auxiliar/makelsr.py b/scripts/auxiliar/makelsr.py index f3489e2fef..593925b3bf 100755 --- 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] -- 2.39.5