|
Toast Engine
|
${} inline formatting for localized text More...
#include <functional>#include <optional>#include <string>#include <string_view>#include <toast/export.hpp>
Go to the source code of this file.
Classes | |
| struct | ui::TextFormatContext |
Functions | |
| auto | ui::formatText (std::string_view input, const TextFormatContext &ctx) -> std::string |
| Expands ${} directives in localized text into RML <span> markup. | |
| auto | ui::formatText (std::string_view input) -> std::string |
${} inline formatting for localized text
|
nodiscard |
Expands ${} directives in localized text into RML <span> markup.
Supported directives: