mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2039587 [A minor correction](https://bugs.launchpad.net/calibre/+bug/2039587)
This commit is contained in:
parent
d62dab1e2e
commit
6eb593f663
@ -23,6 +23,10 @@ class PluginWidget(Widget, Ui_Form):
|
|||||||
for x in get_option('txt_output_formatting').option.choices:
|
for x in get_option('txt_output_formatting').option.choices:
|
||||||
self.opt_txt_output_formatting.addItem(x)
|
self.opt_txt_output_formatting.addItem(x)
|
||||||
self.initialize_options(get_option, get_help, db, book_id)
|
self.initialize_options(get_option, get_help, db, book_id)
|
||||||
|
if self.COMMIT_NAME != 'txt_output':
|
||||||
|
self.image_note_label.setText(_(
|
||||||
|
'Note that for images to be preserved, the formatting option above must be markdown or textile'
|
||||||
|
' and also enable the setting to not remove image references.'))
|
||||||
|
|
||||||
def break_cycles(self):
|
def break_cycles(self):
|
||||||
Widget.break_cycles(self)
|
Widget.break_cycles(self)
|
||||||
|
@ -130,9 +130,9 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="image_note_label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Note that images will not be preserved. For that, convert to TXTZ instead.</string>
|
<string>Note that images will not be preserved. For that, convert to TXTZ, with output format Markdown.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user