예제 #1
0
        public void Locales_CannotBe_Duplicated()
        {
            var current = new I18N()
                          .SetResourcesFolder("DuplicatedLocales")
                          .AddLocaleReader(new JsonKvpReader(), ".json");

            Assert.Throws <I18NException>(() => current.Init(GetType().Assembly));
        }
예제 #2
0
 private void UpdateSettingsAndLanguage()
 {
     I18N.Init();
     HLVRSettingsManager.InitSettings();
     I18N.Init();
 }