public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { OptionPrompt choiceKey = value as OptionPrompt; if (choiceKey == null) return null; return LogFormatter.Translate(choiceKey); }