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 124855 - I18N : some messages in Refactoring preview for SwingApp are not from Bundle
Summary: I18N : some messages in Refactoring preview for SwingApp are not from Bundle
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: App Framework (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-01-08 01:51 UTC by Masaki Katakai
Modified: 2008-07-28 21:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-01-08 01:51:38 UTC
These strings are displayed on refactoring preview but these are not in Bundle.properties.

form/swingapp/src/org/netbeans/modules/swingapp/RefactoringPluginFactoryImpl.java 

 String displayText = "Rename file " + propertiesDO.getPrimaryFile().getNameExt();
 String displayText = "Move file " + propertiesDO.getPrimaryFile().getNameExt(); // + " to "

Please extract them to Bundle.properties so that we can translate them.
Comment 1 Tomas Pavek 2008-01-09 10:41:07 UTC
Thanks for catching this. Fixed in trunk.

/cvs/form/swingapp/src/org/netbeans/modules/swingapp/Bundle.properties
new revision: 1.18; previous revision: 1.17
/cvs/form/swingapp/src/org/netbeans/modules/swingapp/RefactoringPluginFactoryImpl.java
new revision: 1.7; previous revision: 1.6
Comment 2 Ken Frank 2008-07-28 21:27:39 UTC
verified.