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
a1d1b216f9
commit
912cd9813b
@ -639,7 +639,7 @@ class Parser(SearchQueryParser): # {{{
|
||||
if DEBUG:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
raise ParseException(_('search template: missing or invalid separator. Valid separtors are: {}').format('#@#:[tdnb]:'))
|
||||
raise ParseException(_('search template: missing or invalid separator. Valid separators are: {}').format('#@#:[tdnb]:'))
|
||||
matchkind, query = _matchkind(query, case_sensitive=case_sensitive)
|
||||
matches = set()
|
||||
error_string = '*@*TEMPLATE_ERROR*@*'
|
||||
|
@ -249,7 +249,7 @@ def create_template_tab(self):
|
||||
_("You can use the search test specifications described "
|
||||
"in the calibre documentation. For example, with Number "
|
||||
"comparisons you can the relational operators like '>=' etc. "
|
||||
"With Text comparisons you can use exact, comtains "
|
||||
"With Text comparisons you can use exact, contains "
|
||||
"or regular expression matches. With Date you can use "
|
||||
"today, yesterday, etc. Set/not set takes 'true' for set "
|
||||
"and 'false' for not set.")
|
||||
@ -262,7 +262,7 @@ def create_template_tab(self):
|
||||
('t', _('Text')),
|
||||
('d', _('Date')),
|
||||
('n', _('Number')),
|
||||
('b', _('Set/Not Set'))]:
|
||||
('b', _('Set/Not set'))]:
|
||||
le.addItem(desc, op)
|
||||
le.setToolTip(_('How the template result will be compared to the value'))
|
||||
l.addRow(_('C&omparison type:'), le)
|
||||
|
Loading…
x
Reference in New Issue
Block a user