_('You are using a non-deterministic wallet, which cannot create new addresses.'),
_('If you want to create new addresses, use a deterministic wallet instead.')
_('No more addresses in your wallet.'),'',
_('You are using a non-deterministic wallet, which cannot create new addresses.'),'',
_('If you want to create new addresses, use a deterministic wallet instead.'),'\n\n',
_('Creating a new payment request will reuse one of your addresses and overwrite an existing request. Continue anyway?'),
]
self.show_message(''.join(msg))
ifnotself.question(''.join(msg)):
return
addr=self.wallet.get_receiving_address()
else:# deterministic wallet
ifnotself.question(_("Warning: The next address will not be recovered automatically if you restore your wallet from seed; you may need to add it manually.\n\nThis occurs because you have too many unused addresses in your wallet. To avoid this situation, use the existing addresses first.\n\nCreate anyway?")):