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 145941

Summary: I18N - Accessible Description dialog has a message not from pseudo localized bundle file
Product: guibuilder Reporter: kaa <kaa>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED INVALID    
Severity: blocker CC: kfrank, mpetras, pchytil
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: image

Description kaa 2008-09-02 15:59:16 UTC
Product Version: NetBeans IDE Dev (Build 200808240201)
Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
I'm running in Japanese locale, using a pseudo localized Netbeans with font size 16 option.

1. Create Java App
2. Open project properties
3. Select Accessible Description then press '...' button

The dialog has a message not from pseudo localized bundle file.
This is true for other such editor windows.
Comment 1 kaa 2008-09-02 15:59:46 UTC
Created attachment 68884 [details]
image
Comment 2 kaa 2008-09-02 16:02:00 UTC
Forgot to mention one step:
1.1 After creation of the app add JPanel to the project.
Comment 3 Petr Chytil 2008-09-04 08:09:56 UTC
reassigning to core/property editors for evaluation
Comment 4 Marian Petras 2008-09-04 12:22:58 UTC
This string comes from the Form module.

The string does come from a bundle file but it seems that the corresponding bundle entry (key/value pair) is not
(pseudo)localized. The corresponding bundle entry is:

    CTL_NOI18NCheckBox=Do &not internationalize this string

My guess is that this entry does not get (pseudo)localized because the key contains sequence "NOI18N".

References:
  Java file:   form/src/org/netbeans/modules/form/editors2/StringEditor.java:109
  Bundle file: form/src/org/netbeans/modules/form/editors2/Bundle.properties:167

Reassigned to "form" for further evaluation.
Comment 5 Jan Stola 2008-09-04 12:59:08 UTC
Evaluation of mpetras is correct. The mentioned message is i18ned. You should fix the tool that produces the 
pseudolocalized IDE to avoid misunderstandings like this.
Comment 6 Ken Frank 2008-09-04 16:32:58 UTC
Jan is right that it was skipped for the reason he gave and I apologize for
this; I think its just the second time in all the years that something like
this has happened but its no excuse and I realize it took developers
time.

ken.frank@sun.com