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
87584a3a
Commit
87584a3a
authored
Jun 24, 2012
by
Max-Wilhelm Bruker
Browse files
updated Spanish; adjusted details for release
parent
0bd0361a
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
cockatrice/CMakeLists.txt
View file @
87584a3a
...
@@ -169,20 +169,20 @@ endif (APPLE)
...
@@ -169,20 +169,20 @@ endif (APPLE)
set
(
cockatrice_RESOURCES cockatrice.qrc
)
set
(
cockatrice_RESOURCES cockatrice.qrc
)
set
(
cockatrice_TS
set
(
cockatrice_TS
translations/cockatrice_cs.ts
#
translations/cockatrice_cs.ts
translations/cockatrice_de.ts
translations/cockatrice_de.ts
translations/cockatrice_en.ts
translations/cockatrice_en.ts
translations/cockatrice_es.ts
translations/cockatrice_es.ts
translations/cockatrice_fr.ts
#
translations/cockatrice_fr.ts
translations/cockatrice_it.ts
translations/cockatrice_it.ts
translations/cockatrice_ja.ts
translations/cockatrice_ja.ts
translations/cockatrice_pl.ts
#
translations/cockatrice_pl.ts
translations/cockatrice_pt-br.ts
#
translations/cockatrice_pt-br.ts
translations/cockatrice_pt.ts
translations/cockatrice_pt.ts
translations/cockatrice_ru.ts
#
translations/cockatrice_ru.ts
translations/cockatrice_sk.ts
#
translations/cockatrice_sk.ts
translations/cockatrice_sv.ts
translations/cockatrice_sv.ts
translations/cockatrice_zh_CN.ts
#
translations/cockatrice_zh_CN.ts
)
)
if
(
WIN32
)
if
(
WIN32
)
...
...
cockatrice/src/cardinfowidget.cpp
View file @
87584a3a
...
@@ -94,12 +94,14 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
...
@@ -94,12 +94,14 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool
CardInfoWidget
::
shouldShowPowTough
()
bool
CardInfoWidget
::
shouldShowPowTough
()
{
{
return
(
!
info
->
getPowTough
().
isEmpty
()
&&
(
minimized
!=
0
));
// return (!info->getPowTough().isEmpty() && (minimized != 0));
return
(
minimized
!=
0
);
}
}
bool
CardInfoWidget
::
shouldShowLoyalty
()
bool
CardInfoWidget
::
shouldShowLoyalty
()
{
{
return
((
info
->
getLoyalty
()
>
0
)
&&
(
minimized
!=
0
));
// return ((info->getLoyalty() > 0) && (minimized != 0));
return
(
minimized
!=
0
);
}
}
void
CardInfoWidget
::
setMinimized
(
int
_minimized
)
void
CardInfoWidget
::
setMinimized
(
int
_minimized
)
...
@@ -153,7 +155,7 @@ void CardInfoWidget::setCard(CardInfo *card)
...
@@ -153,7 +155,7 @@ void CardInfoWidget::setCard(CardInfo *card)
manacostLabel2
->
setText
(
card
->
getManaCost
());
manacostLabel2
->
setText
(
card
->
getManaCost
());
cardtypeLabel2
->
setText
(
card
->
getCardType
());
cardtypeLabel2
->
setText
(
card
->
getCardType
());
powtoughLabel2
->
setText
(
card
->
getPowTough
());
powtoughLabel2
->
setText
(
card
->
getPowTough
());
loyaltyLabel2
->
setText
(
QString
::
number
(
card
->
getLoyalty
()));
loyaltyLabel2
->
setText
(
card
->
getLoyalty
()
>
0
?
QString
::
number
(
card
->
getLoyalty
())
:
QString
()
);
textLabel
->
setText
(
card
->
getText
());
textLabel
->
setText
(
card
->
getText
());
powtoughLabel1
->
setVisible
(
shouldShowPowTough
());
powtoughLabel1
->
setVisible
(
shouldShowPowTough
());
...
...
cockatrice/src/player.cpp
View file @
87584a3a
...
@@ -644,7 +644,7 @@ void Player::retranslateUi()
...
@@ -644,7 +644,7 @@ void Player::retranslateUi()
aFlip
->
setText
(
tr
(
"&Flip"
));
aFlip
->
setText
(
tr
(
"&Flip"
));
aPeek
->
setText
(
tr
(
"&Peek at card face"
));
aPeek
->
setText
(
tr
(
"&Peek at card face"
));
aClone
->
setText
(
tr
(
"&Clone"
));
aClone
->
setText
(
tr
(
"&Clone"
));
aClone
->
setShortcut
(
tr
(
"Ctrl+
H
"
));
aClone
->
setShortcut
(
tr
(
"Ctrl+
J
"
));
aAttach
->
setText
(
tr
(
"Attac&h to card..."
));
aAttach
->
setText
(
tr
(
"Attac&h to card..."
));
aAttach
->
setShortcut
(
tr
(
"Ctrl+A"
));
aAttach
->
setShortcut
(
tr
(
"Ctrl+A"
));
aUnattach
->
setText
(
tr
(
"Unattac&h"
));
aUnattach
->
setText
(
tr
(
"Unattac&h"
));
...
...
cockatrice/src/window_main.cpp
View file @
87584a3a
...
@@ -224,7 +224,7 @@ void MainWindow::actAbout()
...
@@ -224,7 +224,7 @@ void MainWindow::actAbout()
+
tr
(
"French:"
)
+
" Yannick Hammer, Arnaud Faes<br>"
+
tr
(
"French:"
)
+
" Yannick Hammer, Arnaud Faes<br>"
+
tr
(
"Japanese:"
)
+
" Nagase Task<br>"
+
tr
(
"Japanese:"
)
+
" Nagase Task<br>"
+
tr
(
"Russian:"
)
+
" Alexander Davidov<br>"
+
tr
(
"Russian:"
)
+
" Alexander Davidov<br>"
+
tr
(
"Czech:"
)
+
" Ondřej Trhoň<br>"
//
+ tr("Czech:") + " Ondřej Trhoň<br>"
// + tr("Slovak:") + " Ganjalf Rendy<br>"
// + tr("Slovak:") + " Ganjalf Rendy<br>"
+
tr
(
"Italian:"
)
+
" Luigi Sciolla<br>"
+
tr
(
"Italian:"
)
+
" Luigi Sciolla<br>"
+
tr
(
"Swedish:"
)
+
" Jessica Dahl<br>"
+
tr
(
"Swedish:"
)
+
" Jessica Dahl<br>"
...
...
cockatrice/translations/cockatrice_es.ts
View file @
87584a3a
This diff is collapsed.
Click to expand it.
nsis/cockatrice.nsi
View file @
87584a3a
...
@@ -43,7 +43,6 @@ Section "Application" SecApplication
...
@@ -43,7 +43,6 @@ Section "Application" SecApplication
File C:\MinGW\qt\bin\QtSvg4.dll
File C:\MinGW\qt\bin\QtSvg4.dll
File C:\MinGW\qt\bin\QtXml4.dll
File C:\MinGW\qt\bin\QtXml4.dll
File C:\MinGW\qt\bin\QtMultimedia4.dll
File C:\MinGW\qt\bin\QtMultimedia4.dll
File C:\MinGW\qt\bin\QtScript4.dll
SetOutPath "$INSTDIR\zonebg"
SetOutPath "$INSTDIR\zonebg"
File /r ..\zonebg\*.*
File /r ..\zonebg\*.*
...
@@ -108,7 +107,6 @@ Section Uninstall
...
@@ -108,7 +107,6 @@ Section Uninstall
Delete "$INSTDIR\QtSvg4.dll"
Delete "$INSTDIR\QtSvg4.dll"
Delete "$INSTDIR\QtXml4.dll"
Delete "$INSTDIR\QtXml4.dll"
Delete "$INSTDIR\QtMultimedia4.dll"
Delete "$INSTDIR\QtMultimedia4.dll"
Delete "$INSTDIR\QtScript4.dll"
RMDir "$INSTDIR"
RMDir "$INSTDIR"
RMDir /r "$SMPROGRAMS\Cockatrice"
RMDir /r "$SMPROGRAMS\Cockatrice"
...
...
prepareMacRelease.sh
View file @
87584a3a
#!/bin/sh
#!/bin/sh
FRAMEWORKS
=
"Core Gui Multimedia Network Svg Xml
Script
"
FRAMEWORKS
=
"Core Gui Multimedia Network Svg Xml"
DATE
=
`
date
'+%Y%m%d'
`
DATE
=
`
date
'+%Y%m%d'
`
#QTDIR="/Users/brukie/QtSDK/Desktop/Qt/474/gcc"
#QTDIR="/Users/brukie/QtSDK/Desktop/Qt/474/gcc"
QTLIB
=
"/Users/brukie/qt_leopard/lib"
QTLIB
=
"/Users/brukie/qt_leopard/lib"
...
...
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