mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2025-01-03 15:47:52 +03:00
Better language in no space left-message.
This commit is contained in:
parent
98b26459e8
commit
e2e87581cf
@ -166,8 +166,8 @@ def put(ctx, key, destination, name, oath_type, digits, imf, touch):
|
||||
controller.add_cred(dev, name, key, oath_type, digits=digits,
|
||||
imf=imf, require_touch=touch)
|
||||
except NoSpaceError:
|
||||
ctx.fail('There is no space available on your device. Maybe you '
|
||||
'can delete som entries?')
|
||||
ctx.fail('There is not enough space to add another credential on your device.'
|
||||
'To create free space to add a new credential, delete those you no longer need.')
|
||||
else:
|
||||
controller.add_cred_legacy(destination, key, touch)
|
||||
|
||||
|
@ -127,7 +127,7 @@ ccid_disabled = '<b>CCID (smart card capabilities) is disabled on the ' \
|
||||
'able to store 2 credentials.<br><br>' \
|
||||
'<a href="%s">Learn how to enable CCID</a><br>'
|
||||
no_space="No space available"
|
||||
no_space_desc="There is no space available on your device. Maybe you can delete som entries?"
|
||||
no_space_desc="There is not enough space to add another credential on your device.\n\nTo create free space to add a new credential, delete those you no longer need."
|
||||
|
||||
def _translate(qt):
|
||||
values = globals()
|
||||
|
Loading…
Reference in New Issue
Block a user