protected void HandleOnItemSaved(Item item) { if (item != null && item.TemplateID == Settings.DictionaryEntryTemplateID) { Log.Info("Dictionary Entry saved, clearing Translator cache", this); Translator.ClearCaches(); } }
public void OnPublishEnd(object sender, EventArgs args) { Log.Info("Publish complete, clearing Translator cache", this); Translator.ClearCaches(); }