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