string IPropertyGridLocalizer.GetErrorTooltipMessage(string message) { LocalizeEventHandler handler = Localize; if (handler != null) { AdvPropertyGridLocalizeEventArgs e = new AdvPropertyGridLocalizeEventArgs("ErrorBody", ePropertyGridLocalizationType.ErrorTooltip); e.LocalizedValue = message; handler(this, e); return e.LocalizedValue; } return message; }
string IPropertyGridLocalizer.GetCategoryName(string categoryName) { LocalizeEventHandler handler = Localize; if (handler != null) { AdvPropertyGridLocalizeEventArgs e = new AdvPropertyGridLocalizeEventArgs(categoryName, ePropertyGridLocalizationType.Category); handler(this, e); return e.LocalizedValue; } return null; }