public void ElementUpdated(TranslatableItem element, string newValue, bool isGtran) { if (element.Translate == newValue) { return; } UndoRedoManager.Add(new EditableElement(element, newValue)); element.UpdateTranslate(newValue, isGtran); HasChanges = true; }
public string ElementReset(TranslatableItem element) { return(element.ResetTranslate()); }