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 71812

Summary: I18N: "Patch Files" can not be localized
Product: utilities Reporter: Masaki Katakai <masaki>
Component: DiffAssignee: diff-issues@utilities <diff-issues>
Status: RESOLVED FIXED    
Severity: blocker CC: jf4jbug, jiriprox, mgrummich
Priority: P3 Keywords: I18N
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2006-01-24 15:06:13 UTC
"Patch Files" is displayed on File Chooser as file type, however, it's hardcoded.

./diff/src/org/netbeans/modules/diff/PatchAction.java:                return
"Patch Files (*.diff, *.patch)";

Please use resouce bundle so that localization engineers can translate it.
Comment 1 Maros Sandor 2006-09-11 11:43:35 UTC
Added the string to bundle.

/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.26; previous revision: 1.25
/shared/data/ccvs/repository/diff/src/org/netbeans/modules/diff/PatchAction.java,v
 <--  PatchAction.java
new revision: 1.37; previous revision: 1.36
Comment 2 Ken Frank 2006-10-20 05:57:04 UTC
Using a recent netbeans 5.5, I do see this message in bundle file of
system-versioning-cvss but not showing from the localized bundle file
when running in other locale, thus reopening.
Comment 3 Maros Sandor 2007-02-16 10:34:17 UTC
IMO this issue is fixed on my side, I added the string to bundle and load it via
NbBundle.getMessage(). Please reopen if you still need something fixed in code
and/or bundle.