Пример #1
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core = core;
 }
Пример #2
0
        public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core)
        {
            var p = new PluginSettings(core);

            AddAction(ACTION_SHOW);

            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_ARCHIVED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_AREACODE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_AVAILABLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_CLEAR));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_CODES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_COMMASEP));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_CONTAINER));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_DIFMAX));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_DIFMIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_EXCLUDE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_FAVMAX));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_FAVMIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_FOUNDBYUSERS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_GEOCACHETYPE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_HIDDENBY));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_HIDDENBYUSERS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_IMPORT));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_KM));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_LIMITS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_LOCATION));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_MAXLOGS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_MAXPERREQUEST));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_MILES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_NAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_PMO));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_PROPERTIES));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_RADIUS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TERMAX));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TERMIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TITLE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TOTALMAX));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TRACKMAX));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_TRACKMIN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_PRESET));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_CURRENTSETTINGS));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_DEFAULT));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_RELOAD));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_PUBLISHED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_BETWEEN));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_AND));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(GetGeocachesForm.STR_MAX30DAYS));

            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(PresetsForm.STR_CURRENT));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_DELETE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_NAME));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_OK));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_SAVE));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_SAVED));
            core.LanguageItems.Add(new Framework.Data.LanguageItem(PresetsForm.STR_TITLE));

            return await base.InitializeAsync(core);
        }
Пример #3
0
 public PluginSettings(ICore core)
 {
     _uniqueInstance = this;
     _core           = core;
 }