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

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