public override void Install() { _context.Install(); _settings.SetSetting <bool>("SendEmailOnSliderCreate", false); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.CreateImageMessage", "Please create and save a slider before creating an image"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.PromoSliderName", "Slider Name"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.PromoSliderName.Hint", "The Name of Your Slider"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.IsActive", "Is Active"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.IsActive.Hint", "Determines if the slider will currently display in the selected zone"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.ZoneName", "Select a Zone"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.ZoneName.Hint", "Choose the Zone your slider will be displayed in"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Interval", "Interval"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Interval.Hint", "The duration between slides"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.PauseOnHover", "Pause On Hover"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.PauseOnHover.Hint", "Determines whether your slider will pause on mouse over"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Keyboard", "Keyboard Controls Enabled"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Keyboard.Hint", "Determines whether users can rotate between slides using the keyboard"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Wrap", "Cycle Slider"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.Wrap.Hint", "Determines whether slider will rotate continuously"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.SliderNameRequired", "Please Provide a Slider Name"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.SliderIntervalRequired", "Interval Must be Greater Than 0"); this.AddOrUpdatePluginLocaleResource("Plugins.Misc.PromoSlider.GreaterThanZero", "Slider Interval Must be Between 1 and 10"); base.Install(); }
public override void Install() { _context.Install(); base.Install(); }