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 113038 - I18N - Xml schema design view has choice and sequence not from pseudo localized bundle file
Summary: I18N - Xml schema design view has choice and sequence not from pseudo localiz...
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-08-16 19:18 UTC by kaa
Modified: 2007-09-06 17:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
choice (41.12 KB, image/jpeg)
2007-08-16 19:18 UTC, kaa
Details
sequence (55.20 KB, image/jpeg)
2007-08-16 19:19 UTC, kaa
Details
sequence and choice labels (22.03 KB, application/octet-stream)
2007-08-20 19:06 UTC, Sonali Kochar
Details
Bundle.properties (9.96 KB, application/octet-stream)
2007-08-20 19:09 UTC, Sonali Kochar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2007-08-16 19:18:24 UTC
build 0812

1. Create Bpel Module
2. Add Xml Schema
3. Open Design view
4. Add Complex Type
5. Add Choice using popup menu

There is 'Choice' word on the view from pseudo localized bundle file.
The same with 'Sequence' for Elements. See attached images.
I'm running in the Japan locale, using a pseudo localized Netbeans.
Comment 1 kaa 2007-08-16 19:18:45 UTC
Created attachment 46760 [details]
choice
Comment 2 kaa 2007-08-16 19:19:12 UTC
Created attachment 46761 [details]
sequence
Comment 3 Sonali Kochar 2007-08-20 19:05:06 UTC
I looked at code and the Sequence and Choice labels are coming for the Bundle.properties and the code uses
NbBundle.getMessage(...)

To verify this, I changed the labels in the Bundle.properties. Please see attached image. The Bundle.properties is also
attached. So I am not sure why they are not showing up in the i18n testing. 

Can you please verify the bug?
Comment 4 Sonali Kochar 2007-08-20 19:06:50 UTC
Created attachment 46901 [details]
sequence and choice labels
Comment 5 Sonali Kochar 2007-08-20 19:09:31 UTC
Created attachment 46902 [details]
Bundle.properties
Comment 6 Ken Frank 2007-08-20 19:34:52 UTC
Andrey can tell you more; but please look at the gifs he filed - its the word Sequence and Choice
on the design itself, not the menus, that is either
not in bundle file; we are aware that the menu items Sequence and Choice are in bundle file.
I realize in the jpg it could be confusing since the word Sequence on menu and in the design
were circled.

Andrey, please look at this  and reopen if needed and clarify the wording about the problem areas.

ken.frank@sun.com
Comment 7 Sonali Kochar 2007-08-20 20:02:07 UTC
ahh, I see the bug now.. I got mislead by the menu items and didnt look at the Design view..
Comment 8 Sonali Kochar 2007-08-20 22:33:57 UTC
Checking in CompositorPanel.java;
/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/CompositorPanel.java,v  <--  CompositorPanel.java
new revision: 1.5; previous revision: 1.4
done
Checking in Bundle.properties;
/cvs/xml/schema/abe/src/org/netbeans/modules/xml/schema/abe/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5; previous revision: 1.4
done
Comment 9 kaa 2007-09-06 17:36:17 UTC
verified: build 0830, ja_JP