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 157958 - I18N : "Databases" and "Drivers" are not extracted into Bundle.properties
Summary: I18N : "Databases" and "Drivers" are not extracted into Bundle.properties
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2009-02-05 02:11 UTC by Masaki Katakai
Modified: 2009-03-06 10:44 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 Masaki Katakai 2009-02-05 02:11:44 UTC
trunk build : 200902031446

It seems that the words "Databases" and "Drivers" can not be localized
on DB explorer because these are hardcoded.

./org/netbeans/modules/db/explorer/node/RootNode.java:
    private static final String NAME = "Databases"; //NOI18N
    private static final String DISPLAYNAME = "Databases"; //NOI18N

./org/netbeans/modules/db/explorer/node/DriverListNode.java
    private static final String NAME = "Drivers";
    private static final String DISPLAYNAME = "Drivers";

I don't know which one is being used for display. Could you please
check the codes and extract into Bundle.properties?
Comment 1 Masaki Katakai 2009-02-05 06:59:19 UTC
It seems that the following nodes are also hardcoded now. These could be localized at NetBeans 6.5.

Tables
Views
Procedures
Indexes
Foreign Keys

Comment 2 Jiri Rechtacek 2009-02-11 15:09:16 UTC
fixed in rev/e16d11b3cc0c
Comment 3 Quality Engineering 2009-02-13 09:30:42 UTC
Integrated into 'main-golden', will be available in build *200902130336* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e16d11b3cc0c
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #157958: I18N : "Databases" and "Drivers" are not extracted into Bundle.properties
Comment 4 Masaki Katakai 2009-03-06 10:44:14 UTC
Great! Verified on 200903040201.

Thank you!