[Card] Import Scryfall Tagger tags from MTGJson

This commit is contained in:
Lukas Brübach 2026-09-21 13:20:25 +02:00
parent 7a2492ac67
commit 1803fce56c
3 changed files with 85 additions and 0 deletions

View file

@ -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