mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-18 12:03:33 +02:00
Removed gettext related functions
This commit is contained in:
@@ -12,13 +12,6 @@ import sys
|
||||
|
||||
from ebook_converter import constants
|
||||
|
||||
# Default translation is NOOP
|
||||
builtins.__dict__['_'] = lambda s: s
|
||||
|
||||
# For strings which belong in the translation tables, but which shouldn't be
|
||||
# immediately translated to the environment language
|
||||
builtins.__dict__['__'] = lambda s: s
|
||||
|
||||
# For backwards compat with some third party plugins
|
||||
builtins.__dict__['dynamic_property'] = lambda func: func(None)
|
||||
|
||||
@@ -93,12 +86,6 @@ if not _run_once:
|
||||
import ebook_converter.utils.resources as resources
|
||||
resources
|
||||
|
||||
#
|
||||
# Setup translations
|
||||
from ebook_converter.utils.localization import set_translators
|
||||
|
||||
set_translators()
|
||||
|
||||
#
|
||||
# Initialize locale
|
||||
# Import string as we do not want locale specific
|
||||
|
||||
Reference in New Issue
Block a user