예제 #1
0
        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;
        }
예제 #2
0
 public string ElementReset(TranslatableItem element)
 {
     return(element.ResetTranslate());
 }