void Localize( Keys locaKey, TextMeshProUGUI textOutput, Dictionary <string, string> replacements = null, ReplacementStyle replacementStyle = null) { this.Vanilla.Localize(locaKey, textOutput, replacements, replacementStyle); if (locaKey == Keys.Common_EarlyAccessDisclaimer || locaKey == Keys.Common_ClosedBetaDisclaimer || locaKey == Keys.Common_Watermarks_ClosedBeta || locaKey == Keys.Common_Watermarks_EarlyAccess ) { var text = textOutput.text; text += " SUCCESS"; textOutput.text = text; } }
string GetLocalization( Keys locaKey, Dictionary <string, string> replacements = null, ReplacementStyle replacementStyle = null) { var str = this.Vanilla.GetLocalization(locaKey, replacements, replacementStyle); if ( locaKey == Keys.Common_EarlyAccessDisclaimer || locaKey == Keys.Common_ClosedBetaDisclaimer || locaKey == Keys.Common_Watermarks_ClosedBeta || locaKey == Keys.Common_Watermarks_EarlyAccess ) { str += " SUCCESS"; } return(str); }
public string GetLocalization(Keys locaKey, Dictionary <string, string> replacements, ReplacementStyle replacementStyle) { var text = this.Vanilla.GetLocalization(locaKey, replacements); if (locaKey == Keys.Common_EarlyAccessDisclaimer) { text += ADDITIONAL_TEXT; } return(text); }
public void Localize(Keys locaKey, TextMeshProUGUI textOutput, Dictionary <string, string> replacements, ReplacementStyle replacementStyle) { this.Vanilla.Localize(locaKey, textOutput, replacements, replacementStyle); if (locaKey == Keys.Common_EarlyAccessDisclaimer) { var text = textOutput.text; text += ADDITIONAL_TEXT; textOutput.text = text; } }
public string GetLocalization(Keys locaKey, Dictionary <string, string> replacements, ReplacementStyle replacementStyle) { var text = this.Vanilla.GetLocalization(locaKey, replacements); if ( locaKey == Keys.Common_ClosedBetaDisclaimer || locaKey == Keys.Common_Watermarks_ClosedBeta || locaKey == Keys.Common_EarlyAccessDisclaimer ) { text += "[Creative Zone]"; } return(text); }
public bool Localize(Keys locaKey, TextMeshProUGUI textOutput, Dictionary <string, string> replacements, ReplacementStyle replacementStyle) { var result = this.Vanilla.Localize(locaKey, textOutput, replacements, replacementStyle); if ( locaKey == Keys.Common_ClosedBetaDisclaimer || locaKey == Keys.Common_Watermarks_ClosedBeta || locaKey == Keys.Common_Watermarks_EarlyAccess ) { var text = textOutput.text; text += "[Creative Zone]"; textOutput.text = text; } return(result); }