Changed strings referencing a set to say sets/cards.
This commit is contained in:
parent
b5363f47ab
commit
9d3c4f20a1
2 changed files with 6 additions and 6 deletions
|
@ -10,12 +10,12 @@ DlgAddSet::DlgAddSet(QWidget *parent, bool success) : QDialog(parent) {
|
||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
setWindowTitle(tr("Success"));
|
setWindowTitle(tr("Success"));
|
||||||
status->setText(QString("Set added to Cockatrice."));
|
status->setText(QString("Sets/cards added to Cockatrice."));
|
||||||
restart->setText(QString("You must restart Cockatrice to use the new set."));
|
restart->setText(QString("You must restart Cockatrice to use the new sets/cards."));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
setWindowTitle(tr("Failed"));
|
setWindowTitle(tr("Failed"));
|
||||||
status->setText(QString("Set failed to import."));
|
status->setText(QString("Sets/cards failed to import."));
|
||||||
}
|
}
|
||||||
|
|
||||||
QDialogButtonBox *buttonBox = new QDialogButtonBox(this);
|
QDialogButtonBox *buttonBox = new QDialogButtonBox(this);
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
#include "filterbuilder.h"
|
#include "filterbuilder.h"
|
||||||
|
|
||||||
const QStringList TabDeckEditor::fileNameFilters = QStringList()
|
const QStringList TabDeckEditor::fileNameFilters = QStringList()
|
||||||
<< QObject::tr("Cockatrice set format (*.xml)")
|
<< QObject::tr("Cockatrice card database (*.xml)")
|
||||||
<< QObject::tr("All files (*.*)");
|
<< QObject::tr("All files (*.*)");
|
||||||
|
|
||||||
void SearchLineEdit::keyPressEvent(QKeyEvent *event)
|
void SearchLineEdit::keyPressEvent(QKeyEvent *event)
|
||||||
|
@ -594,7 +594,7 @@ void TabDeckEditor::retranslateUi()
|
||||||
aAnalyzeDeck->setText(tr("&Analyze deck on deckstats.net"));
|
aAnalyzeDeck->setText(tr("&Analyze deck on deckstats.net"));
|
||||||
aOpenCustomFolder->setText(tr("Open custom image folder"));
|
aOpenCustomFolder->setText(tr("Open custom image folder"));
|
||||||
aOpenCustomsetsFolder->setText(tr("Open custom sets 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"));
|
aClose->setText(tr("&Close"));
|
||||||
|
|
||||||
aAddCard->setText(tr("Add card to &maindeck"));
|
aAddCard->setText(tr("Add card to &maindeck"));
|
||||||
|
@ -885,7 +885,7 @@ void TabDeckEditor::actAddCustomSet()
|
||||||
if (!confirmClose())
|
if (!confirmClose())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
QFileDialog dialog(this, tr("Load set"));
|
QFileDialog dialog(this, tr("Load sets/cards"));
|
||||||
dialog.setDirectory(dataDir);
|
dialog.setDirectory(dataDir);
|
||||||
dialog.setNameFilters(TabDeckEditor::fileNameFilters);
|
dialog.setNameFilters(TabDeckEditor::fileNameFilters);
|
||||||
if (!dialog.exec())
|
if (!dialog.exec())
|
||||||
|
|
Loading…
Reference in a new issue