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 86827 - I18N: "Connect To Database" is hardcoded
Summary: I18N: "Connect To Database" is hardcoded
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-10-10 06:10 UTC by Masaki Katakai
Modified: 2008-07-22 18:37 UTC (History)
5 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 Masaki Katakai 2006-10-10 06:10:14 UTC
"Connect To Database" is hardcoded in .java file. Please extract this to
Bundle.properties so that this string can be localized.

./j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/editor/completion/NNPaintComponent.java

drawString(g, "Connect To Database",
Color.RED,getDrawFont().deriveFont(Font.BOLD), false);
Comment 1 Erno Mononen 2007-08-29 10:16:55 UTC
Fixed in trunk. Please note that the feature using this message is not enabled in 6.0 builds, the status of it is 
tracked in issue 106653.

Checking in NNPaintComponent.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/editor/completion/NNPaintComponent.java,v  <--  
NNPaintComponent.java
new revision: 1.3; previous revision: 1.2
done
Checking in Bundle.properties;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/editor/completion/Bundle.properties,v  <--  
Bundle.properties
new revision: 1.3; previous revision: 1.2
done
Comment 2 Ken Frank 2008-07-22 18:37:33 UTC
v