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
9d3c4f20
Commit
9d3c4f20
authored
Feb 07, 2016
by
Ira Aspen
Browse files
Changed strings referencing a set to say sets/cards.
parent
b5363f47
Changes
2
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/dlg_add_set.cpp
View file @
9d3c4f20
...
...
@@ -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
(
"Set
s/cards
added to Cockatrice."
));
restart
->
setText
(
QString
(
"You must restart Cockatrice to use the new set
s/cards
."
));
}
else
{
setWindowTitle
(
tr
(
"Failed"
));
status
->
setText
(
QString
(
"Set failed to import."
));
status
->
setText
(
QString
(
"Set
s/cards
failed to import."
));
}
QDialogButtonBox
*
buttonBox
=
new
QDialogButtonBox
(
this
);
...
...
cockatrice/src/tab_deck_editor.cpp
View file @
9d3c4f20
...
...
@@ -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 set
s/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 set
s/cards
"
));
dialog
.
setDirectory
(
dataDir
);
dialog
.
setNameFilters
(
TabDeckEditor
::
fileNameFilters
);
if
(
!
dialog
.
exec
())
...
...
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