This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67717

Summary: [50cat] Drop down menu shows localized text where it shouldn't
Product: platform Reporter: host <host>
Component: ActionsAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WORKSFORME    
Severity: blocker Keywords: I18N
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Drop down menu

Description host 2005-10-28 10:10:28 UTC
I right click on an item in the Flow Designer and get in the drop down menu the
item "Undo Rückgängig STRG+Z". Shouldn't the German translation (I am on a
German machine) not be there?
Comment 1 host 2005-10-28 10:12:12 UTC
Created attachment 26418 [details]
Drop down menu
Comment 2 host 2005-10-28 10:13:20 UTC
In a (German) localized NB version this would lead to the menu entry "Rückgängig
Rückgängig STRG+Z" which looks a little strange.
Comment 3 Lukas Hasik 2005-10-30 21:51:51 UTC
Do you see the same in menu 'Edit' ?

IMHO, you are running in German locale and this german part of name is taken
from the shortcut name in your locale. I use English locale and there is 'Undo
Undo CTRL+Z'

Comment 4 David Kaspar 2005-10-31 07:54:16 UTC
This is a bug in openide/actions:
UndoableEdit.getPresentationName return "Graph" but the item menu is "Undo Undo"
instead of "Undo Graph".
Comment 5 Jiri Rechtacek 2006-11-24 11:56:45 UTC
I have tested it and it looks as to be working to me. Anyway, I added more
logging in suspected code which can show how it works. If you have any test case
then please run IDE with option -J-Dorg.openide.actions.UndoAction.level=-1 and
attach your userdir. It should help while fixing. Thanks

Checking in UndoAction.java;
/shared/data/ccvs/repository/openide/actions/src/org/openide/actions/UndoAction.java,v
 <--  UndoAction.java
new revision: 1.5; previous revision: 1.4
done