Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_localization.h File Reference
Include dependency graph for card_localization.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CardLocalization
 Shared language metadata for localized card text and images.

Functions

QString CardLocalization::displayLang ()
 The language code selected for localized card text and images.
QString CardLocalization::displayName (const CardInfoPtr &card)
 Card name in the configured display language, falling back to English.
QString CardLocalization::displayText (const CardInfoPtr &card)
 Card rules text in the configured display language, falling back to English.
QString CardLocalization::displayName (const CardInfo &card)
 Card name in the configured display language, falling back to English.
QString CardLocalization::displayText (const CardInfo &card)
 Card rules text in the configured display language, falling back to English.
QString CardLocalization::displayNameFor (const QString &cardName)
 Looks a card up by its canonical name and returns its name in the configured display language.