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(CachesAlongRouteForm.STR_TITLE)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_SEARCHWITHINSELECTION)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_NEWSEARCH)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_ADDTOSELECTION)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_RESTART)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_SELECT)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_MILES)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_KM)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_PROCESSINGSTEP)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_SEARCHING)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_ROUTEFROM)); core.LanguageItems.Add(new Framework.Data.LanguageItem(CachesAlongRouteForm.STR_ROUTETO)); return await base.InitializeAsync(core); }
public PluginSettings(ICore core) { _uniqueInstance = this; _core = core; }