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.
I cannot localize the following messages with mnemonic in core/src/org/netbeans/beaninfo/editors/Bundle.properties. CTL_Insert=Insert CTL_InsertRow_Mnemonic=I CTL_InsertColumn_Mnemonic=n CTL_Delete=Delete CTL_DeleteRow_Mnemonic=e CTL_DeleteColumn_Mnemonic=l CTL_CountPlus=+ CTL_CountPlusRow_Mnemonic=, CTL_CountPlusColumn_Mnemonic=[ CTL_CountMinus=- CTL_CountMinusRow_Mnemonic=. CTL_CountMinusColumn_Mnemonic=] CTL_FileSystemPanel.browse=Browse... CTL_FileSystemPanel.browse1_Mnemonic=B CTL_FileSystemPanel.browse2_Mnemonic=R In the CTL_Insert case, the same message uses for the different mnemonics as follows. insertRowBtn = new JButton(bundle.getString("CTL_Insert")); insertRowBtn.setMnemonic(bundle.getString("CTL_InsertRow_Mnemonic").charAt(0)); insertColBtn = new JButton(bundle.getString("CTL_Insert")); insertColBtn.setMnemonic(bundle.getString("CTL_InsertColumn_Mnemonic").charAt(0)); However, when these messages are translated in Japanese, mnemonic is added to the end of message. MESSAGE1=English message MESSAGE1_mnemonic=m --> MESSAGE1=Japanese message(m) MESSAGE1_mnemonic=m Please correct the above messages in such a way that one message for one mnemonic exists. For example: CTL_Insert=Insert <-- delete CTL_InsertRow=Insert <-- add CTL_InsertColumn=Insert <-- add CTL_InsertRow_Mnemonic=I CTL_InsertColumn_Mnemonic=n In addition, since CTL_Remove=Remove is duplicate, please remove one. 185 line CTL_Remove=Remove 289 line CTL_Remove=Remove
Ales, could you look at it? If you're not the right person, please pardon my ignorance and pass this further. Thanks.
well, I'll fix it. The reporter is talking about the Table editor.
fixed in CVS trunk core/src/org/netbeans/beaninfo/editors/ 1.50 Bundle.properties 1.21 CustomTableModelEditor.java
merged into orion_fcs
Please verify in the Orion builds. Thanks in advance.
I am sorry for the verification. I think that the following message does not seem to be fixed. CTL_FileSystemPanel.browse=Browse... CTL_FileSystemPanel.browse1_Mnemonic=B CTL_FileSystemPanel.browse2_Mnemonic=R Could you please investigate this again?
Trung?
In editors/FileSystemPanel.java, two mnemonics are assigned to one CTL_FileSystemPanel.browse. Please fix this. browseDirButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse")); browseDirButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse1_Mnemonic").charAt (0)); browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse")); browseJarButton.setMnemonic(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse2_Mnemonic").charAt (0));
verified in [nb_dev](20021016)
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.