]> git.donarmstrong.com Git - lilypond.git/commitdiff
(do_file): do i18n only once.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 11 Feb 2005 13:06:28 +0000 (13:06 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 11 Feb 2005 13:06:28 +0000 (13:06 +0000)
lily/font-config.cc
stepmake/bin/add-html-footer.py

index 5c8fa806e503af37ea9488d344c17c791ab79f6f..0fde98731da633dbf58c919274abf48f82da8ffc 100644 (file)
@@ -10,6 +10,7 @@
 #include "config.hh"
 
 #ifdef HAVE_PANGO_FT2
+
 #include <fontconfig/fontconfig.h>
 
 #include "main.hh"
index ec7cac2ab9c5ce650216267dd2574b0f97a8994f..3ccf9632deff30de818339cc56dac2d48e1903f3 100644 (file)
@@ -200,14 +200,6 @@ def do_file (f):
        s = gulp_file (f)
        s = re.sub ('%', '%%', s)
 
-       if changelog_file:
-               changes = gulp_file (changelog_file)
-               # urg?
-               #m = re.search ('^\\\\*\\\\*', changes)
-               m = re.search (r'\*\*\*', changes)
-               if m:
-                       changes = changes[:m.start (0)]
-               s = re.sub ('top_of_ChangeLog', '<pre>\n'+ changes  + '\n</pre>\n', s)
 
        if re.search (header_tag, s) == None:
                body = '<BODY BGCOLOR=WHITE TEXT=BLACK>'
@@ -235,7 +227,7 @@ def do_file (f):
                else:
                        s = s + footer
 
-       s = i18n (f, s)
+               s = i18n (f, s)
 
        #URUGRGOUSNGUOUNRIU
        index = index_url