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 - [50cat] Drop down menu shows localized text where it shouldn't
Summary: [50cat] Drop down menu shows localized text where it shouldn't
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Actions (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-10-28 10:10 UTC by host
Modified: 2008-12-22 20:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Drop down menu (4.26 KB, image/jpeg)
2005-10-28 10:12 UTC, host
Details

Note You need to log in before you can comment on or make changes to this bug.
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