Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
11e1202d
Commit
11e1202d
authored
Sep 10, 2010
by
Max-Wilhelm Bruker
Browse files
Added option to customize the card back picture
parent
5ee6bdd3
Changes
8
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/carddatabase.cpp
View file @
11e1202d
...
...
@@ -124,21 +124,22 @@ QPixmap *CardInfo::loadPixmap()
return
pixmap
;
if
(
getName
().
isEmpty
())
{
pixmap
->
load
(
QString
(
"%1/back.jpg"
).
arg
(
pics
Path
));
pixmap
->
load
(
settingsCache
->
getCardBackPicture
Path
(
));
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
<
s
ortedS
ets
.
size
();
i
++
)
debugOutput
.
append
(
QString
(
"%1, "
).
arg
(
s
ortedS
ets
[
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
<
s
ortedS
ets
.
size
();
i
++
)
{
if
(
pixmap
->
load
(
QString
(
"%1/%2/%3.full.jpg"
).
arg
(
picsPath
).
arg
(
s
ortedS
ets
[
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
(
s
ortedS
ets
[
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
()
...
...
cockatrice/src/carddatabase.h
View file @
11e1202d
...
...
@@ -85,6 +85,7 @@ public:
QPixmap
*
getPixmap
(
QSize
size
);
void
clearPixmapCache
();
void
clearPixmapCacheMiss
();
public
slots
:
void
updatePixmapCache
();
signals:
void
pixmapUpdated
();
...
...
cockatrice/src/dlg_settings.cpp
View file @
11e1202d
...
...
@@ -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
);
...
...
cockatrice/src/dlg_settings.h
View file @
11e1202d
...
...
@@ -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:
...
...
cockatrice/src/settingscache.cpp
View file @
11e1202d
...
...
@@ -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
;
...
...
cockatrice/src/settingscache.h
View file @
11e1202d
...
...
@@ -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
);
...
...
cockatrice/translations/cockatrice_de.ts
View file @
11e1202d
...
...
@@ -27,57 +27,62 @@
<
context
>
<
name
>
AppearanceSettingsPage
<
/name
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
59
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
41
"
/>
<
source
>
Zone
background
pictures
<
/source
>
<
translation
>
Hintergrundbilder
für
Kartenzonen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
60
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
42
"
/>
<
source
>
Path
to
hand
background
:
<
/source
>
<
translation
>
Hintergrundbild
für
die
Hand
:
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
61
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
43
"
/>
<
source
>
Path
to
table
background
:
<
/source
>
<
translation
>
Hintergrundbild
für
das
Spielfeld
:
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
62
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
44
"
/>
<
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
=
"
2
65
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
48
"
/>
<
source
>
Display
hand
horizontally
(
wastes
space
)
<
/source
>
<
translation
>
Hand
horizonal
anzeigen
(
verschwendet
Platz
)
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
67
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
50
"
/>
<
source
>
Table
grid
layout
<
/source
>
<
translation
>
Spielfeldraster
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
68
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
51
"
/>
<
source
>
Economic
layout
<
/source
>
<
translation
>
Platzsparende
Anordnung
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
70
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
53
"
/>
<
source
>
Zone
view
layout
<
/source
>
<
translation
>
Aussehen
des
Zonenbetrachters
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
71
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
54
"
/>
<
source
>
Sort
by
name
<
/source
>
<
translation
>
nach
Namen
sortieren
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
72
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
55
"
/>
<
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
=
"
4
84
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
8
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
90
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
76
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
47
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
82
"
/>
<
source
>
Error
<
/source
>
<
translation
>
Fehler
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
84
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
76
"
/>
<
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
=
"
4
8
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
47
9
"
/>
<
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
=
"
4
90
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
82
"
/>
<
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
=
"
49
8
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
49
0
"
/>
<
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
>&
amp
;
Close
<
/source
>
<
translation
>
S
&
amp
;
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
=
"
1
69
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
43
"
/>
<
source
>
Personal
settings
<
/source
>
<
translation
>
Persönliche
Einstellungen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
70
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
44
"
/>
<
source
>
Language
:
<
/source
>
<
translation
>
Sprache
:
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
71
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
45
"
/>
<
source
>
Download
card
pictures
on
the
fly
<
/source
>
<
translation
>
Kartenbilder
dynamisch
herunterladen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
72
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
46
"
/>
<
source
>
Paths
<
/source
>
<
translation
>
Pfade
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
17
3
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
4
7
"
/>
<
source
>
Decks
directory
:
<
/source
>
<
translation
>
Verzeichnis
mit
Decklisten
:
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
7
4
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
14
8
"
/>
<
source
>
Pictures
directory
:
<
/source
>
<
translation
>
Verzeichnis
mit
Bilddateien
:
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
75
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
49
"
/>
<
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
=
"
1
16
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
03
"
/>
<
source
>
English
<
/source
>
<
translation
>
Deutsch
<
/translation
>
<
/message
>
...
...
@@ -2166,12 +2171,12 @@
<
context
>
<
name
>
MessagesSettingsPage
<
/name
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
86
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
79
"
/>
<
source
>&
amp
;
Add
<
/source
>
<
translation
>&
amp
;
Hinzufügen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
38
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
38
0
"
/>
<
source
>&
amp
;
Remove
<
/source
>
<
translation
>&
amp
;
Entfernen
<
/translation
>
<
/message
>
...
...
@@ -2184,12 +2189,12 @@
<
translation
type
=
"
obsolete
"
>
Entfernen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
2
"
/>
<
source
>
Add
message
<
/source
>
<
translation
>
Nachricht
hinzufügen
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
2
"
/>
<
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
=
"
3
25
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
18
"
/>
<
source
>
General
interface
settings
<
/source
>
<
translation
>
Allgemeine
Bedienung
<
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
26
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
19
"
/>
<
source
>&
amp
;
Double
-
click
cards
to
play
them
(
instead
of
single
-
click
)
<
/source
>
<
translation
>
Karten
durch
&
amp
;
Doppelklick
ausspielen
(
statt
Einzelklick
)
<
/translation
>
<
/message
>
...
...
cockatrice/translations/cockatrice_en.ts
View file @
11e1202d
...
...
@@ -4,64 +4,70 @@
<
context
>
<
name
>
AppearanceSettingsPage
<
/name
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
59
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
41
"
/>
<
source
>
Zone
background
pictures
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
60
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
42
"
/>
<
source
>
Path
to
hand
background
:
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
61
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
43
"
/>
<
source
>
Path
to
table
background
:
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
62
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
44
"
/>
<
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
=
"
2
65
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
48
"
/>
<
source
>
Display
hand
horizontally
(
wastes
space
)
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
67
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
50
"
/>
<
source
>
Table
grid
layout
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
68
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
51
"
/>
<
source
>
Economic
layout
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
70
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
53
"
/>
<
source
>
Zone
view
layout
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
71
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
54
"
/>
<
source
>
Sort
by
name
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
72
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
2
55
"
/>
<
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
=
"
4
84
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
8
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
90
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
76
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
47
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
82
"
/>
<
source
>
Error
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
84
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
76
"
/>
<
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
=
"
4
8
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
47
9
"
/>
<
source
>
The
path
to
your
deck
directory
is
invalid
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
90
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
4
82
"
/>
<
source
>
The
path
to
your
card
pictures
directory
is
invalid
.
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
49
8
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
49
0
"
/>
<
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
>&
amp
;
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
=
"
1
69
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
43
"
/>
<
source
>
Personal
settings
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
70
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
44
"
/>
<
source
>
Language
:
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
71
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
45
"
/>
<
source
>
Download
card
pictures
on
the
fly
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
72
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
46
"
/>
<
source
>
Paths
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
17
3
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
4
7
"
/>
<
source
>
Decks
directory
:
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
7
4
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
14
8
"
/>
<
source
>
Pictures
directory
:
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
75
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
49
"
/>
<
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
=
"
1
16
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
1
03
"
/>
<
source
>
English
<
/source
>
<
translation
>
English
<
/translation
>
<
/message
>
...
...
@@ -1469,22 +1474,22 @@
<
context
>
<
name
>
MessagesSettingsPage
<
/name
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
86
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
79
"
/>
<
source
>&
amp
;
Add
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
38
7
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
38
0
"
/>
<
source
>&
amp
;
Remove
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
2
"
/>
<
source
>
Add
message
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
9
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
36
2
"
/>
<
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
=
"
3
25
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
18
"
/>
<
source
>
General
interface
settings
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
<
message
>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
26
"
/>
<
location
filename
=
"
../src/dlg_settings.cpp
"
line
=
"
3
19
"
/>
<
source
>&
amp
;
Double
-
click
cards
to
play
them
(
instead
of
single
-
click
)
<
/source
>
<
translation
type
=
"
unfinished
"
><
/translation
>
<
/message
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment