This commit is contained in:
Kovid Goyal 2023-10-18 06:49:33 +05:30
parent d62dab1e2e
commit 6eb593f663
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 6 additions and 2 deletions

View File

@ -23,6 +23,10 @@ class PluginWidget(Widget, Ui_Form):
for x in get_option('txt_output_formatting').option.choices:
self.opt_txt_output_formatting.addItem(x)
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):
Widget.break_cycles(self)

View File

@ -130,9 +130,9 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="image_note_label">
<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 name="wordWrap">
<bool>true</bool>