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

            AddAction(ACTION_IMPORT);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_IMPORTINGMYF));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_IMPORTINGLOGS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_IMPORTINGCACHES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_ERROR));

            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_COPYTOCLIPBOARD));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_ADD));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_GETLOGS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_IMPORTALL));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_IMPORTMISSING));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_IMPORTSELECTED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_REMOVE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_REMOVEANDLOGS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_USERNAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_USERS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_BETWEENDATES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_LOGTYPES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_SELECTALL));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(ImportForm.STR_DESELECTALL));

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