protected string getTerm(string key) { if (HasLanguage) { return(language.GetTerm(key)); } else { return(string.Empty); } }
public void Set(PromptID id) { currentID = id; if (currentID != PromptID.None) { if (languages == null) { checkReferences(); } SetText(languages.GetTerm(currentID.ToString())); } }