end
end
-log 0, 'Including the %s version introduction' % lang
if intro = File.open('extra/%s/intro_%s.xml' % [lang, lang],
'r').read rescue nil
+ log 0, 'Including the %s version introduction' % lang
xml.search('preface').last.after( intro )
else
- log 0, ' -!- Introduction text not found or empty'
+ log 0, ' -!- Not including the %s introduction text'
end
if 'es' == lang