XII Release 0.1.0
Loading...
Searching...
No Matches
xiiTranslatorPassThrough Class Reference

Just returns the same string that is passed into it. Can be used to display the actually untranslated strings. More...

#include <TranslationLookup.h>

Inheritance diagram for xiiTranslatorPassThrough:
[legend]

Public Member Functions

virtual xiiStringView Translate (xiiStringView sString, xiiUInt64 uiStringHash, xiiTranslationUsage usage) override
 The given string (with the given hash) shall be translated.
 
- Public Member Functions inherited from xiiTranslator
virtual void Reset ()
 Called to reset internal state.
 
virtual void Reload ()
 May reload the known translations.
 

Additional Inherited Members

- Static Public Member Functions inherited from xiiTranslator
static void ReloadAllTranslators ()
 Will call Reload() on all currently active translators.
 
static void HighlightUntranslated (bool bHighlight)
 
static bool GetHighlightUntranslated ()
 

Detailed Description

Just returns the same string that is passed into it. Can be used to display the actually untranslated strings.

Member Function Documentation

◆ Translate()

virtual xiiStringView xiiTranslatorPassThrough::Translate ( xiiStringView sString,
xiiUInt64 uiStringHash,
xiiTranslationUsage usage )
inlineoverridevirtual

The given string (with the given hash) shall be translated.

Implements xiiTranslator.


The documentation for this class was generated from the following file: