1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-30 00:33:32 +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

@@ -35,10 +35,9 @@ class SplitError(ValueError):
def __init__(self, path, root):
size = len(tostring(root))/1024.
ValueError.__init__(self,
_('Could not find reasonable point at which to split: '
'%(path)s Sub-tree size: %(size)d KB')%dict(
path=path, size=size))
ValueError.__init__(self, 'Could not find reasonable point at which '
'to split: %(path)s Sub-tree size: %(size)d KB' %
{'path': path, 'size': size})
class Split(object):