Bug 130119 - I18N : messages are not from Bundle
I18N : messages are not from Bundle
Status: NEW
Product: contrib
Classification: Unclassified
Component: JMX
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Jean-francois Denise
Jean-francois Denise
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-14 07:41 UTC by Masaki Katakai
Modified: 2008-03-14 07:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-03-14 07:41:42 UTC
I'm now checking 6.0.1 Update Center modules for ml releases. It seems
that these messages are not from Bundle.properties. Please work for 6.1 UC.

src/org/netbeans/modules/jmx/WizardConstants.java:
    static public final String ATTR_ACCESS_READ_WRITE = "Read / Write";// NOI18N^M
    static public final String ATTR_ACCESS_READ_ONLY  = "ReadOnly";// NOI18N^M
    static public final String ATTR_ACCESS_WRITE_ONLY  = "WriteOnly";// NOI18N^M

    static public final String MBEAN_POPUP_EDIT_BUTTON = "Edit";// NOI18N^M

All "Choose File Type" are English in the following files:

  ./src/org/netbeans/modules/jmx/agentwizard/JMXAgentIterator.java
  ./src/org/netbeans/modules/jmx/managerwizard/JMXManagerIterator.java
  ./src/org/netbeans/modules/jmx/mbeanwizard/DynamicMBeanIterator.java
  ./src/org/netbeans/modules/jmx/mbeanwizard/JMXMBeanIterator.java
  ./src/org/netbeans/modules/jmx/mbeanwizard/MBeanIterator.java:

Please check setErrorMsg() method in source files. Many error message
are hardcoded, e.g.

  setErrorMsg("Specify a class to wrap.")


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo