Removed gettext related functions

This commit is contained in:
gryf committed 2020-05-03 19:04:07 +02:00
1 parent 35445cb736
commit 212cb56d42
92 files changed
+1505 -1605

No files matched your search

+2 -2
View File
@@ -276,9 +276,9 @@ class Extract(ODF2XHTML):
stream.seek(0)
mi = get_metadata(stream, 'odt')
if not mi.title:
mi.title = _('Unknown')
mi.title = 'Unknown'
if not mi.authors:
mi.authors = [_('Unknown')]
mi.authors = ['Unknown']
self.filter_load(stream, mi, log)
# NOTE(gryf): Here is a workaround for ODF2XHTML.xhtml() method,