Пример #1
0
        public void LanguageConfigurationTest()
        {
            IList <string> languages = LanguageDbLoader.GetLanguages();

            Assert.IsNotNull(languages);
            Assert.IsTrue(languages.Count > 0);
            Assert.IsTrue(languages.Contains(Localizer.lngEn));
        }
Пример #2
0
 public IList <string> GetLanguages()
 {
     try
     {
         return(LanguageDbLoader.GetLanguages());
     }
     catch (Exception ex)
     {
         m_Trace.TraceError(ex, "Couldn't load supported languages from database.");
         throw;
     }
 }