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 72306 - Bundle key from localized expression offered for I18N
Summary: Bundle key from localized expression offered for I18N
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-02-06 15:09 UTC by _ rkubacki
Modified: 2009-02-19 20:54 UTC (History)
2 users (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 _ rkubacki 2006-02-06 15:09:06 UTC
I used i18n support to move some text into bundle and to generate source code
like this:

org.openide.awt.Mnemonics.setLocalizedText(jBtnRulesets,
org.openide.util.NbBundle.getMessage(PmdOptionsComponent.class, "LBL_RulesetBtn"));

When I try to run i18n scan again it offers me to handle "LBL_RulesetBtn" again.
It means that i18n does not recognize its generated code.
Comment 1 Marian Petras 2006-07-04 16:46:56 UTC
Confirmed, accepted.

Tested with NB 6.0 dev. (built made on 3rd June 2006), JDK 1.6.0 b90, Linux.
Comment 2 Alexey Butenko 2009-02-12 09:17:40 UTC
changeset d950e521b071