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
f83ddf48
Commit
f83ddf48
authored
Apr 27, 2015
by
tooomm
Browse files
cleaned up translations
removed tr() tag from hidden strings
parent
f6d0b521
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/setsmodel.cpp
View file @
f83ddf48
...
...
@@ -62,8 +62,8 @@ QVariant SetsModel::headerData(int section, Qt::Orientation orientation, int rol
if
((
role
!=
Qt
::
DisplayRole
)
||
(
orientation
!=
Qt
::
Horizontal
))
return
QVariant
();
switch
(
section
)
{
case
SortKeyCol
:
return
tr
(
"Key"
);
case
IsKnownCol
:
return
tr
(
"Is known"
);
case
SortKeyCol
:
return
QString
(
"Key"
);
/* no tr() for translations needed, column just used for sorting --> hidden */
case
IsKnownCol
:
return
QString
(
"Is known"
);
/* no tr() for translations needed, column is just used for sorting --> hidden */
case
EnabledCol
:
return
tr
(
"Enabled"
);
case
SetTypeCol
:
return
tr
(
"Set type"
);
case
ShortNameCol
:
return
tr
(
"Set code"
);
...
...
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