mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 00:14:40 -07:00
[Card] Import Scryfall Tagger tags from MTGJson
This commit is contained in:
parent
7a2492ac67
commit
1803fce56c
3 changed files with 85 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ QString const PowTough("pt");
|
|||
QString const Side("side");
|
||||
QString const Layout("layout");
|
||||
QString const ColorIdentity("coloridentity");
|
||||
QString const Tags("tags");
|
||||
|
||||
inline static const QString getNicePropertyName(QString key)
|
||||
{
|
||||
|
|
@ -61,6 +62,9 @@ inline static const QString getNicePropertyName(QString key)
|
|||
if (key == ColorIdentity) {
|
||||
return QCoreApplication::translate("Mtg", "Color Identity");
|
||||
}
|
||||
if (key == Tags) {
|
||||
return QCoreApplication::translate("Mtg", "Tags");
|
||||
}
|
||||
return key;
|
||||
}
|
||||
} // namespace Mtg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue