public void ShouldGetFormattedPhraseWithSingleParameter() { string text = "Charly"; var actual = langResources.GetFormatted(FormattedKey, text); var expected = FormatPhrases(FormattedValue, text); Assert.Contains(actual, expected); }
public async Task ShowProfile(MiunieUser u, MiunieChannel c) { var response = _lang.GetFormatted("SHOW_PROFILE", u.Reputation); await _discordMessages.SendMessage(response, c); }