string changes

This commit is contained in:
Kovid Goyal 2025-07-16 14:45:17 +05:30
parent a0695c24b4
commit b67e54744a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -402,7 +402,7 @@ def manage_users_cli(path=None, args=()):
names = list(filter(None, [x.strip() for x in names.split(',')])) names = list(filter(None, [x.strip() for x in names.split(',')]))
w = 'allowed_library_names' if c == 1 else 'blocked_library_names' w = 'allowed_library_names' if c == 1 else 'blocked_library_names'
t = _('Allowing access only to libraries: {}') if c == 1 else _( 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))) prints(t.format(', '.join(names)))
m.update_user_restrictions(username, {w: names}) m.update_user_restrictions(username, {w: names})