public async override Task<bool> InitializeAsync(Framework.Interfaces.ICore core) { var p = new PluginSettings(core); AddAction(ACTION_EXPORT_ALL); AddAction(ACTION_EXPORT_SELECTED); AddAction(ACTION_EXPORT_ACTIVE); 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_EXPORTINGPOI)); core.LanguageItems.Add(new Framework.Data.LanguageItem(STR_CREATINGFILE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_TITLE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_EXPORT)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_POIEXPORTPATH)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_CLEAREXPORTDIRECTORY)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_EXPORTGEOCACHEPOIS)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_EXPORTWAYPOINTPOIS)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_LIMITS)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_NAMELENGTHLIMIT)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_DESCRIPTIONLENGTHLIMIT)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_POILOADER)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_RUNPOILOADER)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_PASSDIRECTORY)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_RUNSILENTLY)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_POINAME)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_NAME)); core.LanguageItems.Add(new Framework.Data.LanguageItem(GarminPOIExportForm.STR_CODE)); return await base.InitializeAsync(core); }
public PluginSettings(ICore core) { _uniqueInstance = this; _core = core; }