Merge pull request #1090 from tooomm/patch-1

expanded wording of name conflicts for tokens /2
This commit is contained in:
Zach 2015-05-21 09:47:00 -04:00
commit d71c0b277f

View file

@ -136,7 +136,7 @@ void DlgEditTokens::actAddToken()
do {
name = QInputDialog::getText(this, tr("Add token"), tr("Please enter the name of the token:"));
if (!name.isEmpty() && cardDatabaseModel->getDatabase()->getCard(name, false)) {
QMessageBox::critical(this, tr("Error"), tr("The chosen name conflicts with an existing card or token.\n Make sure to enable the 'token set' in 'Edit sets...' dialog to display them correctly."));
QMessageBox::critical(this, tr("Error"), tr("The chosen name conflicts with an existing card or token.\nMake sure to enable the 'token set' in the 'Edit sets...' dialog to display them correctly."));
askAgain = true;
} else
askAgain = false;