public bool Load(string path) { TranslatorInfo = new TranslatorInfo(); XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(path); switch (DictionaryMode = GetDictionaryMode(xmlDocument)) { case DictionaryMode.V2: return(LoadV2(xmlDocument)); default: return(false); } }
public TranslationDictionary() { TranslatorInfo = new TranslatorInfo(); }