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 <QLatin1String>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
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.

Classes

struct  CardSearchLanguage
 The card language and matching mode searches run against. More...

Namespaces

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

Enumerations

enum class  SearchLanguageMode { English , Selected , Both }
 The card languages card search should run against. More...

Functions

const QStringList & CardLocalization::supportedLanguages ()
 Language codes for which localized card data can be imported/displayed.
QString CardLocalization::languageDisplayName (const QString &lang)
 Human-readable name for a language code.

Enumeration Type Documentation

◆ SearchLanguageMode

enum class SearchLanguageMode
strong

The card languages card search should run against.

Enumerator
English 

Only search the English card names and texts.

Selected 

Search the selected card language (untranslated cards still match in English).

Both 

Search both the English and the selected card language names and texts.