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 124856 - I18N : some hints are not from Bundle
Summary: I18N : some hints are not from Bundle
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-01-08 01:58 UTC by Masaki Katakai
Modified: 2008-04-09 18:16 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-01-08 01:58:23 UTC
It seems that some of Editor hints are not in Bundle.properties
so these are displayed in English even in ml version. 

Please extract them into Bundle.properties so that we can localize them.

java/hints/src/org/netbeans/modules/java/hints/errors/MagicSurroundWithTryCatchFix.java 

        return "Surround with try-catch";

java/hints/src/org/netbeans/modules/java/hints/errors/MakeVariableFinal.java 

            return "Make " + variableName + " final";

java/hints/src/org/netbeans/modules/java/hints/errors/UncaughtException.java 

            return "Add throws clause for " + fqn;

            return "Surround with try-catch";
Comment 1 Jan Lahoda 2008-01-10 14:20:57 UTC
Should be OK now. The MagicSurroundWithTryCatchFix was fixed some time ago (after 6.0 though), the second string in
UncaughtException was in code that was not used at all (so I deleted it), the other strings are fixed by this commit:

Checking in UncaughtException.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/errors/UncaughtException.java,v  <--  UncaughtException.java
new revision: 1.15; previous revision: 1.14
done
Checking in Bundle.properties;
/cvs/java/hints/src/org/netbeans/modules/java/hints/errors/Bundle.properties,v  <--  Bundle.properties
new revision: 1.10; previous revision: 1.9
done
Checking in MakeVariableFinal.java;
/cvs/java/hints/src/org/netbeans/modules/java/hints/errors/MakeVariableFinal.java,v  <--  MakeVariableFinal.java
new revision: 1.5; previous revision: 1.4
done
Comment 2 Ken Frank 2008-04-09 18:16:38 UTC
verified.