public void Locales_CannotBe_Duplicated() { var current = new I18N() .SetResourcesFolder("DuplicatedLocales") .AddLocaleReader(new JsonKvpReader(), ".json"); Assert.Throws <I18NException>(() => current.Init(GetType().Assembly)); }
private void UpdateSettingsAndLanguage() { I18N.Init(); HLVRSettingsManager.InitSettings(); I18N.Init(); }