1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-19 20:53:35 +02:00

Removed gettext related functions

This commit is contained in:
2020-05-03 19:00:20 +02:00
parent 35445cb736
commit 212cb56d42
92 changed files with 1505 additions and 1605 deletions

View File

@@ -122,10 +122,10 @@ def get_metadata(stream, cover=True):
with open(covpath, 'rb') as f:
cdata = f.read()
title = info.get('Title', None) or _('Unknown')
title = info.get('Title', None) or 'Unknown'
au = info.get('Author', None)
if au is None:
au = [_('Unknown')]
au = ['Unknown']
else:
au = string_to_authors(au)
mi = MetaInformation(title, au)