public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return ((Rarity)value).ToLocalizedString(); }