g.write (end_blurb)
g.close ()
- elif output_file:
- m = re.search ('Documentation/(..)/', texifilename)
- if m:
- lang = m.group (1)
- print 'FIXME: extracting node names from:', texifilename
- print 'please explain why extract translated (LANG=%(lang)s) node names into node_list' % locals ()
- print 'and thus into Documentation/*.po for translation?'
+ elif output_file and scan_ly:
toto = texinfo_re.findall (texifile)
for item in toto:
if item[0] == 'include':
# 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,