Added option to customize the card back picture
This commit is contained in:
parent
5ee6bdd338
commit
11e1202dcc
8 changed files with 146 additions and 130 deletions
|
@ -124,21 +124,22 @@ QPixmap *CardInfo::loadPixmap()
|
|||
return pixmap;
|
||||
|
||||
if (getName().isEmpty()) {
|
||||
pixmap->load(QString("%1/back.jpg").arg(picsPath));
|
||||
pixmap->load(settingsCache->getCardBackPicturePath());
|
||||
return pixmap;
|
||||
}
|
||||
sets.sortByKey();
|
||||
SetList sortedSets = sets;
|
||||
sortedSets.sortByKey();
|
||||
|
||||
QString debugOutput = QString("CardDatabase: loading pixmap for '%1' from ").arg(getName());
|
||||
for (int i = 0; i < sets.size(); i++)
|
||||
debugOutput.append(QString("%1, ").arg(sets[i]->getShortName()));
|
||||
for (int i = 0; i < sortedSets.size(); i++)
|
||||
debugOutput.append(QString("%1, ").arg(sortedSets[i]->getShortName()));
|
||||
qDebug(debugOutput.toLatin1());
|
||||
|
||||
QString correctedName = getCorrectedName();
|
||||
for (int i = 0; i < sets.size(); i++) {
|
||||
if (pixmap->load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg(sets[i]->getShortName()).arg(correctedName)))
|
||||
for (int i = 0; i < sortedSets.size(); i++) {
|
||||
if (pixmap->load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg(sortedSets[i]->getShortName()).arg(correctedName)))
|
||||
return pixmap;
|
||||
if (pixmap->load(QString("%1/%2/%3%4.full.jpg").arg(picsPath).arg(sets[i]->getShortName()).arg(correctedName).arg(1)))
|
||||
if (pixmap->load(QString("%1/%2/%3%4.full.jpg").arg(picsPath).arg(sortedSets[i]->getShortName()).arg(correctedName).arg(1)))
|
||||
return pixmap;
|
||||
}
|
||||
if (pixmap->load(QString("%1/%2/%3.full.jpg").arg(picsPath).arg("downloadedPics").arg(correctedName)))
|
||||
|
@ -245,6 +246,7 @@ CardDatabase::CardDatabase(QObject *parent)
|
|||
|
||||
noCard = new CardInfo(this);
|
||||
noCard->loadPixmap(); // cache pixmap for card back
|
||||
connect(settingsCache, SIGNAL(cardBackPicturePathChanged()), noCard, SLOT(updatePixmapCache()));
|
||||
}
|
||||
|
||||
CardDatabase::~CardDatabase()
|
||||
|
|
|
@ -85,6 +85,7 @@ public:
|
|||
QPixmap *getPixmap(QSize size);
|
||||
void clearPixmapCache();
|
||||
void clearPixmapCacheMiss();
|
||||
public slots:
|
||||
void updatePixmapCache();
|
||||
signals:
|
||||
void pixmapUpdated();
|
||||
|
|
|
@ -67,14 +67,6 @@ GeneralSettingsPage::GeneralSettingsPage()
|
|||
QPushButton *cardDatabasePathButton = new QPushButton("...");
|
||||
connect(cardDatabasePathButton, SIGNAL(clicked()), this, SLOT(cardDatabasePathButtonClicked()));
|
||||
|
||||
/*
|
||||
cardBackgroundPathLabel = new QLabel;
|
||||
cardBackgroundPathEdit = new QLineEdit(settings.value("cardbackground").toString());
|
||||
cardBackgroundPathEdit->setReadOnly(true);
|
||||
QPushButton *cardBackgroundPathButton = new QPushButton("...");
|
||||
connect(cardBackgroundPathButton, SIGNAL(clicked()), this, SLOT(cardBackgroundPathButtonClicked()));
|
||||
*/
|
||||
|
||||
QGridLayout *pathsGrid = new QGridLayout;
|
||||
pathsGrid->addWidget(deckPathLabel, 0, 0);
|
||||
pathsGrid->addWidget(deckPathEdit, 0, 1);
|
||||
|
@ -85,11 +77,6 @@ GeneralSettingsPage::GeneralSettingsPage()
|
|||
pathsGrid->addWidget(cardDatabasePathLabel, 2, 0);
|
||||
pathsGrid->addWidget(cardDatabasePathEdit, 2, 1);
|
||||
pathsGrid->addWidget(cardDatabasePathButton, 2, 2);
|
||||
/*
|
||||
pathsGrid->addWidget(cardBackgroundPathLabel, 3, 0);
|
||||
pathsGrid->addWidget(cardBackgroundPathEdit, 3, 1);
|
||||
pathsGrid->addWidget(cardBackgroundPathButton, 3, 2);
|
||||
*/
|
||||
pathsGroupBox = new QGroupBox;
|
||||
pathsGroupBox->setLayout(pathsGrid);
|
||||
|
||||
|
@ -146,19 +133,6 @@ void GeneralSettingsPage::cardDatabasePathButtonClicked()
|
|||
settingsCache->setCardDatabasePath(path);
|
||||
}
|
||||
|
||||
void GeneralSettingsPage::cardBackgroundPathButtonClicked()
|
||||
{
|
||||
QString path = QFileDialog::getOpenFileName(this, tr("Choose path"));
|
||||
if (path.isEmpty())
|
||||
return;
|
||||
QSettings settings;
|
||||
settings.beginGroup("paths");
|
||||
settings.setValue("cardbackground", path);
|
||||
cardBackgroundPathEdit->setText(path);
|
||||
|
||||
emit cardBackgroundPathChanged(path);
|
||||
}
|
||||
|
||||
void GeneralSettingsPage::languageBoxChanged(int index)
|
||||
{
|
||||
settingsCache->setLang(languageBox->itemData(index).toString());
|
||||
|
@ -173,7 +147,6 @@ void GeneralSettingsPage::retranslateUi()
|
|||
deckPathLabel->setText(tr("Decks directory:"));
|
||||
picsPathLabel->setText(tr("Pictures directory:"));
|
||||
cardDatabasePathLabel->setText(tr("Path to card database:"));
|
||||
//cardBackgroundPathLabel->setText(tr("Path to card background:"));
|
||||
}
|
||||
|
||||
AppearanceSettingsPage::AppearanceSettingsPage()
|
||||
|
@ -196,6 +169,12 @@ AppearanceSettingsPage::AppearanceSettingsPage()
|
|||
QPushButton *playerAreaBgButton = new QPushButton("...");
|
||||
connect(playerAreaBgButton, SIGNAL(clicked()), this, SLOT(playerAreaBgButtonClicked()));
|
||||
|
||||
cardBackPicturePathLabel = new QLabel;
|
||||
cardBackPicturePathEdit = new QLineEdit(settingsCache->getCardBackPicturePath());
|
||||
cardBackPicturePathEdit->setReadOnly(true);
|
||||
QPushButton *cardBackPicturePathButton = new QPushButton("...");
|
||||
connect(cardBackPicturePathButton, SIGNAL(clicked()), this, SLOT(cardBackPicturePathButtonClicked()));
|
||||
|
||||
QGridLayout *zoneBgGrid = new QGridLayout;
|
||||
zoneBgGrid->addWidget(handBgLabel, 0, 0);
|
||||
zoneBgGrid->addWidget(handBgEdit, 0, 1);
|
||||
|
@ -206,6 +185,9 @@ AppearanceSettingsPage::AppearanceSettingsPage()
|
|||
zoneBgGrid->addWidget(playerAreaBgLabel, 2, 0);
|
||||
zoneBgGrid->addWidget(playerAreaBgEdit, 2, 1);
|
||||
zoneBgGrid->addWidget(playerAreaBgButton, 2, 2);
|
||||
zoneBgGrid->addWidget(cardBackPicturePathLabel, 3, 0);
|
||||
zoneBgGrid->addWidget(cardBackPicturePathEdit, 3, 1);
|
||||
zoneBgGrid->addWidget(cardBackPicturePathButton, 3, 2);
|
||||
|
||||
zoneBgGroupBox = new QGroupBox;
|
||||
zoneBgGroupBox->setLayout(zoneBgGrid);
|
||||
|
@ -260,6 +242,7 @@ void AppearanceSettingsPage::retranslateUi()
|
|||
handBgLabel->setText(tr("Path to hand background:"));
|
||||
tableBgLabel->setText(tr("Path to table background:"));
|
||||
playerAreaBgLabel->setText(tr("Path to player info background:"));
|
||||
cardBackPicturePathLabel->setText(tr("Path to picture of card back:"));
|
||||
|
||||
handGroupBox->setTitle(tr("Hand layout"));
|
||||
horizontalHandCheckBox->setText(tr("Display hand horizontally (wastes space)"));
|
||||
|
@ -302,6 +285,16 @@ void AppearanceSettingsPage::playerAreaBgButtonClicked()
|
|||
settingsCache->setPlayerBgPath(path);
|
||||
}
|
||||
|
||||
void AppearanceSettingsPage::cardBackPicturePathButtonClicked()
|
||||
{
|
||||
QString path = QFileDialog::getOpenFileName(this, tr("Choose path"));
|
||||
if (path.isEmpty())
|
||||
return;
|
||||
|
||||
cardBackPicturePathEdit->setText(path);
|
||||
settingsCache->setCardBackPicturePath(path);
|
||||
}
|
||||
|
||||
UserInterfaceSettingsPage::UserInterfaceSettingsPage()
|
||||
{
|
||||
doubleClickToPlayCheckBox = new QCheckBox;
|
||||
|
@ -422,7 +415,6 @@ DlgSettings::DlgSettings(QWidget *parent)
|
|||
|
||||
QVBoxLayout *mainLayout = new QVBoxLayout;
|
||||
mainLayout->addLayout(hboxLayout);
|
||||
//mainLayout->addStretch(1);
|
||||
mainLayout->addSpacing(12);
|
||||
mainLayout->addLayout(buttonsLayout);
|
||||
setLayout(mainLayout);
|
||||
|
|
|
@ -29,22 +29,20 @@ private slots:
|
|||
void deckPathButtonClicked();
|
||||
void picsPathButtonClicked();
|
||||
void cardDatabasePathButtonClicked();
|
||||
void cardBackgroundPathButtonClicked();
|
||||
void languageBoxChanged(int index);
|
||||
signals:
|
||||
void picsPathChanged(const QString &path);
|
||||
void cardDatabasePathChanged(const QString &path);
|
||||
void cardBackgroundPathChanged(const QString &path);
|
||||
void changeLanguage(const QString &qmFile);
|
||||
void picDownloadChanged(int state);
|
||||
private:
|
||||
QStringList findQmFiles();
|
||||
QString languageName(const QString &qmFile);
|
||||
QLineEdit *deckPathEdit, *picsPathEdit, *cardDatabasePathEdit, *cardBackgroundPathEdit;
|
||||
QLineEdit *deckPathEdit, *picsPathEdit, *cardDatabasePathEdit;
|
||||
QGroupBox *personalGroupBox, *pathsGroupBox;
|
||||
QComboBox *languageBox;
|
||||
QCheckBox *picDownloadCheckBox;
|
||||
QLabel *languageLabel, *deckPathLabel, *picsPathLabel, *cardDatabasePathLabel, *cardBackgroundPathLabel;
|
||||
QLabel *languageLabel, *deckPathLabel, *picsPathLabel, *cardDatabasePathLabel;
|
||||
};
|
||||
|
||||
class AppearanceSettingsPage : public AbstractSettingsPage {
|
||||
|
@ -53,13 +51,15 @@ private slots:
|
|||
void handBgButtonClicked();
|
||||
void tableBgButtonClicked();
|
||||
void playerAreaBgButtonClicked();
|
||||
void cardBackPicturePathButtonClicked();
|
||||
signals:
|
||||
void handBgChanged(const QString &path);
|
||||
void tableBgChanged(const QString &path);
|
||||
void playerAreaBgChanged(const QString &path);
|
||||
void cardBackPicturePathChanged(const QString &path);
|
||||
private:
|
||||
QLabel *handBgLabel, *tableBgLabel, *playerAreaBgLabel;
|
||||
QLineEdit *handBgEdit, *tableBgEdit, *playerAreaBgEdit;
|
||||
QLabel *handBgLabel, *tableBgLabel, *playerAreaBgLabel, *cardBackPicturePathLabel;
|
||||
QLineEdit *handBgEdit, *tableBgEdit, *playerAreaBgEdit, *cardBackPicturePathEdit;
|
||||
QCheckBox *horizontalHandCheckBox, *economicGridCheckBox, *zoneViewSortByNameCheckBox, *zoneViewSortByTypeCheckBox;
|
||||
QGroupBox *zoneBgGroupBox, *handGroupBox, *tableGroupBox, *zoneViewGroupBox;
|
||||
public:
|
||||
|
|
|
@ -14,6 +14,7 @@ SettingsCache::SettingsCache()
|
|||
handBgPath = settings->value("zonebg/hand").toString();
|
||||
tableBgPath = settings->value("zonebg/table").toString();
|
||||
playerBgPath = settings->value("zonebg/playerarea").toString();
|
||||
cardBackPicturePath = settings->value("paths/cardbackpicture").toString();
|
||||
|
||||
picDownload = settings->value("personal/picturedownload", false).toBool();
|
||||
doubleClickToPlay = settings->value("interface/doubleclicktoplay", true).toBool();
|
||||
|
@ -72,6 +73,13 @@ void SettingsCache::setPlayerBgPath(const QString &_playerBgPath)
|
|||
emit playerBgPathChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setCardBackPicturePath(const QString &_cardBackPicturePath)
|
||||
{
|
||||
cardBackPicturePath = _cardBackPicturePath;
|
||||
settings->setValue("paths/cardbackpicture", cardBackPicturePath);
|
||||
emit cardBackPicturePathChanged();
|
||||
}
|
||||
|
||||
void SettingsCache::setPicDownload(int _picDownload)
|
||||
{
|
||||
picDownload = _picDownload;
|
||||
|
|
|
@ -14,6 +14,7 @@ signals:
|
|||
void handBgPathChanged();
|
||||
void tableBgPathChanged();
|
||||
void playerBgPathChanged();
|
||||
void cardBackPicturePathChanged();
|
||||
void picDownloadChanged();
|
||||
void horizontalHandChanged();
|
||||
void economicGridChanged();
|
||||
|
@ -22,7 +23,7 @@ private:
|
|||
|
||||
QString lang;
|
||||
QString deckPath, picsPath, cardDatabasePath;
|
||||
QString handBgPath, tableBgPath, playerBgPath;
|
||||
QString handBgPath, tableBgPath, playerBgPath, cardBackPicturePath;
|
||||
bool picDownload;
|
||||
bool doubleClickToPlay;
|
||||
bool horizontalHand;
|
||||
|
@ -37,6 +38,7 @@ public:
|
|||
QString getHandBgPath() const { return handBgPath; }
|
||||
QString getTableBgPath() const { return tableBgPath; }
|
||||
QString getPlayerBgPath() const { return playerBgPath; }
|
||||
QString getCardBackPicturePath() const { return cardBackPicturePath; }
|
||||
bool getPicDownload() const { return picDownload; }
|
||||
bool getDoubleClickToPlay() const { return doubleClickToPlay; }
|
||||
bool getHorizontalHand() const { return horizontalHand; }
|
||||
|
@ -51,6 +53,7 @@ public slots:
|
|||
void setHandBgPath(const QString &_handBgPath);
|
||||
void setTableBgPath(const QString &_tableBgPath);
|
||||
void setPlayerBgPath(const QString &_playerBgPath);
|
||||
void setCardBackPicturePath(const QString &_cardBackPicturePath);
|
||||
void setPicDownload(int _picDownload);
|
||||
void setDoubleClickToPlay(int _doubleClickToPlay);
|
||||
void setHorizontalHand(int _horizontalHand);
|
||||
|
|
|
@ -27,57 +27,62 @@
|
|||
<context>
|
||||
<name>AppearanceSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="259"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="241"/>
|
||||
<source>Zone background pictures</source>
|
||||
<translation>Hintergrundbilder für Kartenzonen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="260"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="242"/>
|
||||
<source>Path to hand background:</source>
|
||||
<translation>Hintergrundbild für die Hand:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="261"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="243"/>
|
||||
<source>Path to table background:</source>
|
||||
<translation>Hintergrundbild für das Spielfeld:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="262"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="244"/>
|
||||
<source>Path to player info background:</source>
|
||||
<translation>Hintergrundbild für den Spielerbereich:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="264"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="245"/>
|
||||
<source>Path to picture of card back:</source>
|
||||
<translation>Pfad zum Bild der Kartenrückseite:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="247"/>
|
||||
<source>Hand layout</source>
|
||||
<translation>Kartenhand</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="265"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="248"/>
|
||||
<source>Display hand horizontally (wastes space)</source>
|
||||
<translation>Hand horizonal anzeigen (verschwendet Platz)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="267"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="250"/>
|
||||
<source>Table grid layout</source>
|
||||
<translation>Spielfeldraster</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="268"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="251"/>
|
||||
<source>Economic layout</source>
|
||||
<translation>Platzsparende Anordnung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="270"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="253"/>
|
||||
<source>Zone view layout</source>
|
||||
<translation>Aussehen des Zonenbetrachters</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="271"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="254"/>
|
||||
<source>Sort by name</source>
|
||||
<translation>nach Namen sortieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="272"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="255"/>
|
||||
<source>Sort by type</source>
|
||||
<translation>nach Kartentypen sortieren</translation>
|
||||
</message>
|
||||
|
@ -86,9 +91,10 @@
|
|||
<translation type="obsolete">standardmäßig alphabetisch sortieren</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="277"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="287"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="297"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="260"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="270"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="280"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="290"/>
|
||||
<source>Choose path</source>
|
||||
<translation>Pfad auswählen</translation>
|
||||
</message>
|
||||
|
@ -843,54 +849,54 @@
|
|||
<context>
|
||||
<name>DlgSettings</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="484"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="487"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="476"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="479"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="482"/>
|
||||
<source>Error</source>
|
||||
<translation>Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="484"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="476"/>
|
||||
<source>Your card database is invalid. Please check if the path is set correctly.</source>
|
||||
<translation>Ihre Kartendatenbank ist ungültig. Bitte überprüfen Sie, ob der Pfad korrekt gesetzt ist.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="487"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="479"/>
|
||||
<source>The path to your deck directory is invalid.</source>
|
||||
<translation>Der Pfad zum Deckverzeichnis ist ungültig.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="482"/>
|
||||
<source>The path to your card pictures directory is invalid.</source>
|
||||
<translation>Der Pfad zum Kartenbilderverzeichnis ist ungültig.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="498"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<source>Settings</source>
|
||||
<translation>Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="500"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="492"/>
|
||||
<source>General</source>
|
||||
<translation>Allgemeines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="501"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="493"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Erscheinungsbild</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="502"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="494"/>
|
||||
<source>User interface</source>
|
||||
<translation>Bedienung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="503"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="495"/>
|
||||
<source>Messages</source>
|
||||
<translation>Nachrichten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="505"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="497"/>
|
||||
<source>&Close</source>
|
||||
<translation>S&chließen</translation>
|
||||
</message>
|
||||
|
@ -1286,51 +1292,50 @@
|
|||
<context>
|
||||
<name>GeneralSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="121"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="131"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="141"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="151"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="108"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="118"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="128"/>
|
||||
<source>Choose path</source>
|
||||
<translation>Pfad auswählen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="169"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="143"/>
|
||||
<source>Personal settings</source>
|
||||
<translation>Persönliche Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="170"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="144"/>
|
||||
<source>Language:</source>
|
||||
<translation>Sprache:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="171"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="145"/>
|
||||
<source>Download card pictures on the fly</source>
|
||||
<translation>Kartenbilder dynamisch herunterladen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="172"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="146"/>
|
||||
<source>Paths</source>
|
||||
<translation>Pfade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="173"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="147"/>
|
||||
<source>Decks directory:</source>
|
||||
<translation>Verzeichnis mit Decklisten:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="174"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="148"/>
|
||||
<source>Pictures directory:</source>
|
||||
<translation>Verzeichnis mit Bilddateien:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="175"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="149"/>
|
||||
<source>Path to card database:</source>
|
||||
<translation>Pfad zur Kartendatenbank:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="34"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="116"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="103"/>
|
||||
<source>English</source>
|
||||
<translation>Deutsch</translation>
|
||||
</message>
|
||||
|
@ -2166,12 +2171,12 @@
|
|||
<context>
|
||||
<name>MessagesSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="386"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="379"/>
|
||||
<source>&Add</source>
|
||||
<translation>&Hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="387"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="380"/>
|
||||
<source>&Remove</source>
|
||||
<translation>&Entfernen</translation>
|
||||
</message>
|
||||
|
@ -2184,12 +2189,12 @@
|
|||
<translation type="obsolete">Entfernen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="369"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="362"/>
|
||||
<source>Add message</source>
|
||||
<translation>Nachricht hinzufügen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="369"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="362"/>
|
||||
<source>Message:</source>
|
||||
<translation>Nachricht:</translation>
|
||||
</message>
|
||||
|
@ -2996,12 +3001,12 @@ Bitte geben Sie einen Namen ein:</translation>
|
|||
<context>
|
||||
<name>UserInterfaceSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="325"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="318"/>
|
||||
<source>General interface settings</source>
|
||||
<translation>Allgemeine Bedienung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="326"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="319"/>
|
||||
<source>&Double-click cards to play them (instead of single-click)</source>
|
||||
<translation>Karten durch &Doppelklick ausspielen (statt Einzelklick)</translation>
|
||||
</message>
|
||||
|
|
|
@ -4,64 +4,70 @@
|
|||
<context>
|
||||
<name>AppearanceSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="259"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="241"/>
|
||||
<source>Zone background pictures</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="260"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="242"/>
|
||||
<source>Path to hand background:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="261"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="243"/>
|
||||
<source>Path to table background:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="262"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="244"/>
|
||||
<source>Path to player info background:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="264"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="245"/>
|
||||
<source>Path to picture of card back:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="247"/>
|
||||
<source>Hand layout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="265"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="248"/>
|
||||
<source>Display hand horizontally (wastes space)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="267"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="250"/>
|
||||
<source>Table grid layout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="268"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="251"/>
|
||||
<source>Economic layout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="270"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="253"/>
|
||||
<source>Zone view layout</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="271"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="254"/>
|
||||
<source>Sort by name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="272"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="255"/>
|
||||
<source>Sort by type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="277"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="287"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="297"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="260"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="270"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="280"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="290"/>
|
||||
<source>Choose path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -724,54 +730,54 @@
|
|||
<context>
|
||||
<name>DlgSettings</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="484"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="487"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="476"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="479"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="482"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="484"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="476"/>
|
||||
<source>Your card database is invalid. Please check if the path is set correctly.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="487"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="479"/>
|
||||
<source>The path to your deck directory is invalid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="482"/>
|
||||
<source>The path to your card pictures directory is invalid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="498"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="490"/>
|
||||
<source>Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="500"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="492"/>
|
||||
<source>General</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="501"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="493"/>
|
||||
<source>Appearance</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="502"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="494"/>
|
||||
<source>User interface</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="503"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="495"/>
|
||||
<source>Messages</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="505"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="497"/>
|
||||
<source>&Close</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -901,51 +907,50 @@
|
|||
<context>
|
||||
<name>GeneralSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="121"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="131"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="141"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="151"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="108"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="118"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="128"/>
|
||||
<source>Choose path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="169"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="143"/>
|
||||
<source>Personal settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="170"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="144"/>
|
||||
<source>Language:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="171"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="145"/>
|
||||
<source>Download card pictures on the fly</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="172"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="146"/>
|
||||
<source>Paths</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="173"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="147"/>
|
||||
<source>Decks directory:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="174"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="148"/>
|
||||
<source>Pictures directory:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="175"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="149"/>
|
||||
<source>Path to card database:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="34"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="116"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="103"/>
|
||||
<source>English</source>
|
||||
<translation>English</translation>
|
||||
</message>
|
||||
|
@ -1469,22 +1474,22 @@
|
|||
<context>
|
||||
<name>MessagesSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="386"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="379"/>
|
||||
<source>&Add</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="387"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="380"/>
|
||||
<source>&Remove</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="369"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="362"/>
|
||||
<source>Add message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="369"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="362"/>
|
||||
<source>Message:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -2087,12 +2092,12 @@ Please enter a name:</source>
|
|||
<context>
|
||||
<name>UserInterfaceSettingsPage</name>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="325"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="318"/>
|
||||
<source>General interface settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/dlg_settings.cpp" line="326"/>
|
||||
<location filename="../src/dlg_settings.cpp" line="319"/>
|
||||
<source>&Double-click cards to play them (instead of single-click)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
Loading…
Reference in a new issue