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 - I18N : messages are not from Bundle
Summary: I18N : messages are not from Bundle
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: JMX (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jean-francois Denise
URL:
Keywords: I18N
Depends on:
Blocks:
 
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
Exception Reporter:


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