public static string GetProviderTypeDescription(ProviderType type)
{
if (type == ProviderType.GoogleTranslate)
return gTranslateString; //these strings should not be localized and are therefore hard-coded
else if (type == ProviderType.MicrosoftTranslator)
return msTranslatorString; //these strings should not be localized and are therefore hard-coded
else
return "";
}