From 9a5062bde59afcc5d39565631022c001cb1e823c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 11 Nov 2007 17:58:17 +0000 Subject: [PATCH] Fix bug in convert dialog that would only show up under translation. --- src/libprs500/gui2/dialogs/lrf_single.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libprs500/gui2/dialogs/lrf_single.py b/src/libprs500/gui2/dialogs/lrf_single.py index e857e864cc..2d50318cc2 100644 --- a/src/libprs500/gui2/dialogs/lrf_single.py +++ b/src/libprs500/gui2/dialogs/lrf_single.py @@ -245,10 +245,10 @@ class LRFSingleDialog(QDialog, Ui_LRFSingleDialog): def show_category_help(self, item): text = qstring_to_unicode(item.text()) help = { - u'Metadata' : 'Specify metadata such as title and author for the book.

Metadata will be updated in the database as well as the generated LRF file.', - u'Look & Feel' : 'Adjust the look of the generated LRF file by specifying things like font sizes and the spacing between words.', - u'Page Setup' : 'Specify the page settings like margins and the screen size of the target device.', - u'Chapter Detection' : 'Fine tune the detection of chapter and section headings.', + _('Metadata') : _('Specify metadata such as title and author for the book.

Metadata will be updated in the database as well as the generated LRF file.'), + _('Look & Feel') : _('Adjust the look of the generated LRF file by specifying things like font sizes and the spacing between words.'), + _('Page Setup') : _('Specify the page settings like margins and the screen size of the target device.'), + _('Chapter Detection') : _('Fine tune the detection of chapter and section headings.'), } self.set_help(help[text])