From b67e54744a76d0ebfaeee5dce0b823ea6cfa7ab6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 16 Jul 2025 14:45:17 +0530 Subject: [PATCH] string changes --- src/calibre/gui2/device_drivers/mtp_config.py | 2 +- src/calibre/srv/manage_users_cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/device_drivers/mtp_config.py b/src/calibre/gui2/device_drivers/mtp_config.py index 0166b8d2be..d0ecbd2de8 100644 --- a/src/calibre/gui2/device_drivers/mtp_config.py +++ b/src/calibre/gui2/device_drivers/mtp_config.py @@ -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) diff --git a/src/calibre/srv/manage_users_cli.py b/src/calibre/srv/manage_users_cli.py index c8464f560a..f3d233166c 100644 --- a/src/calibre/srv/manage_users_cli.py +++ b/src/calibre/srv/manage_users_cli.py @@ -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})