Example #1
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            _core = core;
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_ASKUPDATE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_ERROR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_IMPORTING));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_INFO));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_NONEW));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_UPDATING));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_AUTODOWNLOAD));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_COUNTRY));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_STATE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_LOCATION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_RADIUS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_KM));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_CLEAR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_SHOWDIALOG));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_UPDATEANDDOWNLOAD));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsForm.STR_OK));

            return await base.InitializeAsync(core);
        }
Example #2
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }
Example #3
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core           = core;
 }