public string FormatMessageText(int messages)
        {
            var translation = PluralBuilder.GetPlural(messages, NewMessagesText);

            return(string.Format(translation, messages));
        }
예제 #2
0
        public string GetProfileIsDefectiveMessage(string profileName, ActionResult actionResult)
        {
            var pluralMessage = PluralBuilder.GetPlural(actionResult.Count, SelectedProfileIsDefective);

            return(string.Format(pluralMessage, profileName));
        }