mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Updated translatable strings
This commit is contained in:
parent
1f9007b9a9
commit
8d5cf40c08
@ -141,7 +141,7 @@ def add_pipeline_options(parser, plumber):
|
|||||||
'HEURISTIC PROCESSING' : (
|
'HEURISTIC PROCESSING' : (
|
||||||
_('Modify the document text and structure using common'
|
_('Modify the document text and structure using common'
|
||||||
' patterns. Disabled by default. Use %s to enable. '
|
' patterns. Disabled by default. Use %s to enable. '
|
||||||
' Individual actions can be diable with the %s options.')
|
' Individual actions can be disabled with the %s options.')
|
||||||
% ('--enable-heuristics', '--disable-*'),
|
% ('--enable-heuristics', '--disable-*'),
|
||||||
['enable_heuristics'] + HEURISTIC_OPTIONS
|
['enable_heuristics'] + HEURISTIC_OPTIONS
|
||||||
),
|
),
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -75,7 +75,7 @@ class FormatterFunction(object):
|
|||||||
exc_type, exc_value, exc_traceback = sys.exc_info()
|
exc_type, exc_value, exc_traceback = sys.exc_info()
|
||||||
info = ': '.join(traceback.format_exception(exc_type, exc_value,
|
info = ': '.join(traceback.format_exception(exc_type, exc_value,
|
||||||
exc_traceback)[-2:]).replace('\n', '')
|
exc_traceback)[-2:]).replace('\n', '')
|
||||||
return _('Exception ' + info)
|
return _('Exception ') + info
|
||||||
|
|
||||||
all_builtin_functions = []
|
all_builtin_functions = []
|
||||||
class BuiltinFormatterFunction(FormatterFunction):
|
class BuiltinFormatterFunction(FormatterFunction):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user