mirror of
https://github.com/gryf/ebook-converter.git
synced 2025-12-18 13:10:17 +01:00
Remove leftovers from gettext translations
This commit is contained in:
@@ -149,14 +149,19 @@ class LRFDocument(LRFMetaFile):
|
||||
objects += '</Objects>\n'
|
||||
if write_files:
|
||||
self.write_files()
|
||||
return '<BBeBXylog version="1.0">\n' + bookinfo + pages + styles + objects + '</BBeBXylog>'
|
||||
return ('<BBeBXylog version="1.0">\n' + bookinfo + pages + styles +
|
||||
objects + '</BBeBXylog>')
|
||||
|
||||
|
||||
def option_parser():
|
||||
parser = OptionParser(usage=_('%prog book.lrf\nConvert an LRF file into an LRS (XML UTF-8 encoded) file'))
|
||||
parser.add_option('--output', '-o', default=None, help=_('Output LRS file'), dest='out')
|
||||
parser.add_option('--dont-output-resources', default=True, action='store_false',
|
||||
help=_('Do not save embedded image and font files to disk'),
|
||||
dest='output_resources')
|
||||
parser.add_option('--verbose', default=False, action='store_true', dest='verbose', help=_('Be more verbose'))
|
||||
parser = OptionParser(usage='%prog book.lrf\nConvert an LRF file into '
|
||||
'an LRS (XML UTF-8 encoded) file')
|
||||
parser.add_option('--output', '-o', default=None,
|
||||
help='Output LRS file', dest='out')
|
||||
parser.add_option('--dont-output-resources', default=True,
|
||||
action='store_false',
|
||||
help='Do not save embedded image and font files to '
|
||||
'disk', dest='output_resources')
|
||||
parser.add_option('--verbose', default=False, action='store_true',
|
||||
dest='verbose', help='Be more verbose')
|
||||
return parser
|
||||
|
||||
@@ -669,7 +669,7 @@ Show/edit the metadata in an LRF file.\n\n'''),
|
||||
# LRF is first created. Since this will change as the book is reflowed, it
|
||||
# is probably not worth using.
|
||||
# parser.add_option("-p", "--page", action="store", type="string", \
|
||||
# dest="page", help=_("Don't know what this is for"))
|
||||
# dest="page", help="Don't know what this is for")
|
||||
|
||||
return parser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user