xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::i18n::Translate< kContext, kText > Struct Template Referencefinal

A translated string that can be used as a template parameter. More...

#include <xentara/workbench/i18n/Context.hpp>

Static Public Member Functions

static auto translate () -> ui::String
 Does the actual translation.
 

Detailed Description

template<utils::tparam::String kContext, utils::tparam::String kText>
struct xentara::workbench::i18n::Translate< kContext, kText >

A translated string that can be used as a template parameter.

Include file
#include <xentara/workbench/i18n/Context.hpp>
Parameters
kContextThe context
kTextThe text to translate
See also
Context::Translate

Member Function Documentation

◆ translate()

template<utils::tparam::String kContext, utils::tparam::String kText>
static auto xentara::workbench::i18n::Translate< kContext, kText >::translate ( ) -> ui::String
static

Does the actual translation.