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 67267 - I18N - AssertionError action View data (Databases) is invoked
Summary: I18N - AssertionError action View data (Databases) is invoked
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-10-21 08:49 UTC by Marek Grummich
Modified: 2006-01-04 15:48 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (1.05 KB, text/plain)
2005-10-21 08:50 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2005-10-21 08:49:40 UTC
Build 200510201800 (pseudolocalized), jdk1.5.0_05, zh_CN locale !!!
Steps:
- make sure you have SJSAS installed (due to Pointbase)
- select Pointbase database connection node on Runtime tab and invoke Connect
action from popup menu
- select CUSTOMER_TBL node under Databases->jdbc:pointbase://localhost:9092.....
- invoke View data (or Execute command) from popup menu

=> an attached exception is thrown !!!
Comment 1 Marek Grummich 2005-10-21 08:50:40 UTC
Created attachment 26199 [details]
Exception
Comment 2 Andrei Badea 2005-10-24 12:57:18 UTC
This is caused by localizing the

LBL_SQLCommandFileName=Command {0}.sql

in db/sqleditor/org/netbeans/modules/db/sql/editor/Bundle.properties by adding
some Chinese characters after "sql". Therefore the file wasn't recognized as a
SQL file anymore.

I will add this to the Bundle.properties file before the LBL_SQLCommandFileName key:

#I18N: only localize "Command" and do not add anything after ".sql"

Or is there another marker for the comments to the I18N team?
Comment 3 Ken Frank 2005-10-24 16:09:37 UTC
The comment in bundle should be started with PARTI18N ie
# PARTI18N - only localize "Command" and do not add anything after ".sql"

ken.frank@sun.com
10/24/2005
Comment 4 Andrei Badea 2005-10-24 17:33:40 UTC
Fixed.

Checking in Bundle.properties;
/cvs/db/sqleditor/src/org/netbeans/modules/db/sql/editor/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.4; previous revision: 1.3
done
Comment 5 Martin Schovanek 2005-11-18 20:47:57 UTC
VERIFIED