Capture a string literal and the translation function to use for it.

Synopsis

Declared in <util/translation.h>

consteval
TranslatedLiteral(
    char const* str,
    TranslateFn const* fn = &G_TRANSLATION_FUN);

Parameters

Name

Description

str

The untranslated literal text (must not be null).

fn

The translation function to apply, defaulting to the global one.

Created with MrDocs