![]() |
XII Release 0.1.0
|
Returns the same string that is passed into it, but strips off class names and separates the text at CamelCase boundaries. More...
#include <TranslationLookup.h>
Public Member Functions | |
virtual xiiStringView | Translate (xiiStringView sString, xiiUInt64 uiStringHash, xiiTranslationUsage usage) override |
Returns the translated string for uiStringHash, or nullptr, if not available. | |
![]() | |
virtual void | StoreTranslation (xiiStringView sString, xiiUInt64 uiStringHash, xiiTranslationUsage usage) |
Stores sString as the translation for the string with the given hash. | |
virtual void | Reset () override |
Clears all stored translation strings. | |
virtual void | Reload () override |
Simply executes Reset() on this translator. | |
Additional Inherited Members | |
![]() | |
static void | ReloadAllTranslators () |
Will call Reload() on all currently active translators. | |
static void | HighlightUntranslated (bool bHighlight) |
static bool | GetHighlightUntranslated () |
![]() | |
xiiMap< xiiUInt64, xiiString > | m_Translations [(xiiInt32) xiiTranslationUsage::ENUM_COUNT] |
Returns the same string that is passed into it, but strips off class names and separates the text at CamelCase boundaries.
|
overridevirtual |
Returns the translated string for uiStringHash, or nullptr, if not available.
Reimplemented from xiiTranslatorStorage.