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 130797 - annotation strings should not be subject of I18N
Summary: annotation strings should not be subject of I18N
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
: 117743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-21 15:31 UTC by Marian Petras
Modified: 2009-01-19 13:57 UTC (History)
0 users

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 Marian Petras 2008-03-21 15:31:53 UTC
Strings within Java code annotations, such as "unchecked" in the @SuppressWarnings("unchecked") annotation, are offered
for internationalization. This is wrong.
Comment 1 Marian Petras 2008-03-25 11:25:00 UTC
Fixed.

I added a check for each string that it is not part of an annotation.

Modified file:
    i18n/src/org/netbeans/modules/i18n/java/JavaI18nSupport.java

Mercurial revision:
ce0c91e7cf3c
(http://hg.netbeans.org/main/rev/ce0c91e7cf3c)
Comment 2 Marian Petras 2009-01-19 13:57:43 UTC
*** Issue 117743 has been marked as a duplicate of this issue. ***