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 130119

Summary: I18N : messages are not from Bundle
Product: contrib Reporter: Masaki Katakai <masaki>
Component: JMXAssignee: Jean-francois Denise <jfdenise>
Status: NEW ---    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.")