public void TextRedefinition() { lp = LocaleProvider.Initialize("Locales/Redefinitions"); lp.SetActiveLanguage("cs-cz", true); Assert.That(lp.Get(1) == "Zpět"); Assert.That(lp.Get(2) == "Zpět"); lp.SetActiveLanguage("en-us"); Assert.That(lp.Get(1) == "Back"); Assert.That(lp.Get(2) == "Abort"); }
public void GetLocalizationMissing() { Assert.That(lp.Get(-9999) == "MISSING -9999"); }