public string GetSearchResultInfo(string searchWord, int count, bool isSuggestions)
{
string actionInfo;
if (string.IsNullOrEmpty(searchWord) && !isSuggestions)
{
actionInfo = string.Format(LocalizationService.Current.GetString("/gadget/redirects/storedredirects"), count);
actionInfo += " " + string.Format(LocalizationService.Current.GetString("/gadget/redirects/andsuggestions"), DataHandler.GetTotalSuggestionCount());
}
else if (string.IsNullOrEmpty(searchWord) && isSuggestions)
actionInfo = string.Format(LocalizationService.Current.GetString("/gadget/redirects/storedsuggestions"), count);
else if (isSuggestions)
actionInfo = string.Format(LocalizationService.Current.GetString("/gadget/redirects/searchsuggestions"), searchWord, count);
else
actionInfo = string.Format(LocalizationService.Current.GetString("/gadget/redirects/searchresult"), searchWord, count);
return actionInfo;
}