1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-06 17:35:48 +01: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

@@ -9,7 +9,7 @@ def html2text(html):
r'<\s*(?P<solidus>/?)\s*[uU]\b(?P<rest>[^>]*)>',
r'<\g<solidus>span\g<rest>>', html)
h2t = HTML2Text()
h2t.default_image_alt = _('Unnamed image')
h2t.default_image_alt = 'Unnamed image'
h2t.body_width = 0
h2t.single_line_break = True
h2t.emphasis_mark = '*'