public MailEntry SetSubjectTranslation(string text) { TranslationPatcher.AddTranslationKey(MAIL_BUNDLE, SubjectKey, text); return(this); }
internal SRMod GetMod() { return(TranslationPatcher.GetModForKey(MAIL_BUNDLE, FromKey) ?? TranslationPatcher.GetModForKey(MAIL_BUNDLE, SubjectKey) ?? TranslationPatcher.GetModForKey(MAIL_BUNDLE, BodyKey)); }
public MailEntry SetBodyTranslation(string text) { TranslationPatcher.AddTranslationKey(MAIL_BUNDLE, BodyKey, text); return(this); }
public void SetTabTranslation(string tabname) { TranslationPatcher.AddUITranslation(NameKey, tabname); }