- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
  P4                     
     - 
    None
 - 
    1.2.0
 
- 
        generic
 - 
        generic
 
Name: vi73552 Date: 03/17/99
The undo/redo presentation names have problems:
1. Assuming all languages have the same order for the action -- Undo/Redo addition/deletion.
This is in the code AbstractUndoableEdit.java
public String getUndoPresentationName() {
String name = getPresentationName();
if (name != "") {
name = UndoName + " " + name;
} else {
name = UndoName;
}
return name;
}
2. The presentation names are always in English.
This is found in AbstractDocument.java
public String getPresentationName() {
DocumentEvent.EventType type = getType();
if(type == DocumentEvent.EventType.INSERT)
return "addition";
if(type == DocumentEvent.EventType.REMOVE)
return "deletion";
return "style change";
}
public String getUndoPresentationName() {
return "Undo " + getPresentationName();
}
(Review ID: 55714)
======================================================================
- duplicates
 - 
                    
JDK-4221430 AbstractDocument UndoRedo presentation names are always in English
-         
     - Closed
 
 -