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 70230 - I18N - Some action categories not localized
Summary: I18N - Some action categories not localized
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-12-11 21:53 UTC by Ken Frank
Modified: 2006-01-05 17:30 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch. (1.81 KB, patch)
2005-12-20 10:20 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2005-12-11 21:53:07 UTC
Have a new module project and choose new action and wizard appears -
the word Build in the dropdown for Category in GUI registration panel
does not come from localized bundle but all other words in that dropdown do.

but in the global menu item and global toolbar button, it does.
I realize these words might be from some other module so please reassign
category as needed.
Comment 1 Jesse Glick 2005-12-11 22:58:00 UTC
Can be more easily reproduced by just running IDE with
-J-Dorg.openide.util.NbBundle.DEBUG=true, opening Options dialog, clicking
Advanced, and looking under IDE Configuration > Look and Feel > Actions. Three
categories are unlocalized: Build, Repository, and XML.

Also note that the Build category contains just Set Request Parameters and
Search Javadoc Index, neither of which have much to do with building! IMHO the
first belongs perhaps in the Project category, and the second in the Tools
category; then we could just delete the Build category.

Choosing a better name for Repository would probably be wise too. "Repository"?
What's that? Probably "Versioning" would make more sense.
Comment 2 Jan Lahoda 2005-12-20 10:18:47 UTC
I have filled issue #70621 for Actions/Repository and issue #70622 for Actions/XML.

I have added a localization to the Actions/Build in the trunk.

Jesse, could you please review the patch (will attach it).

Ken, QA, could you please verify the fix on the trunk?

Checking in src/org/netbeans/modules/project/ui/Bundle.properties;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.71; previous revision: 1.70
done
Checking in src/org/netbeans/modules/project/ui/resources/layer.xml;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml,v
 <--  layer.xml
new revision: 1.67; previous revision: 1.66
done
Comment 3 Jan Lahoda 2005-12-20 10:20:43 UTC
Created attachment 27968 [details]
Proposed patch.
Comment 4 Marian Mirilovic 2005-12-20 15:20:33 UTC
I haven't seen any regression. Honza, I think you can merge the fix to NB5.0.
Comment 5 Jesse Glick 2005-12-20 19:49:06 UTC
The patch is OK for release50 but IMHO it should be fixed properly in the trunk,
according to my previous comments: the whole Actions/Build/ category should be
deleted.
Comment 6 Jan Lahoda 2005-12-21 14:44:30 UTC
Filled issue #70698 to cover move of the actions.
Comment 7 Jan Lahoda 2005-12-22 10:09:43 UTC
Fixed also in the release50 branch:
Checking in projectui/src/org/netbeans/modules/project/ui/Bundle.properties;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.69.6.1; previous revision: 1.69
done
Checking in projectui/src/org/netbeans/modules/project/ui/resources/layer.xml;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/resources/layer.xml,v
 <--  layer.xml
new revision: 1.64.4.1; previous revision: 1.64
done
Comment 8 Marian Mirilovic 2006-01-05 17:30:59 UTC
verified in NB 5.0 (200601042030)