public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core) { var p = new PluginSettings(core); AddAction(ACTION_EXPORT_ALL); AddAction(ACTION_EXPORT_SELECTED); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_NOGEOCACHESELECTED)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_ERROR)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_EXPORTINGGPX)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_CREATINGFILE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_SAVING)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_SAVINGDATA)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_SAVINGGEOCACHES)); core.LanguageItems.Add(new Framework.Data.LanguageItem(SettingsPanel.STR_MAXLOGS)); return await base.InitializeAsync(core); }
public PluginSettings(ICore core) { _uniqueInstance = this; _core = core; }