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