Enum TranslationOptions
- Namespace
- Uncreated.Warfare.Translations
- Assembly
- Uncreated.Warfare.dll
[Flags]
public enum TranslationOptions
Fields
ForTerminal = TranslateWithTerminalRichText | ReplaceRichTextWithTerminalRichTextConfigures the translator to output text that can be easily viewed from the termnial.
NoRichText = 64Tells ITranslationValueFormatter's to not add rich text to arguments. All rich text will also be removed from the original translation.
None = 0PerPlayerTranslation = 4Tells the translator to translate the messsage for each player separately when broadcasted.
PerTeamTranslation = 8Tells the translator to translate the messsage for each team separately when broadcasted.
ReplaceRichTextWithTerminalRichText = 256Tells the translator to replace any rich text codes with the equivalent virtual terminal sequences.
ReplaceTMProRichText = 2Tells the translator to replace <#ffffff> format with <color=#ffffff>.
Sign = 32The translation is for a sign.
TMProSign = 32Use for translations to be used on TMPro sign.
TMProUI = 16Use for translations to be used on TMPro UI.
TranslateWithTerminalRichText = 128Tells the translator to prioritize using virtual terminal sequences instead of TMPro or Unity rich text.
TranslateWithUnityRichText = 1Tells the translator to prioritize using base Unity rich text instead of TMPro rich text.
UI = 16The translation is for a custom UI element.
UnityUI = ReplaceTMProRichText | UnityUINoReplaceUse for translations to be used on non-TMPro UI. Converts to <color=#ffffff> format.
UnityUINoReplace = TranslateWithUnityRichText | TMProUIUse for translations to be used on non-TMPro UI. Convert to <color=#ffffff> format, doesn't replace already existing TMPro tags.
UseUnityRichText = TranslateWithUnityRichText | ReplaceTMProRichTextTells the translator to target Unity rich text instead of TMPro rich text and replace <#ffffff> tags with <color=#ffffff> tags.