mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 07:23:43 +02:00
String changes
This commit is contained in:
parent
a1d1b216f9
commit
912cd9813b
2 changed files with 3 additions and 3 deletions
|
|
@ -639,7 +639,7 @@ def fi(default_value=None):
|
|||
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…
Reference in a new issue