public LocalizedSettingPropertyGroup(string groupName) { try { this.GroupName = L10N.GetText(groupName + "_GroupName"); } catch { this.GroupName = groupName; } }
public LocalizedSettingProperty(string settingName) { try { this.DisplayName = L10N.GetText(settingName + "_Name"); this.HintText = L10N.GetText(settingName + "_Desc"); } catch { this.DisplayName = settingName; this.HintText = "ERROR: Could not load description from localization resource."; } }