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 109849 - Change mnemonics handling from 2 key/value to '&' method
Summary: Change mnemonics handling from 2 key/value to '&' method
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks: 86438
  Show dependency tree
 
Reported: 2007-07-16 16:42 UTC by Ken Frank
Modified: 2008-02-28 15:30 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-16 16:42:27 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 '.*=.$'

(some were seen in some gsf modules bundle files)


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 Torbjorn Norbye 2007-08-10 02:42:00 UTC
Should do for 6.0
Comment 2 Martin Krauskopf 2008-02-27 14:53:36 UTC
ruby.project part done:

http://hg.netbeans.org/main/rev/20028b067c19
Comment 3 Martin Krauskopf 2008-02-27 15:04:23 UTC
ruby.refactoring part:

  http://hg.netbeans.org/main/rev/63fc80fef2aa

Erno, now only ruby.railsproject is leaving. Reassigning...
(leaving issue in the 'code')
Comment 4 Erno Mononen 2008-02-28 15:30:27 UTC
Fixed: http://hg.netbeans.org/main?cmd=changeset;node=eef1736160f5