From 139103cec43480c2c29c5fc27db6ea0457cb7d9d Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 26 Apr 2021 06:34:04 +0200 Subject: [PATCH] Make fixup-docbook-translated.rb a bit more verbose about what it is ignoring. --- fixup-docbook-translated.rb | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2