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
11da8d09
Commit
11da8d09
authored
Apr 27, 2015
by
ctrlaltca
Browse files
Merge pull request #1030 from tooomm/patch-1
removed tr() tag from hidden strings
parents
f6d0b521
f83ddf48
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/setsmodel.cpp
View file @
11da8d09
...
...
@@ -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