public static string GetLabelBySponsorType(SponsorType s)
 {
     var rm = new ResourceManager(typeof(Resources.labels));
     var text = rm.GetString(s.ToString(), System.Globalization.CultureInfo.CreateSpecificCulture("nl"));
     return string.IsNullOrEmpty(text) ? s.ToString() : text;
 }
Beispiel #2
0
 public static string GetLabelBySponsorType(SponsorType s)
 {
     var rm = new ResourceManager(typeof(Resources.labels));
     var text = rm.GetString(s.ToString());
     return string.IsNullOrEmpty(text) ? s.ToString() : text;
 }