mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
string changes
This commit is contained in:
parent
a0695c24b4
commit
b67e54744a
@ -371,7 +371,7 @@ class APNX(QWidget): # {{{
|
||||
self.method = f2 = QComboBox(self)
|
||||
f2.addItem(_('fast'), 'fast')
|
||||
f2.addItem(_('accurate'), 'accurate')
|
||||
f2.addItem(_('pagebreak'), 'pagebreak')
|
||||
f2.addItem(_('page break'), 'pagebreak')
|
||||
if (idx := f2.findData(apnx.get('method') or 'fast')) > -1:
|
||||
f2.setCurrentIndex(idx)
|
||||
l.addWidget(f2)
|
||||
|
@ -402,7 +402,7 @@ def manage_users_cli(path=None, args=()):
|
||||
names = list(filter(None, [x.strip() for x in names.split(',')]))
|
||||
w = 'allowed_library_names' if c == 1 else 'blocked_library_names'
|
||||
t = _('Allowing access only to libraries: {}') if c == 1 else _(
|
||||
'Allowing access to all libraries, except Exception: {}')
|
||||
'Allowing access to all libraries, except: {}')
|
||||
prints(t.format(', '.join(names)))
|
||||
m.update_user_restrictions(username, {w: names})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user