Esempio n. 1
0
        public static void ClearAll()
        {
            AllLangsLogical.Clear();
            AllLangsVisual.Clear();
            VisualStringCache.Clear();

            NeedsSave = true;
        }
Esempio n. 2
0
        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);
            }
        }