Capture a string literal and the translation function to use for it.
Declared in <util/translation.h>
consteval
TranslatedLiteral(
char const* str,
TranslateFn const* fn = &G_TRANSLATION_FUN);
| Name | Description |
|---|---|
| str | The untranslated literal text (must not be null). |
| fn | The translation function to apply, defaulting to the global one. |