]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi-langutils.py: scan ly comments and variable names only in English doco
authorJean-Charles Malahieude <lilyfan@orange.fr>
Tue, 1 May 2012 15:18:22 +0000 (17:18 +0200)
committerJean-Charles Malahieude <lilyfan@orange.fr>
Tue, 1 May 2012 15:18:22 +0000 (17:18 +0200)
 add Czech and Chinese as not being English, and reorder lines

scripts/auxiliar/texi-langutils.py

index 1fdaad7dcf6d51707d98549f719c2c40964ec995..a2da780f2619de34fdf3c99ffb5c1d1eefe7b185 100755 (executable)
@@ -178,14 +178,16 @@ if make_gettext:
         # Urgly: scan ly comments and variable names only in English doco
         is_english_doc = (
             True
+            and not 'Documentation/cs/' in texi_file
             and not 'Documentation/de/' in texi_file
             and not 'Documentation/es/' in texi_file
             and not 'Documentation/fr/' in texi_file
-            and not 'Documentation/ja/' in texi_file
             and not 'Documentation/hu/' in texi_file
+            and not 'Documentation/ja/' in texi_file
             and not 'Documentation/it/' in texi_file
             and not 'Documentation/nl/' in texi_file
             and not 'Documentation/po/' in texi_file
+            and not 'Documentation/zh/' in texi_file
             )
         process_texi (texi_file, intro_blurb, node_blurb, make_skeleton,
                       os.path.basename (texi_file), node_list,