Changed strings referencing a set to say sets/cards.

This commit is contained in:
Ira Aspen 2016-02-07 01:41:35 +00:00
parent b5363f47ab
commit 9d3c4f20a1
2 changed files with 6 additions and 6 deletions

View file

@ -10,12 +10,12 @@ DlgAddSet::DlgAddSet(QWidget *parent, bool success) : QDialog(parent) {
if (success) {
setWindowTitle(tr("Success"));
status->setText(QString("Set added to Cockatrice."));
restart->setText(QString("You must restart Cockatrice to use the new set."));
status->setText(QString("Sets/cards added to Cockatrice."));
restart->setText(QString("You must restart Cockatrice to use the new sets/cards."));
}
else {
setWindowTitle(tr("Failed"));
status->setText(QString("Set failed to import."));
status->setText(QString("Sets/cards failed to import."));
}
QDialogButtonBox *buttonBox = new QDialogButtonBox(this);

View file

@ -47,7 +47,7 @@
#include "filterbuilder.h"
const QStringList TabDeckEditor::fileNameFilters = QStringList()
<< QObject::tr("Cockatrice set format (*.xml)")
<< QObject::tr("Cockatrice card database (*.xml)")
<< QObject::tr("All files (*.*)");
void SearchLineEdit::keyPressEvent(QKeyEvent *event)
@ -594,7 +594,7 @@ void TabDeckEditor::retranslateUi()
aAnalyzeDeck->setText(tr("&Analyze deck on deckstats.net"));
aOpenCustomFolder->setText(tr("Open custom image folder"));
aOpenCustomsetsFolder->setText(tr("Open custom sets folder"));
aAddCustomSet->setText(tr("Add custom set"));
aAddCustomSet->setText(tr("Add custom sets/cards"));
aClose->setText(tr("&Close"));
aAddCard->setText(tr("Add card to &maindeck"));
@ -885,7 +885,7 @@ void TabDeckEditor::actAddCustomSet()
if (!confirmClose())
return;
QFileDialog dialog(this, tr("Load set"));
QFileDialog dialog(this, tr("Load sets/cards"));
dialog.setDirectory(dataDir);
dialog.setNameFilters(TabDeckEditor::fileNameFilters);
if (!dialog.exec())