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 109756 - Change mnemonics handling from 2 key/value to '&' method
Summary: Change mnemonics handling from 2 key/value to '&' method
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks: 86438
  Show dependency tree
 
Reported: 2007-07-15 20:54 UTC by Ken Frank
Modified: 2010-10-20 13:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-07-15 20:54:06 UTC
A look at some bundle files of the modules in this category showed that
there were usages of the 2 key/value approach for defining mnemonics, ie
FILE_Mnenonic=F
FILE_Label=File

see umbrella 86438 - direction from nb is to replace usage of
setMnemonic and setDisplayed Mnemonic to org.openide.Mnemonics
such that, instead of bundle file having a separate key/value for
defining the mnemonic key and a separate key/value for the label, that
it all be in the one key/value, for example

FILE=&File

(also, even if the assigned key is the first letter of the label, always
put in the '&')

This issue relates to all usages of the 2 key/value approach in this
category.

A quick way to look in bundle files to see this is
find <path> -name "*.properties" | xargs egrep -i '.*=.$'


If this issue needs to be filed in separate subcategories of this
category, please do so and this one could be used as an umbrella issue
of those.

I don't know if this is required to be complete for nb6; please check
with your nb team and qe on your team; the goal
is not to destabilize mnemonics since that is part of a11y criteria, but
to make it clearer and smoother for translation
teams;  based on voc and requirements from translation teams, nb team
decided to request to have these changes made.
Comment 1 George Vasick 2007-07-16 18:05:32 UTC
Not planned for NB 6.0.
Comment 2 Jaromir Uhrik 2010-10-19 15:03:11 UTC
Please take a look at this issue and fix it. It should take small amount of time.
Thanks.
Comment 3 javydreamercsw 2010-10-20 13:19:18 UTC
There are many bundle files in the project. It'll take some time to review.