Optional
index: number | "random"Readonly
argsReadonly
idReadonly
isReadonly
reformattersStatic
sectionStatic
configRest
...args: TranslationArg[]Rest
...args: any[]Rest
...args: TranslationArg[]Rest
...args: TranslationArg[]Sets what this translation will return if there is no translation.
Optional
failWith: string | default | IStringSection[]Sets the random source for this Translation. Uses general random by default, not seeded.
Note: If this translation is an argument to another translation, it will use the random of the parent translation.
Optional
reference: Reference | ReferenceableOptional
context: InfoProviderContextOptional
forceInclude: trueMarks this translation as to be refreshed on events for the given host. The text renderer is responsible for actually handling refreshes.
Note: This cannot be serialized!
Rest
...args: [...events: K[], predicate: ((...params: [host: HostFromHostOrHostClass<E extends EventBus ? ReturnType<{ Marks this translation as to be refreshed on events for the given host. The text renderer is responsible for actually handling refreshes.
Note: This cannot be serialized!
Rest
...events: K[]Optional
tooltip: default | IStringSection[] | ((tooltip: default) => any) | FalsyOptional
wide: trueStatic
deserializeStatic
generatorDO NOT USE THIS METHOD
Unless the text is PRE-GENERATED and there is NO WAY TO TRANSLATE IT.
Example uses include text the user inputs, and text from other sites (steam/trello)
Optional
link: LinkStatic
getStatic
getStatic
isStatic
resolveStatic
serializeGenerated using TypeDoc
Returns this translation as a list of string sections