mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
String changes
This commit is contained in:
parent
bee1650017
commit
cc073015f5
@ -17,7 +17,7 @@ orientation_model = None
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('PDF Output')
|
||||
TITLE = _('PDF output')
|
||||
HELP = _('Options specific to')+' PDF '+_('output')
|
||||
COMMIT_NAME = 'pdf_output'
|
||||
ICON = I('mimetypes/pdf.png')
|
||||
|
@ -24,7 +24,7 @@
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>&Paper Size:</string>
|
||||
<string>&Paper size:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>opt_paper_size</cstring>
|
||||
|
@ -12,7 +12,7 @@ format_model = None
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('PMLZ Output')
|
||||
TITLE = _('PMLZ output')
|
||||
HELP = _('Options specific to')+' PMLZ '+_('output')
|
||||
COMMIT_NAME = 'pmlz_output'
|
||||
ICON = I('mimetypes/unknown.png')
|
||||
|
@ -46,7 +46,7 @@
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
<string>Output Encoding:</string>
|
||||
<string>Output encoding:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -108,9 +108,9 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
|
||||
|
||||
def sr_load_clicked(self):
|
||||
files = choose_files(self, 'sr_saved_patterns',
|
||||
_('Load calibre Search-Replace definitions file'),
|
||||
_('Load calibre search-replace definitions file'),
|
||||
filters=[
|
||||
(_('calibre Search-Replace definitions file'), ['csr'])
|
||||
(_('calibre search-replace definitions file'), ['csr'])
|
||||
], select_only_single_file=True)
|
||||
if files:
|
||||
from calibre.ebooks.conversion.cli import read_sr_patterns
|
||||
@ -120,7 +120,7 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
|
||||
self.search_replace.setCurrentCell(0, 0)
|
||||
except Exception as e:
|
||||
error_dialog(self, _('Failed to read'),
|
||||
_('Failed to load patterns from %s, click Show details'
|
||||
_('Failed to load patterns from %s, click "Show details"'
|
||||
' to learn more.')%files[0], det_msg=as_unicode(e),
|
||||
show=True)
|
||||
|
||||
@ -200,7 +200,7 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
|
||||
found = True
|
||||
break
|
||||
if not found and not question_dialog(self,
|
||||
_('Unused Search & Replace definition'),
|
||||
_('Unused search & replace definition'),
|
||||
_('The search/replace definition being edited '
|
||||
' has not been added to the list of definitions. '
|
||||
'Do you wish to continue with the conversion '
|
||||
|
@ -12,7 +12,7 @@ newline_model = None
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('SNB Output')
|
||||
TITLE = _('SNB output')
|
||||
HELP = _('Options specific to')+' SNB '+_('output')
|
||||
COMMIT_NAME = 'snb_output'
|
||||
ICON = I('mimetypes/snb.png')
|
||||
@ -23,5 +23,3 @@ class PluginWidget(Widget, Ui_Form):
|
||||
'snb_hide_chapter_name','snb_full_screen'])
|
||||
self.db, self.book_id = db, book_id
|
||||
self.initialize_options(get_option, get_help, db, book_id)
|
||||
|
||||
|
||||
|
@ -11,7 +11,7 @@ from calibre.gui2.convert import Widget
|
||||
|
||||
class PluginWidget(Widget, Ui_Form):
|
||||
|
||||
TITLE = _('TXT Output')
|
||||
TITLE = _('TXT output')
|
||||
HELP = _('Options specific to')+' TXT '+_('output')
|
||||
COMMIT_NAME = 'txt_output'
|
||||
ICON = I('mimetypes/txt.png')
|
||||
|
@ -23,7 +23,7 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="text">
|
||||
<string>Output &Encoding:</string>
|
||||
<string>Output &encoding:</string>
|
||||
</property>
|
||||
<property name="buddy">
|
||||
<cstring>opt_txt_output_encoding</cstring>
|
||||
|
@ -10,6 +10,6 @@ from calibre.gui2.convert.txt_output import PluginWidget as TXTPluginWidget
|
||||
|
||||
class PluginWidget(TXTPluginWidget):
|
||||
|
||||
TITLE = _('TXTZ Output')
|
||||
TITLE = _('TXTZ output')
|
||||
HELP = _('Options specific to')+' TXTZ '+_('output')
|
||||
COMMIT_NAME = 'txtz_output'
|
||||
|
@ -171,7 +171,7 @@ class CoverSettingsWidget(QWidget):
|
||||
self.style_map = OrderedDict()
|
||||
|
||||
self.font_page = fp = QWidget(st)
|
||||
st.addTab(fp, _('&Fonts and Sizes'))
|
||||
st.addTab(fp, _('&Fonts and sizes'))
|
||||
fp.l = l = QFormLayout()
|
||||
fp.setLayout(l)
|
||||
fp.f = []
|
||||
@ -555,6 +555,7 @@ class CoverSettingsDialog(QDialog):
|
||||
self._save_settings()
|
||||
QDialog.reject(self)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
from calibre.gui2 import Application
|
||||
app = Application([])
|
||||
|
Loading…
x
Reference in New Issue
Block a user