public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is string str) { return(LocalizedResourceHelper.GetText(str)); } return(value); }
public string GetText(string resourceKey, params object[] objects) { return(LocalizedResourceHelper.GetText(resourceKey, objects)); }