Make deck editor filter translatable ; extracted new translations; Fix #3488 (#3490)

* Fix #3488 ; extracted new translations

* Make operators translatable, too
This commit is contained in:
ctrlaltca 2019-01-08 03:50:36 +01:00 committed by Zach H
parent 463ef13fe0
commit 4eda7cda9e
7 changed files with 1216 additions and 1019 deletions

View file

@ -128,10 +128,7 @@ QVariant FilterTreeModel::data(const QModelIndex &index, int role) const
case Qt::ToolTipRole:
case Qt::StatusTipRole:
case Qt::WhatsThisRole:
if (!node->isLeaf())
return tr(node->textCStr());
else
return node->text();
return node->text();
case Qt::CheckStateRole:
if (node->isEnabled())
return Qt::Checked;