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

@@ -15,7 +15,7 @@ class DevicePlugin(Plugin):
Defines the interface that should be implemented by backends that
communicate with an e-book reader.
"""
type = _('Device interface')
type = 'Device interface'
#: Ordered list of supported formats
FORMATS = ["lrf", "rtf", "pdf", "txt"]
@@ -60,7 +60,7 @@ class DevicePlugin(Plugin):
# Set this to None if the books on the device are files that the GUI can
# access in order to add the books from the device to the library
BACKLOADING_ERROR_MESSAGE = _('Cannot get files from this device')
BACKLOADING_ERROR_MESSAGE = 'Cannot get files from this device'
#: Path separator for paths to books on device
path_sep = os.sep