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

Summary: I18N: "Connect To Database" is hardcoded
Product: javaee Reporter: Masaki Katakai <masaki>
Component: PersistenceAssignee: Erno Mononen <emononen>
Status: VERIFIED FIXED    
Severity: blocker CC: jf4jbug, jiriprox, kaa, kfrank, mgrummich
Priority: P3 Keywords: I18N
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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