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.
running in ja locale with pseudo localized files click on version menu and these lines appear in messages.log and in console (am on solaris now): console and messages.log has: \276\360\312\363 [org.openide.awt.Mnemonics]: Mapping from a non-Latin ch aracter '\244\310' not found in a localized (branded) version of openide/ awt/src/org/openide/awt/Mnemonics.properties - mnemonic cannot be assigne d in &\244\310\344\356Jon\344\356Subversion\344\345\244\355 \276\360\312\363 [org.openide.awt.Mnemonics]: Mapping from a non-Latin ch aracter '\244\310' not found in a localized (branded) version of openide/ awt/src/org/openide/awt/Mnemonics.properties - mnemonic cannot be assigne d in &\244\310\344\356Jos\344\356CVS\344\345\244\355 \276\360\312\363 [org.openide.awt.Mnemonics]: Mapping from a non-Latin ch aracter '\244\310' not found in a localized (branded) version of openide/ awt/src/org/openide/awt/Mnemonics.properties - mnemonic cannot be assigne d in &\244\310\344\356Joy\344\356Local History\344\345\244\355 (the \244\310..... is really multibyte, but that is how it is shown in this iz window) (each bundle value that has a mnemonic assignment as part of the label does not change the value of the mnemonic key, it just puts a multibyte prefix in front of the actual label to simulate actual translated situation, since ja or zh translation does not change the assigned mnemonic key so that, for example FILE=&File become FILE=zzz&File where zzz is the multibyte the 3 messages refer to the 3 sub menu labels under versioning. This does not happen for other menus. But using the mnemonic keys for each of these 3 items does work. but the message will appear even if mnemonic keys not used, just if click Versioning menu with the mouse. ---------------------------------------------------- 2. each above message refers to this file: org-openide-awt.jar openide/awt/src/org/openide/awt/Mnemonics.properties #NOI18N MNEMONIC_`=192 #NOI18N MNEMONIC_\'=222 #NOI18N MNEMONIC_.=46 #NOI18N MNEMONIC_\\=92 ----------------------------------------------------- 3. for example, one of the labels referred to in one of the messages above are in org-netbeans-modules-subversion/ and the pseudo localized bundle file has CTL_MenuItem_OpenVersioning =\244\310\344\356Jon\344\356&Subversion\344\3 45\244\355 but many other values in this module and other modules bundle files have such messages yet messages.log just refers to this one and the 2 others. ie from other subversion bundle files CTL_PopupMenuItem_Ignore =\244\310\344\356Jon\344\356&Ignore\344\345\244\ 355 CTL_MenuItem_Copy =\244\310\344\356Jon\344\356Cop&y to...\344\345\244\355 CTL_MergeOneFolder_Search2=\244\310\344\356Jon\344\356Se&arch...\344\345\ 244\355 ... ... 4. same kind of analysis for the other 2 in the messages.log
use I18N keyword, please
Those 3 labels are constructed this way: I get the display name of the versioning system, say "Subversion", prepend an ampersand and call org.openide.Mnemonics.setLocalizedText(menuItem, "&Subversion");
This has been fixed already, please verify in latest builds.
verified ken.frank@sun.com