X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/fe5571163c78005e5adeb08ffa1c70124419ee3a..ddafd845294be268d80888842089f7f7a6ca86aa:/fixup-docbook-translated.rb diff --git a/fixup-docbook-translated.rb b/fixup-docbook-translated.rb index 2d084a9..d933346 100644 --- a/fixup-docbook-translated.rb +++ b/fixup-docbook-translated.rb @@ -50,6 +50,8 @@ end if legal = File.open('extra/%s/legal_info.xml' % lang, 'r').read rescue nil log 0, 'Replace legal info by the information assembled by our publisher' xml.search('colophon').first.inner_html = legal +else + log 0, ' -!- Not including the %s legal_info text' % lang end # Doing this the dirty, non-DocBooky way: I'm adding a large ' % colophon) +else + log 0, ' -!- Not including the %s colophon text' % lang end