This commit is contained in:
Kovid Goyal 2016-12-03 17:29:37 +05:30
parent 96947fd01a
commit dd62bd3e7e

View File

@ -441,17 +441,18 @@ def create_global_prefs(conf_obj=None):
help=_(u'Characters typed in the search box will match their ' help=_(u'Characters typed in the search box will match their '
'accented versions, based on the language you have chosen ' 'accented versions, based on the language you have chosen '
'for the calibre interface. For example, in ' 'for the calibre interface. For example, in '
u' English, searching for n will match %s and n, but if ' u'English, searching for n will match both ñ and n, but if '
'your language is Spanish it will only match n. Note that ' 'your language is Spanish it will only match n. Note that '
'this is much slower than a simple search on very large ' 'this is much slower than a simple search on very large '
'libraries. Note that this option will have no effect if you turn ' 'libraries. Also, this option will have no effect if you turn '
'on case-sensitive searching')%u'\xf1') 'on case-sensitive searching'))
c.add_opt('case_sensitive', default=False, help=_( c.add_opt('case_sensitive', default=False, help=_(
'Make searches case-sensitive')) 'Make searches case-sensitive'))
c.add_opt('migrated', default=False, help='For Internal use. Don\'t modify.') c.add_opt('migrated', default=False, help='For Internal use. Don\'t modify.')
return c return c
prefs = ConfigProxy(create_global_prefs()) prefs = ConfigProxy(create_global_prefs())
if prefs['installation_uuid'] is None: if prefs['installation_uuid'] is None:
import uuid import uuid