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