public static void ClearAll() { AllLangsLogical.Clear(); AllLangsVisual.Clear(); VisualStringCache.Clear(); NeedsSave = true; }
static void RebuildVisualTables() { string visKey; string visValue; AllLangsVisual.Clear(); foreach (var langKey in AllLangsLogical.Keys) { LELangDict visLang = new LELangDict(); var string_table = AllLangsLogical[langKey]; foreach (var kvp in string_table) { visKey = Logical2Visual(kvp.Key); visValue = Logical2Visual(kvp.Value); visLang.Add(visKey, visValue); } AllLangsVisual.Add(langKey, visLang); } }