public override void OnDecodeFromConfigNode() { activePack = Language_Packs.FirstOrDefault(l => l.ActivePack); if (activePack == null) activePack = new Notes_LanguagePack(); }
public Notes_Localization(string path, string node) { FilePath = path; NodeName = path + "/" + node; if (!Load()) { activePack = new Notes_LanguagePack(); Language_Packs.Add(activePack); Save(); LoadSavedCopy(); } }