X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Ftexi-langutils.py;h=a2d8958f569ccca6d998bb627de609e41f8f987a;hb=92484a2de965b36555fe49fdbd698454f027a16c;hp=66900268bcdaf45f1f9b993b2ebe3cd430fff29f;hpb=7d30eae1d474105f306f7b96d96963344b9be437;p=lilypond.git diff --git a/buildscripts/texi-langutils.py b/buildscripts/texi-langutils.py index 66900268bc..a2d8958f56 100644 --- a/buildscripts/texi-langutils.py +++ b/buildscripts/texi-langutils.py @@ -31,7 +31,6 @@ intro_blurb = '''@c -*- coding: utf-8; mode: texinfo%(doclang)s -*- @c This file is part of %(topfile)s @ignore Translation of GIT committish: %(head_committish)s - When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore @@ -119,6 +118,7 @@ if node_blurb != '': if make_gettext: node_list_filename = 'node_list' node_list = open (node_list_filename, 'w') + node_list.write ('# -*- coding: utf-8 -*-\n') for texi_file in texi_files: process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, os.path.basename (texi_file), node_list) for word in ('Up:', 'Next:', 'Previous:', 'Appendix ', 'Footnotes', 'Table of Contents'):