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 21565 - wizards display wrong bundles
Summary: wizards display wrong bundles
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-13 15:30 UTC by John Jullion-ceccarelli
Modified: 2003-07-01 09:52 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch (22.86 KB, patch)
2002-04-09 14:57 UTC, _ pkuzel
Details | Diff
Full orion_fcs patch (51.62 KB, patch)
2002-04-09 15:27 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Jullion-ceccarelli 2002-03-13 15:30:03 UTC
Both the Internationalization wizard and the Internationalization Test wizard 
are displaying the wrong bundles. There are numerous problems on each panel, 
this should definitely be fixed in 3.3.2.

Problems with all wizards
* Uses wrong explanator text ("Selected bundle(s) to check...") for each step. 
This is the expl. text for step 2 of internationalization test wizard, somehow 
it is being displayed on all panels of both wizards!
* Expl text not wrapping. Happens on all steps of all wizards.

Internationalize wizard Step 3 - I thought we had some explanatory text there 
about how to exclude a string from internationalization, what the ... does, 
etc. It's described in the help, is that enough?

I18N Test wizard Step 3 - "Found Hard-Coded Strings" is wrong, should be "Found 
Internationalized Strings With Missing Key"
Comment 1 _ pkuzel 2002-03-13 17:41:17 UTC
Checking in AdditionalWizardPanel.java;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/AdditionalWizardPanel.java,v 
<--  AdditionalWizardPanel.java
new revision: 1.10; previous revision: 1.9
done
Checking in Bundle.properties;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/Bundle.properties,v 
<--  Bundle.properties
new revision: 1.15; previous revision: 1.14
done
Checking in Bundle_ja.properties;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/Bundle_ja.properties,v 
<--  Bundle_ja.properties
new revision: 1.3; previous revision: 1.2
done
Checking in ResourceWizardPanel.form;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/ResourceWizardPanel.form,v 
<--  ResourceWizardPanel.form
new revision: 1.4; previous revision: 1.3
done
Checking in ResourceWizardPanel.java;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/ResourceWizardPanel.java,v 
<--  ResourceWizardPanel.java
new revision: 1.12; previous revision: 1.11
done
Checking in SourceWizardPanel.form;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/SourceWizardPanel.form,v 
<--  SourceWizardPanel.form
new revision: 1.4; previous revision: 1.3
done
Checking in SourceWizardPanel.java;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/SourceWizardPanel.java,v 
<--  SourceWizardPanel.java
new revision: 1.12; previous revision: 1.11
done
RCS file: /cvs/i18n/src/org/netbeans/modules/i18n/wizard/Util.java,v
done
Checking in Util.java;
/cvs/i18n/src/org/netbeans/modules/i18n/wizard/Util.java,v  <-- 
Util.java
initial revision: 1.1
Comment 2 John Jullion-ceccarelli 2002-03-14 10:20:12 UTC
Text is now wrapping and is displaying correct text for i18n wizard. 
I will make edits to i18n/wizard/Bundle.properties to make the text 
better. 

i18n test wizard still needs its own explanatory text. Currently i18n 
test wizard panel 1 uses MSG_SorcesPanel_desc, panel 2 uses 
MSG_ResourcePanel_desc, and panel 3 uses LBL_FoundStrings. This text 
relates only to i18n wizard and is incorrect for the i18n test wizard.
Comment 3 _ pkuzel 2002-04-09 14:54:38 UTC
Fixed by introducing "modes" to shared wizard panels.
Comment 4 _ pkuzel 2002-04-09 14:57:26 UTC
Created attachment 5337 [details]
Patch
Comment 5 _ pkuzel 2002-04-09 14:58:45 UTC
Petr, could you review it please? Thanks
Comment 6 _ pkuzel 2002-04-09 15:27:47 UTC
Created attachment 5339 [details]
Full orion_fcs patch
Comment 7 John Jullion-ceccarelli 2002-04-10 11:08:48 UTC
One last thing: the text isn't wrapping at the end of a 
word, it's breaking words into 2, so one line ends with 
the word "add" and the "a" is at the end of the line and 
the "dd" are one the next line. 

I'm also going to change just a few words in the new 
bundle text in the I18N test wizard. Have we already 
incorporated this into orion_fcs branch?
Comment 8 _ pkuzel 2002-04-10 13:11:23 UTC
Fixed,

Peter promised that he would review it tonight. It is needed for
orion_fcs integration process.
Comment 9 Peter Zavadsky 2002-04-10 13:59:35 UTC
Reviwed, the fix should be fine.
Comment 10 John Jullion-ceccarelli 2002-04-10 14:35:37 UTC
I just commites my edits to the wizard/Bundle.properties 
to the trunk, please include this in the patch to 
orion_fcs. thanks.
Comment 11 _ pkuzel 2002-04-10 15:05:54 UTC
merged into orion_fcs including John's changes
Comment 12 Quality Engineering 2003-07-01 09:51:18 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 13 Quality Engineering 2003-07-01 09:52:14 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.