util::BilingualFmt

Compile-time bilingual format string carrying a checked format and its translatable literal.

Synopsis

Declared in <util/translation.h>

template<unsigned int num_params>
struct BilingualFmt;

Member Functions

NameDescription
BilingualFmt [constructor]Build a bilingual format string from a translatable literal.

Data Members

NameDescription
lit The translatable literal used to produce the translated format string.
original The compile-time checked format string, using the original (English) text.

Non-Member Functions

NameDescription
::tinyformat::formatFormat a bilingual string from a bilingual format string and its arguments.