StringTable
Show declaration
struct StringTable clearScope;
The localized string table as defined by LANGUAGE.
Class Methods
-
static string Localize(string val, bool prefixed = true)
-
Nondeterministic — Do not rely on its outcome Returns the localized variant of
val
. Ifprefixed
istrue
, the string is returned as-is, unless it is prefixed with "$
", where the "$
" character itself is ignored. Nondeterministic unless there is only one variant ofval
. This is generally fine because this should only be used for visual strings anyway.